Code Monkey home page Code Monkey logo

map_matching's Introduction

map_matching's People

Contributors

pedrocamargo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

map_matching's Issues

int' object has no attribute 'rfind

Hi, i'm try to run your algorithm with your example data.
i keep receiving this error: "int' object has no attribute 'rfind" related to the file genericpath.py
Any idea on how to fix this?

Import AoN

following the code when I tried to import AoN in "map_matching/aequilibrae/init.py" I got the error:
ImportError: DLL load failed: The specified module could not be found

I tried to install the aequilibrae package directly from pip and modifed this line in init.py
from AoN import path_computation to aequilibrae.paths.AoN import path_computation
This worked fine but when I tried to run examply.py, I got this error

File "----\Python\Python37\lib\site-packages\aequilibrae\paths\graph.py", line 220, in create_from_geography
self.prepare_graph(centroids.astype(np.int64))
AttributeError: 'list' object has no attribute 'astype'

Can you please help me to address this? I use python 3.7 on win 64 bit

Library documentation

Is there any updated documentation on implementation of this library and code? I am interested in using the trip/stop algorithm in my own work but am having trouble with the dependencies and how to use the map-matching library once downloaded.

Network fields

Hi,

I am trying to implement the example code on a new set of data. Can you please clarify what dir values in the network fields represent?

File missing 'example_data/FAF_Network.shp'

i converted the whole code to pyhton3 and reconfigure the importing
after the conversion am getting an error with a missing file I assume please refer the error as soon as possible

github: https://github.com/vishnudas-bluefox/map_matching
new pull : #13

Creating graph from shapefile
Traceback (most recent call last):
File " example.py", line 41, in
net.load_network('example_data/FAF_Network.shp', p)
File "/home/user/Desktop/Adhil/test/map_matching/map_matching/network.py", line 64, in load_network
self.graph.create_from_geography(network_file, link_id, direction, cost_field, skims)
File "/home/user/Desktop/Adhil/test/map_matching/map_matching/aequilibrae/graph.py", line 101, in create_from_geography
geo_file_records = shapefile.Reader(geo_file)
File "/home/user/Desktop/Adhil/map_matching/venv/lib/python3.8/site-packages/shapefile.py", line 1045, in init
self.load(path)
File "/home/user/Desktop/Adhil/map_matching/venv/lib/python3.8/site-packages/shapefile.py", line 1190, in load
raise ShapefileException("Unable to open %s.dbf or %s.shp." % (shapeName, shapeName))
shapefile.ShapefileException: Unable to open example_data/FAF_Network.dbf or example_data/FAF_Network.shp.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.