Git Product home page Git Product logo

osm-graph-parser's People

Contributors

cxcorp avatar rovaniemi avatar

Stargazers

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

Watchers

 avatar

osm-graph-parser's Issues

What is the output format

osm-graph-parser outputs some json graph representation.

Is this compatible with any of the many more-or-less established existing standards for encoding graphs in json? If not, would it make sense to use such a more-widely use format?

Philipp

P.S.: Probably the most widely known is http://jsongraphformat.info/, which also has links to 4 other formats ("Similar Projects") on their start page. A 6th would be the Netflix one: http://netflix.github.io/falcor/documentation/jsongraph.html

More flexible selection of ways

From the documentation and source code, osm-graph-parser currently just imports all ways tagged as some type of highway.
I suggest to make osm-graph-parser more flexible, by allowing to specifying inclusion and exclusion lists of keys and key-value pairs as command line arguments

Use cases might be:

--include-ways highway for the current behaviour.
--include-ways highway --exclude-ways access=no,access=private for all highways accessible to the public
--include-ways railway --exclude-ways railway=abandoned to get all railway tracks

Philipp

More flexible input file handling

From the documentation, osm-graph-parser currently just reads all .osm files in the subdirectory map.

How about instead having the names of the .osm files as command line parameters?
This would allow more flexible use, and give osm-graph-parser a more familiar (since most tools reading some files and processing them work that way) interface for specifiying input files.

Philipp

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.