netconvert

command
v0.0.0-...-5283a38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 11 Imported by: 0

README

netconvert

A command line tool to process and filter osm.xml.

Usage

Simple command to convert osm.xml to json:

netconvert testdata/sample.osm.xml

You can also filter the xml for specific tags. The following statement would only write nodes and ways wich have a tag with name of either a or b:

netconvert --filter-tags=a,b testdata/sample.osm.xml

It is also possible to filter with simple conditions. The following command would return only nodes and ways which a maxheigh of 30 or which are bridges:

netconvert --filter-tags=maxheigh<30,obstacle=bridge testdata/sample.osm.xml

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL