I've written code in Java using the Osmosis framework and specifically OsmosisReader for Java, for OSM processing.
To do so I need to convert OSM's ways to edges between the way's source and destination.
for example, take this way:
I am working on optimizing the import process of large OSM extracts into Postgres. I am currently using a Europe extract as pbf (from Geofabrik) and I have a process that has been running for over 4 days that writes the import files for Postgres. I…
I am trying to replicate the example in this page. I downloaded the data and run this code (the example data of that page can be downloaded from here):
osmosis --rbf sample_osmosis.osm.pbf --nkv keyValueList="amenity.school" --wx schools.osm
I am…
to update my database I need to extract some datas from OSM database. To do it I have downloaded the osm pbf file from the website of GEOFABRIK.
From this PBF file I wish to extract all the polygons and multipolygons with some key values.
My…
I've recently began to dig deeper into manipulation raw osm data and later convert them to *.mbtiles to serve vector tiles to my web application. As the map only needs to be of low detail (is mainly used for displaying aviation data), I don't need…
I have a large data set of lats and lons. mplleaflet was overwhelmed. After determining my BBox, OpenStreetMap yielded a "too many nodes..." error. And recomened planet.osm. Based on posted advice, I down loaded a state from Geofabrik.org, and…
I have osm data tables into postgresql .now i want to export it as .osm file. currently i am using osmosis to do that but somehow it is giving me error and i am not able to export it .
osmosis --read-pgsql host="localhost"…
I am a new R-user and currently face a problem with Osmar package while I am running the chunk:
osm_file_path <- "~/Downloads/berlin-latest.osm"
src <- osmsource_osmosis(file = "/Users/Soodi/Downloads/berlin-latest.osm")
ber_bbox <-…
I have about 1000+ locations that I've filtered in a country with osmfilter on a .osm file, I want to create a .csv file with their id, name, lat, lon, and PLACE (name of the administrative boundary they are in: say a state in USA).
I filtered some…
I am currently taking the great-britain-latest.osm file from https://download.geofabrik.de/europe.html and importing it into POSTGIS for use with Nominatim.
However I would also like to render mapping tiles using Maperative which cannot handle the…
I'm currently using osmosis to scrape information which is inside various accounts. In order to login to these accounts I'm trying to use the submit command. It however doesn't seem to do anything. I've also tried .login but this seems to not…
I have been attempting to import a north-america-latest.osm.pbf (from Geofabrik) into a Postgres database for some time. After reviewing the wiki detailed usage page thoroughly, I set the database to include all necessary tables (pgSnapshot) via the…
I want to automate the process of extracting data from large OSM files with osmosis, but I am having issues running this code snippet to automate tile creation from OSM data:
import sys
import subprocess
def create_tile_pbf(pbf_file, tile_lng,…
When I osmconvert a high precision indoor map like this:
osmconvert64.exe --fake-author --statistics testmap.osm -o=testmap_new.osm -v=2
the last 2 digits of every lat/lon coordinate are getting cut.
E.g.