Osmosis is a command line Java application for processing OSM data. http://wiki.openstreetmap.org/wiki/Osmosis

learn more… | top users | synonyms

0
votes
1answer
22 views

How to download OSM data by osmosis

I need to download a geographic data and unzip the download file using osmosis command. I tried this: osmosis --rx test.osm --bb top=48.78 left=6.02 bottom=48.59 right=6.38 but this command filters ...
2
votes
1answer
30 views

Get coordinates of ways in a .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" ...
0
votes
1answer
42 views

Import OSM data in postgis with python script

I want to import OSM data (way and nodes) in postgis database with a script pyhton, I found in the internet that I should create a schema but I don't know how and I really don't know what to put on ...
0
votes
1answer
28 views

Updating OSM data

I'm trying to keep my OSM PostGIS data up to date by reading this tutorial http://wiki.openstreetmap.org/wiki/Minutely_Mapnik The time periods are minute, hour and day, but I think a daily update is ...
2
votes
1answer
68 views

Tracking OSM “Planet” Extract dates

I'm trying to build a GUI that allows replacement / update of the PostGIS database that holds my OSM extract (which I use for rendering, typical mapnik / tile server arrangement). I'd like to show ...
0
votes
1answer
13 views

How to extract seamarks from OSM PBF?

Ref to this: http://forum.openseamap.org/viewtopic.php?id=2060 and this: How to extract primary and secondary roads from OSM data? and this: http://wiki.openstreetmap.org/wiki/Seamarks/Seamark_Objects ...
0
votes
0answers
30 views

Problem to input a .osm file in a Postgres database with Osmosis

I have a problem with import a *.osm file to postgres/postgis database. I hope someone can help me? Ich have done the following things. install Postgresql/Postgis and pgAdmin III -> works fine ...
1
vote
1answer
42 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 dont find a way to get the whole ...
4
votes
1answer
74 views

How to download highways marked with a specific relation from OSM?

There's an excellent general question about downloading canals here: How do I download specific OpenStreetMap data by tag? There's also plenty of knowledge about OSM in general, but one thing I ...
2
votes
1answer
58 views

Load filtered OSM relations into Postgis with OSMOSIS

I am really hitting the wall trying to grips with merging filters in OSMOSIS. I would like to load relations, their related nodes and ways. If I use a tag filter like this: --tf accept-relations ...
1
vote
1answer
208 views

Import streetdata from OSM file to MySQL

I'm trying to import the address data of a specific country from an OSM file in a MySQL DB. I tried to insert the data with osmosis and also to filter them with osmfilter bevor run OSM, but without ...
0
votes
1answer
79 views

Using Osmosis to extract highways and move to a MySQL database

I am pretty new to using Osmosis and I have been having a hard time of getting it going. So basically I am trying to extract highway data from the latest osm planet dump file using osmosis and moving ...
1
vote
1answer
114 views

Install latest Osmosis version on Ubuntu

I am using Ubuntu 14.04 and I would like to know the easiest way to install the latest (stable) version of Osmosis, which is 0.44. I ran sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo ...
0
votes
0answers
126 views

update osm with osmosis fails with “Unknown file format 'auto'.”

I try to update update my data for europe, but it fails. this is how i imported the data: osm2pgsql --slim -d gis -C 20000 --number-processes 6 -S /usr/local/share/osm2pgsql/default.style --flat-...
0
votes
1answer
190 views

pgsql2osm? How to generate osm files from osm2pgsql database?

I want a method to export osm files from a postgress database. I already have a osm2pgsql database, a apidb database and nominatim database in which I have imported osm files. Now I need to export ...
0
votes
1answer
59 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 ...
-1
votes
1answer
87 views

osm converter cant convert osm to pbf [duplicate]

i downloaded .pbf file from this link and then i renamed it to tu.osm becuase it is a .osm file then i used osmconverter to convert it to .pbf using: c:\osm>osmconvert tu.osm --out-pbf >tu.pbf ...
2
votes
1answer
82 views

