Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
41 votes
4 answers
39k views

Select bounding box using postGIS?

I want to create a query to select all ways and their nodes that exist within a bounding box using postGIS. The bounding box shall includes all details as osmosis "--bounding-box" command will ...
uriel's user avatar
  • 587
3 votes
1 answer
1k views

How to make osm2pgsql import a tag?

I loaded OSM data into PostgeSQL with Osmosis&Osm2PgSQL, and see many tags are missing. I need to make it import lanes tag. How can I make it save this tag too? edit: my solution was to copy /usr/...
culebrón's user avatar
  • 2,344
3 votes
3 answers
9k views

Update database via osmosis and osm2pgsql too slow

I got a box with the current hardware config: CPU: Intel Xeon E3-1220 V2 3.1 GHz RAM: 10gb Hard Disk: Western Digital WD10EZRX SATA Hard Drive OS: Centos 6.5 64 bit DB: PostgreSQL 9.3.2 and ...
Davide Berra's user avatar
2 votes
1 answer
1k views

How Nominatim calculates addresses

I have imported OpenStreetMap data for the country Switzerland via osmosis in my MySQL database. Now I want to look for a specific address in that database, but I can't find a way to get the whole ...
Billy Sanders's user avatar
1 vote
1 answer
1k views

Where to download .osm files and how to convert it to .xml? [closed]

I am new to deal with OSM data, and I want to download only .osm files not .pbf. I tried geofabrik.com but it provides .osm.pbf file format where can I download .osm files? is there any recommended ...
Amrmsmb's user avatar
  • 305
2 votes
2 answers
2k views

Merging different tag filtering with Osmosis?

I want to extract the different points of interest from OpenStreetMap. Some of them are represented as ways (e.g., a large sport center might be represented as the building, i.e., as a way), others ...
Antonin's user avatar
  • 875
2 votes
2 answers
2k views

extract amenity from pbf file using osmosis

I want to extract some amenity(atm) from a pbf file. Here is what i've found. osmosis --read-pbf myfile.pbf --tf accept-nodes amenity=atm --write-xml atm.osm Myfile.pbf is a file for Paris area (...
Loki's user avatar
  • 21
2 votes
1 answer
2k views

Getting coordinates of ways in *.pbf file?

I would like to extract some lines and polygons from OSM data (In the format of .pbf). After using osmosis I can get a osm file with all the elements like this: <way id="102670197" version="1" ...
natsuapo's user avatar
  • 593