Tag Info

New answers tagged

1

Try the following queries: # read all nodes with amenity=atm or atm=yes, ignore ways and relations osmosis --read-xml data.osm --tf accept-nodes amenity=atm --tf reject-ways --tf reject-relations --write-xml amenity_atm_nodes.osm osmosis --read-xml data.osm --tf accept-nodes atm=yes --tf reject-ways --tf reject-relations --write-xml atm_yes_nodes.osm # ...


2

I found a different query : osmosis --read-pbf myfile.pbf --node-key-value keyValueList='amenity.atm' --write-xml atm.osm I got a 250ko xml file with all the atm. Hope it can help other peolple


1

I would suggest another approach. If you do not need vector data only OSM as a base map which looks the same as http://www.openstreetmap.org maybe you could create your own OSM service using Mapproxy. I know it is not perfect, but maybe you could give it a try. First you need to install Mapproxy. Pre-seed all zoom levels of OSM for particular area and then ...


5

If you want to use a postgis database with Openstreetmap data, you have to populate it with osm2pgsql, not osmosis. That is the only way to get polygons out of Openstreetmap multipolygon relations and closed ways in a format that GIS software can understand. Alternatively, you can use GDAL ogr2ogr to save OSM data into a spatialite database. Once you have ...


0

use QGIS Open the map file by ََQGIS Select the items map by type style the items one by one see the tutorial here


1

Command osmosis --rrii creates a file configuration.txt with a wrong url apparently. Changing it to planet.osm.org/replication/minute/ for minutely updates fixes the problem. Thanks to scai.



Top 50 recent answers are included