OSM update without loosing own additional data

I have added data (e.g. name keys) to my OSM PostgreSql database. How can I update my database without deleting or overwriting this data? In other words, how can I merge newer OSM data to my existing ...
0
votes
0answers
129 views

OSM filter and converter is not working

I am using windows and I downloaded osmfilter and osm converter from here and here but when i run the executable nothing appears on the screen and the command mentioned in the aforementioned links ...
1
vote
2answers
147 views

How to split osm data

I have a gigantic OSM geodata file of a city, and I want to split it into smaller files according to each group of tags. I googled it up and i found that there is a jar file caller splitter.jar . i ...
1
vote
0answers
45 views

Updating an Openstreetmap PostgreSQL database after the system restore

My Openstreetmap PostgreSQL database takes a long time – about 25 hours by now – for updating via Osmosis after I had made a system restore at the last weekend. Before making the system restore it ...
0
votes
0answers
102 views

Osmosis drops ways and relations that should be in result file

I am using Osmosis to extract information from a OSM file. I want to have all nodes, ways and relations that contain the tag k="addr:street" So I use this command to filter for all nodes, ways and ...
1
vote
2answers
391 views

Instruction to import OSM file using PostGIS in windows

I want to import OSM data into a PostGIS database running under windows. After a web search I learned that I should use osmosis. But most of the explanations are for Linux. But I have to use windows. ...
1
vote
0answers
95 views

using changeset for larger region to update OSM data in PostGIS

I'm using the OSM import and update workflow described here to maintain OSM data in a PostGIS database. Import (osm2pgsql): osm2pgsql -c -d gps -U gps --cache 8000 --number-processes 4 --slim --flat-...
0
votes
1answer
295 views

Nominatim installation error: Out of memory for node cache dense index

I am installing Nominatim on my Ubuntu server 14.04 through this link and trying to load OSM data into my postgreSQL database. For loading into my database I am using this command as given in the link:...
2
votes
2answers
123 views

geometry from relations - osm

Can someone show me the relevant documentation for relationships between tables? I'm trying to get the geometry for an entry from the relations table but I'm unable to pick out the right information ...
0
votes
1answer
154 views

remove all but specific highways in osmosis

I want to display entire country OSM data in my application. The problem my application dont know how to deal large maps. Instead of chunking the map into 5-10 small chunks, I wish to display only the ...
2
votes
1answer
60 views

Problem with osmosis syntax

I want to create a light version of global map (only with cities and highways and natural objects). How to use osmosis correctly with multiple tags list? For example I try this command with no success:...
0
votes
1answer
123 views

How can I use the OSM SRTM plugin for Osmosis program?

I am using Osmosis and I have a test .osm map. I want to install a plugin from the following Github repo: https://github.com/locked-fg/osmosis-srtm-plugin/ I have followed the steps to "install" it ...
1
vote
2answers
528 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 ...
2
votes
3answers
707 views

How to get India OSM map offline in geoserver which looks similar to online OSM map?

I need to OSM map of India having same look and feel as of Online OSM map. I have done following steps for the same : I have downloaded India map OSM data from below link : http://download....
1
vote
1answer
204 views

Updating pgsnapshot database with osmosis - unable to read state from the server

I set up a local postgis database with osmosis using pgsnapshot schema as described here. The problem occurs when I try to update the database with latest minutely change sets as described here. ...
3
votes
1answer
347 views

How to create a pedestrian routing graph from OSM?

I am interested in obtaining the foot paths from OSM data. Specifically I consider the area within the city limits of Berlin. I downloaded the corresponding OSM file from Geofabrik and I intend to use ...
1
vote
0answers
25 views

osmosis 'unable to execute statement' error

I'm trying to use osmosis to import data to PostgreSQL, got an error: and, I executed the following command successfully:
1
vote
1answer
226 views

