![]() Osmosis -read-xml city.osm -way-key-value keyValueList="am,am_stop" -used-node idTrackerType=BitSet -write-xml city_tram.osmīut what if you want to extract all highways except one or 2 types ? This command will output all highways except those tagged with motorway or motorway_link In this case, passing idTrackerType=BitSet as a parameter to -used-node may help: a planet file), this may result in a segfault due to memory limitations. Osmosis -read-xml city.osm -way-key-value keyValueList="am,am_stop" -used-node -write-xml city_tram.osm In this example, our output will be a file with ways tagged with railway=tram or railway=tram_stop. Specifying -used-node only extracts those nodes that are used in the filtered ways. Osmosis -read-xml city.osm -tf accept-ways highway=* -used-node -write-xml highways.osmĮxtract only those ways that have certain tags. Use the tag-filter parameter the following manner: Osmosis -read-pbf \myregion.pbf -node-key-value keyValueList="highway.speed_camera" -write-xml radar.osm ![]() There is also a frontend for the use of Osmosis named OSMembrane.Īn example to extract the speed cameras from an area: To maximize performance, refer to Tuning and Benchmarking.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |