Questions tagged [osmosis]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
416 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 ...
0
votes
1answer
496 views

OSRM how to use my own map

I download a cartography bike from the open data data link to Postgres then I convert it to osm using: python ogr2osm.py "PG:dbname=x user=x host=localhost" --sql="SELECT * FROM bike_network" --...
0
votes
1answer
66 views

Look for all `highway` type `way` in certain area, using the overpass-api directly (not overpass turbo) or osmosis

I need all highway type way in certain area, I found this query the result I want, but using overpass-turbo (I would like to use only overpass-api or even better only osmosis): <osm-script output=&...
0
votes
1answer
117 views

Wrong csv format generated by OSM tools

I am using the following sequence of commands to extract some data from open street map to import to Postgres: osmconvert -b="-7.57216793459,49.959999905,1.68153079591,58.6350001085" -o=/data/UK.poi....
0
votes
1answer
125 views

Make my OSM database up to date again

I have a cron job to run osmosis + osm2pgsql to keep my OSM database updated from https://planet.openstreetmap.org/replication/day/ Due to problems in my server I have lost two weeks of update, ...
0
votes
3answers
516 views

Saving to different schema using Osmosis?

Does anyone know how to use osmosis to save to a different schema? I used the pgsnapshot_schema_0.6.sql to create a blank data table, but it always creates it in the public schema. I need to create ...
0
votes
1answer
523 views

OSM Data Extract Streetnames for cities

How to extract streetnames with osmosis (Java)? I have tried to process all Nodes. I put them in a Map<String, List> meaning Map<CityName, ListOfStreetnamesOfThatCity>: @Override public ...
0
votes
1answer
315 views

How to hierarchically query PostgreSQL data coming from OpenStreetMap

I have loaded OpenStreetMap data into a PostgreSQL database using Osmosis. This is done by using the snapshot schema. I filtered the data and loaded only: country & city information osmosis --...
0
votes
1answer
456 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
262 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 ...
0
votes
1answer
427 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 ...
0
votes
1answer
964 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 ...
0
votes
0answers
15 views

Convert osm.bz2 file to shapefile for specific extent

I'm trying to get a historic shapefile (from 2010) of a road network for a specific country from OSM. I downloaded a planet osm.bz2 file from here I'm wondering how to create a shapefile from this for ...
0
votes
0answers
18 views

Remove openstreetmap tags within polygon area

Does anyone know of a command line tool which can remove certain tag types from ways in an OSM file but only within a defined area? (e.g. remove tag 'maxspeed' within a defined polyon). File format ...
0
votes
0answers
37 views

Osmosis read history

osmosis --rbf D:\downloads\history-latest.osm.pbf --bounding-box top=35.835521 left=51.087711 bottom=35.553874 right=51.626053 --rdc readFullHistory=yes --wb D:\downloads\history-latestCl.osm.pbf I ...
0
votes
1answer
57 views

Exclude geographic extent of an OSM file

Osmium and Osmosis command tools have the capability of extracting a geographic extent from an OSM file. osmosis --read-xml test.osm --tee 1 --bounding-box left=15 top=46 --write-xml extract_test....
0
votes
0answers
202 views

How convert OSM relation to GeoJSON -based all kind of relation member roles

I just want to convert OSM data to GeoJSON where it is pretty simple with node and way tags of OSM data, but relation which is giving complex can't find the logic to convert OSM relation to GeoJSON ...
0
votes
0answers
151 views

Getting Details of POI

I am pretty new with this so please bear with me. I am able to extract GeoJSON data from OSM and Load it into MongoDB. I am able to run queries to get the data based on Radius. The data looks ...
0
votes
1answer
251 views

Nominatim North America update

I want to keep updated my fresh install of Nominatim 3.1.0. I have installed North America maps from this (http://download.geofabrik.de/north-america-latest.osm.pbf) file. According to the article (...
0
votes
0answers
63 views

Different outputs from the same query when using country vs continent data (OSM and Osmosis)

I am attempting to extract highways (motorways, trunk, and primary roads) for Europe from OpenStreetMap using Osmosis. As I am new to using Osmosis, as an intial test, I downloaded the country osm.pbf ...
0
votes
1answer
2k views

Convert .osm/.pbf to .map for mapsforge

I have download latest version (0.46) of osmosis from https://wiki.openstreetmap.org/wiki/Osmosis#Downloading and mapsforge-map-writer-0.9.1.jar from http://search.maven.org/#search%7Cga%7C1%...
0
votes
1answer
246 views

Extract Certain Elements from Global OSM Database

The goal is to find all waterways in Open Street Maps globally. This is the equivalent for a random area in China in overpass turbo. Instead of doing it for this bounded area, I want to query ...
0
votes
0answers
271 views

How to import OSM data into postgis and add Elevation Information from raster

In my usecase I want to use OSM data for my routing server, but first, I'd like to add elevation data. And I'd prefer to do that in postgis as I'd need to do further analysis of the data using postgis....
0
votes
0answers
435 views

How to setting proxy for osmosis?

I'm trying to use osmosis to update my data ( http://wiki.openstreetmap.org/wiki/Minutely_Mapnik ) but I'm facing the follow error: org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to ...
0
votes
2answers
892 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
votes
1answer
1k views

OSM converter cannot convert after renaming PBF to OSM?

I downloaded a .pbf file from this link and then I renamed it to tu.osm because it is an .osm file. Then I used osmconverter to convert it to .pbf using: c:\osm>osmconvert tu.osm --out-pbf >tu....

1 2
3