Is it possible to split an *.osm.pbf file into multiple files?

I need to split a PBF file into multiple PBF files. Is this possible with any tool? I need to do this preferably in Python, but if there are any Java packages out there I would love to hear about them....
2
votes
1answer
455 views

Osmosis setup on Ubuntu 14.10

I have Ubuntu 14.10. I've installed osmosis from apt. I downloaded mapfile-writer from here http://repo.typesafe.com/typesafe/simple/sonatype-snapshots-cache/org/mapsforge/mapsforge-map-writer/0.4....
1
vote
2answers
416 views

Best way to get osm.pbf data for a given extent?

I need to download/create a PBF file containing all osm data for several french urban areas. To select data, I have, for each urban area, the values of the attribute ref:INSEE for every city composing ...
0
votes
0answers
43 views

How can I detect what changes osmosis do on my osm planet database?

I have already imported a planet osm file in my postgresql database and have now configured a daily update with osmosis. Is there any way to find out what changes osmosis did in the database? I use a ...
1
vote
1answer
77 views

what is the Maximum Number of replica download possible from download.geofabrik.de?

I am trying to update more than 5 months of Nominatim europe data from download.geofabrik.de. For 8 to 10 days its works fine but after that it showing error failed to open stream: HTTP request ...
1
vote
1answer
165 views

osmosis schema, style with OSM-Bright

I have used Osmosis to load a large cut of OSM into a PostGIS DB, that works great. BUT, I would like to use the OSM-Bright style (carto CSS) to style it in TileMill and built tiles, offline. Going ...
1
vote
1answer
646 views

Osmosis plugin map-writer doesn't exist

I need to create my own mapsforge map file... My system is Ubuntu 14.04.1 LTS I've installed osmosis via apt Since link in official documentation is not working i've found plugin file here and ...
2
votes
1answer
124 views

how use height tag data in Project-OSRM

I am using Project-OSRM in my project . All is works . But I need use elevation data. Downloaded osmosis master . And SRTM plugin added to osmosis. Also this worked fine . SRTM plugin started and I ...
0
votes
1answer
415 views

osmosis library in java application

I want to do a navigation application OSM PBF files. I'm using the pbf files from the osm website. I was looking for a way to access the pbf files, I found that it can be accessed using the osmosis ...
4
votes
1answer
629 views

OSMOSIS: How to extract all railway stations in use?

I'm trying to retrieve a list of all railway stations of Belgium that are in use. I downloaded the country osm from http://download.geofabrik.de/europe/belgium-latest.osm.pbf. I tried the following ...
2
votes
1answer
192 views

How to filter out osm data made by specific users - osmosis or a better suggestion

I am trying to find the code for a query in osmosis that will allow me to download only contributions made by certain OpenStreetMap users. I was thinking to use osmosis to filter out all the ...
0
votes
2answers
459 views

Filter OSM files with Osmosis

I have to filter the whole Malta dataset with Osmosis only considering cycleways, footways (including used nodes of those ways) and all nodes with the tag value tourism and amenity. I write the ...
1
vote
1answer
151 views

Will ogr2ogr correctly merge features from several OSM files to resulting set

In GDAL >= 1.10, ogr2ogr contains osm driver I want to try this feature and migrate OSM to PostGIS (I'm aware of osm2pqsql existence) I have several relatively small OSM files and wonder if ...
1
vote
1answer
88 views

How to do geographic operations (intersect) on OSM XML?

I would like to create bicycle router which routes more through shade. For that I would like to use OSM. Most routers use OSM xml so my question is: How to add tags to a street that goes through a ...
2
votes
2answers
4k 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 ...
1
vote
1answer
1k views

Most optimized way of extracting data from planet.osm

I want to cut extracts from planet.osm.bz2 . I have found this command bzcat downloaded.osm.bz2 | osmosis --read-xml enableDateParsing=no file=- --bounding-box top=49.5138 left=10.9351 bottom=49....