Hi I'm extracting Maps to use them on my Android app's locally, without internet connexion on the phones. I extract the small maps of cities areas, for example, barcelona city area, with OSMCONVERT. The problem is that the maps have commercial poi's shown on the map, like for example hotels or restaurants. How can i remove/hide them from my locally stored maps? Thanks asked 16 Dec '11, 08:33 AndroidUser99 skorasaurus |
Yes, sure, you can simply remove that data from your local copy. There's a companion tool to osmconvert called osmfilter that can do these things. See the wiki page for details. answered 16 Dec '11, 10:27 Frederik Ramm ♦ I can't understand it clearly, please, can you give me a command example for removing all the nodes with the tag "amenity" ?
(16 Dec '11, 16:11)
AndroidUser99
great!! thanks!
(19 Dec '11, 09:24)
AndroidUser99
|
There's one example in the wiki for osmfilter that I customized for you: ./osmfilter input.osm --drop="amenity=hotel" -o=output.osm For multiple ones, you may be able to do: ./osmfilter input.osm --drop="amenity=hotel,restaurant" -o=output.osm answered 16 Dec '11, 18:30 skorasaurus |