I`m trying to create map which has several layers. One of them consist of country borders (admin_level = 2,3), country name and region names. I use data of coordinates of Armenia and China from https://download.geofabrik.de/asia.html. I succesfully…
I have downloaded a pbf file, france_latest.osm.pbf, from geofabrik.de and want to use osmosis to filter it to get a .osm file with just the major roads. Here is my osmosis command string:
osmosis --read-pbf france-latest.osm.pbf --tf accept-ways…
I've written code in Java using the Osmosis framework and specifically OsmosisReader for Java, for OSM processing.
As far as I understand, OsmosisReader can only work with *.pbf files, which means I need to convert .osm files before using them…
I want to install Osmosis on my Macbook, which currently is running MacOS Monterey 12.0.1
Following the installation instructions, I did the following:
I downloaded the latest version (0.48.3 at the time of this posting)
I navigated to the OSX…
I have imported pbf to postgres using osmosis snapshot schema
now wanted to create pbf from that schema, using following command
osmosis --read-pgsql host=localhost database=osmosisv1 user=postgres password=postgres postgresSchema=contry_snapshot…
The problem which I faced is quite complex. I work with OSM editor where I can override some ways properties. Those properties are tags called "maxspeed:backward" and "maxspeed:forward".
Sometimes I want to update my local map with OSM official data…
im trying to get data from site with osmosis, but insted of the value it returns '{{value}}'.
here`s my code:
const osmosis = require('osmosis');
osmosis
.get('#########&fromStationCode=210305&toStationCode=217304')
.delay(3000)
…
I am trying to use openstreetmap osmosis to read a pbf file of an airport and extract features like gates and runways.
I am using code similar to: http://www.javaoptimum.com/how-to-read-osm-pbf-files-programmatically-java/
When the code encounters a…
I need to decompress a very large file (100GB+) and get it be processed by two parallel threads. Problem is that I want to feed uncompressed content to both threads at the same time using STDIN/STDOUT
bzip2 north-america-latest.osm.bz2 | \
osmosis…
I'm trying to filter data from .osm file, using a python script
Following is the python code I used for the purpose. But the .osm file created does not contain the data from the input file.
import…
I'm using the Osmosis package to scrape like this:
require('osmosis')
.get('https://samdb.org/phones/galaxy-s10')
.find("//h4[contains(text(), 'MP')]")
.data(data=>{
console.log(data)
})
My problem is that it logs an empty object…
I'm using Osmosis to export the Postgis tables to .osm file.
I'm using the following command to generate the .osm file.
osmosis --read-pgsql host="localhost" database="pgsnapshot" user="postgres" password="postgres" --dataset-dump --write-xml…
Hello I am trying to prepare a map from openstreet map (.osm) following this tutorial
Using JOSM
Now in my map I need a really sparse representation of the whole map (only streets and traffic lights)
Is there an efficient way to do so?
I am happy…
I have a database filled with my own data which I collected. I stored the data in a pgsnapshot databasis after which successfully exported via Osmosis to a .pbf file, osm tagged etc.
After this I give this file to graphhopper to generate the…