You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I was wondering if I can load OSM data from a file--instead of downloading from the internet? I downloaded a big OSM file and I wanted to see if I could import that data into LightOSM for analysis. I did not see this file access stuff in the tutorial or api docs, but I imagine it must be in there somewhere :). Thanks.
The text was updated successfully, but these errors were encountered:
Currently LightOSM can read from a .osm file or a .json file, unfortunately .pbf is not currently supported - I suggest we leave this issue open to track that and we can try to add it as a feature in future.
Here is a link to the function to load a graph from a file.
@mmiller-max Thanks so much for the info. I am not sure if it will help, but in looking at the OpenStreetMapX.jl package, the developers indicated that they can read pbf files. i believe that LightOSM also drew a lot of inspiration from OpenStreetMapX. I wonder if there is a way to leverage what has already been developed, to allow LightOSM to pull in pbf files?
Yes, I'm sure we could do something similar to OpenStreenMapX.jl, or similarly OpenStreetMapParser.jl or OpenStreetMapPBF.jl. Just needs someone to take a look and see how they've been done and make a PR :)
Hello. I was wondering if I can load OSM data from a file--instead of downloading from the internet? I downloaded a big OSM file and I wanted to see if I could import that data into LightOSM for analysis. I did not see this file access stuff in the tutorial or api docs, but I imagine it must be in there somewhere :). Thanks.
The text was updated successfully, but these errors were encountered: