Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
9 votes
4 answers
14k views

Unable find driver PostgreSQL in ogr2ogr

I need use ogr2ogr tool for import osm into PostgreSQL database. I've tried this command: ogr2ogr -f PostgreSQL PG:"dbname='OSM_DB' host='localhost' port='5432' user='postgres' password='postgres'...
Denis Stephanov's user avatar
9 votes
4 answers
10k views

postprocessing GPS coordinates with RINEX data to improve precision?

Im doing some mapping for OSM in my region and I am curious if the precision of tracks from a GPS Receiver can be improved if they are post processed with RINEX data. The tracking is done with a ...
Lairsdragon's user avatar
9 votes
1 answer
6k views

How can I use roads from OSM data in R?

I need to use the roads to compare GPS positions to verify that they are no errors in the data. I downloaded the map.osm from a site that have information of City of Rome and had it transformed to ...
Fabio Jojima's user avatar
9 votes
6 answers
5k views

Which geocoding providers allow storing of geocoded data?

I'd like to provide a functionality where the user can search for an address/place on a Leaflet map, and is able to add the resulting marker to the map (which later can be saved on server and ...
hyperknot's user avatar
  • 393
9 votes
1 answer
4k views

OpenLayers with my own OSM data server

I've gone through the process of setting up my own OSM database / tile server by setting up PostGIS, importing the Planet.osm data snapshot (took a few days), and setup Mapnik / cascadenik, etc. I ...
colemanm's user avatar
  • 1,347
9 votes
2 answers
950 views

one label for two-lane roads (osm, qgis, postgis)

I labeled my osm-lines-layer (PostGIS) with symbols for primary roads and motorways. While the symbols for the primary roads are well placed - with enough distance between each - the two-lane motorway ...
MartinMap's user avatar
  • 8,406
9 votes
2 answers
4k views

Working with address data extracted from *.osm

My goal is get all the addresses from a certain country, ideally - from all countries, but for now - only from one. I downloaded an *.osm file from here http://download.geofabrik.de/ for a certain ...
Oskar K.'s user avatar
  • 193
9 votes
3 answers
6k views

Importing OSM Data into MongoDB?

Can anyone tell me how to import OSM data in mongoDB step by step ? This is the link to the data http://download.geofabrik.de/europe/germany/baden-wuerttemberg/karlsruhe-regbez.html https://gis....
user3783320's user avatar
9 votes
2 answers
6k views

What is the best way to extract the geometry of a road from OSM data?

What is the best way to extract the geometry of a road from OSM data? The goal is to display segments of highway that are closed due to weather. The weather data consists of positions (in KM measured ...
Alex Morega's user avatar
9 votes
1 answer
1k views

Creating columns in PostGIS using osm2pgsql hstore tags

While I feel this may come down to a database question, it feels GIS-related enough that I feel comfortable posting it here. I'll be happy to take it elsewhere if it belongs there, though! I've ...
Nathanus's user avatar
  • 4,318
9 votes
4 answers
7k views

Downloading entire OSM world dataset and import into MS SQL

I am trying to download the entire dataset of OSM and placing into a MS SQL Database. Does anyone have any ideas of how to go about that?
ABaut's user avatar
  • 101
9 votes
1 answer
679 views

OpenStreetMaps offline tile packs

Is there a place where I could download OpenStreetMaps tile packs for the united states? I would like to have offline access for the whole country.
DoubleDunk's user avatar
9 votes
2 answers
3k views

How to find the nearest city for a POI in a OpenStreetMap/PostGIS database?

I'm interested in finding additional data for the POIs in OSM database. Currently I can use the following SQL for getting the name+long+lat for all the POIs SELECT name, x(transform(way, ...
Catalin's user avatar
  • 221
9 votes
2 answers
1k views

Missing roads from OpenStreetMap data with osmosis

I am currently trying to extract road networks from OpenStreetMap dumps downloaded on Geofabrik. I am using the following osmosis (version 0.45) command to extract roads: osmosis \ --rbf input.osm....
ArMoraer's user avatar
  • 5,719
8 votes
4 answers
12k views

Looking for geodata of Europe's major roads

As stated in the title, I'm currently looking for a shapefile/other geodata source of Europe's major roads (highways). If anybody knows a free datasource (or a possibility to extract that data from ...
chriserik's user avatar
  • 1,321
8 votes
4 answers
18k views

Extract country border from OpenStreetMap

I'm trying to extract the Jordanian country border from an OpenStreetMap. When I click the download link for the file, the following page opens: How do I save these XML tags as an XML- or OSM file ...
user3368456's user avatar
8 votes
2 answers
11k views

Importing large dataset with osm2psql? [closed]

My question is similar to slow import via osm2pgsql to postgresql database and Optimizing osm2pgsql imports for OSM data but as we currently have quite some problems importing a large set of OSM data ...
Georg's user avatar
  • 1,011
8 votes
1 answer
28k views

How to display places names when using Quantum GIS and shapefiles?

I am new to the world of geo systems. What I would like to do is displaying some information on a map for given regions. I downloaded shape files from cloud made web site and load layers using ...
dry's user avatar
  • 183
8 votes
1 answer
2k views

What are the advantages of pgSQL+PostGIS+pgRouting over a simple MySQL+handwritten routing algorithms?

Goal: To have a routable set of roads in a database and to have a software that can calculate the shortest path (e.g. simple Dijkstra) through this set in a reasonable amount of time (up to 2 ...
user10528's user avatar
  • 275
8 votes
2 answers
836 views

Does the center, or the tip, of the OpenStreetMap website teardrop icon, represent the coordinate point?

Does the center, or the tip, of the OpenStreetMap website teardrop icon, represent the coordinate point? I mean some websites, and Google Earth, use pushpins, but they also have cross hairs on the ...
Dan Jacobson's user avatar
8 votes
2 answers
9k views

How to generate an image from OSM on command line?

Is there a GNU/Linux command line tool that allows to generate an image file from OSM, preferably as an SVG?
raphink's user avatar
  • 193
8 votes
2 answers
36k views

Avoid time out error Nominatim Geopy OpenStreetMap

How to avoid the GeocoderTimedOut('Service timed out') error in GeoPy using the OSM Nominatim geocoder? I am not interested in using an exception and skip some entries. I already use a time delay of 1....
RutgerH's user avatar
  • 3,355
8 votes
5 answers
2k views

Data Source: Address ranges for every block in NYC

I'm looking for data that defines the address ranges used on NYC blocks. On this screenshoot you can see google has noted the first addresses on each block of West End Avenue and 92nd/93rd/94th st. (...
notpeter's user avatar
  • 185
8 votes
4 answers
1k views

Openstreetmap of a specific city of USA

I want to get the osm of a specific city of USA. I can only get the whole state now. But how can I get the osm data for a specific city.
user31820's user avatar
  • 311
8 votes
3 answers
12k views

How do I query highways with overpass turbo?

I want to use overpass to show major highways for a US city. How can I query that from overpass turbo? I tried the following code here and it returns tons of dots. I really want only lines showing ...
bernie2436's user avatar
8 votes
3 answers
1k views

Geocoding to shape instead of coordinate

Geocoding to a shape instead of a point The project I'm currently working on is Find-A-Record. We are geocoding genealogical record collections and storing them in a spatial index (browse our blog if ...
user avatar
8 votes
1 answer
10k views

Understanding the difference between coordinates projection in OSM and Google Maps in China

I'm looking at the coordinate differences between Google Maps and OSM. I'm a noob in the technicality behind GIS. Having read: EPSG 3857 or 4326 for GoogleMaps, OpenStreetMap and Leaflet How to ...
Nora Olsen's user avatar
8 votes
1 answer
6k views

Finding residential buildings with overpass-turbo?

I am looking to find all residential buildings with overpass-turbo.eu. I am trying to use the following query: way ["building"~"residential|house|terrace|detached|apartments"] ({{bbox}}); (._;>...
marco's user avatar
  • 1,147
8 votes
2 answers
652 views

How can I know why an OSM way cannot be used for routing, and how can I fix it

Background I use osm2po in an application that needs to calculate distances, times and path between locations. In short, I take data from Geofabrik as input to osm2po to output a directed graph with ...
Pierre-David Belanger's user avatar
8 votes
2 answers
16k views

Extracting admin boundary data from OpenStreetMap

I'm really just looking to get borders for cities and regions around the world. Ideally in a shapefile format. Does anyone know how I can do that from OpenStreetMap?
Local Kid_GIS's user avatar
8 votes
1 answer
3k views

Split very large OSM file

I'm trying to get detailed geojson data for various African countries. I think I found a good source at http://download.geofabrik.de/. The problem is that the downloaded file is in osm format. I know ...
Martin's user avatar
  • 193
8 votes
2 answers
11k views

Export OpenStreetMap paths to KML

Is there a way to export OpenStreetMap public transport routes to a KML or KMZ file? I'm trying to view the routes in another application (Google Earth) which supports KML data, but doesn't support ...
user47884's user avatar
8 votes
1 answer
179 views

"Flooded" islands in converted OSM data

I'm having a problem with "flooded" islands when converting OSM natural=water data to shapefiles and opening it in qgis. It doesn't happen consistently; as you can see from the attached screenshot, ...
Canuck's user avatar
  • 251
8 votes
1 answer
4k views

ogr2ogr: convert osm.pbf to SpatiaLite - error messages

I have downloaded a .osm.pbf file from extract.bbbike.org and am interested in all highways/line features of my downloaded pbf-file. I also changed the osmconf.ini to choose wich TAGs I would like to ...
Duddel's user avatar
  • 375
8 votes
2 answers
9k views

How to create accurate indoor maps?

I'm currently developing an indoor positioning system for a college project. I searched for a good mapping platform and I found that openstreetmaps would suit me best, but now I'm stuck in generating ...
a.u.r's user avatar
  • 183
8 votes
2 answers
1k views

Can OpenStreetMap replace Google Earth?

I need to build a website which needs to perform the following tasks: Display a web map with topographical details On the map show a set of selected streets When a street is selected show a set of ...
tommasop's user avatar
  • 255
8 votes
2 answers
4k views

How do I rotate the OSM map before printing?

What is the simplest way to rotate and render Openstreetmap data, and still get a nice render? For example Toronto, would fit best rotated slightly on a page in landscape mode, so the northern ...
Erik Johansson's user avatar
8 votes
5 answers
10k views

Download link to osm2pgsql

I need to download the osm2pgsql for Windows i tried from the path which is given in wiki http://customdebug.com/osm/osm2pgsql.zip and also from below link http://tile.openstreetmap.org/osm2pgsql....
chiranjeevigk's user avatar
8 votes
2 answers
4k views

US Tiger or OpenStreetMap route data: One Way Street and Intersection Data

We're building a U.S. street routing application (finding paths for cars between two or more locations using public roads) and would like to use open source data US Tiger Data or OpenStreetMap or ...
Glenn's user avatar
  • 808
8 votes
1 answer
7k views

How to import country administrative boundaries from OSM Planet to PostGIS Polygons

I need to import all world countries as polygons or multipolygons into PostGIS. Specifically, I need the administrative boundaries that are like this orange bubble around the actual land borders. I'...
Justin Schier's user avatar
8 votes
1 answer
4k views

Draw route direction overlay on Google Maps or OpenLayers

I'd like to display the route direction generated from GraphServer on either Google Map or OpenLayers. The result I want is basically identical to how Google Map shows route directions, by ...
ejel's user avatar
  • 877
8 votes
1 answer
3k views

OpenStreetMap: CRS not matching

I have different layers with different CRS, I think therefore the layers don't match. But I don't know how to fix this. Here is what I did (QGIS 3.0.1 on Debian Buster). I connected to OpenStreetMap ...
Markus's user avatar
  • 221
8 votes
1 answer
8k views

How to Optimize Openstreetmap Tile Rendering?

I am currently trying to render Water (3,198,333 records) and detailed world borders (processed_p) for the world. I am successful in rendering both layers, but I am not happy with performance. My ...
user avatar
8 votes
1 answer
5k views

.mbtiles file with PBF to .mbtiles with PNG or JPEG

I need this conversion to embed the mbtiles file in a mobile app. I know there are server based rendering solutions, but I just need to make this conversion once for a single file with OpenStreetMap ....
Steve M's user avatar
  • 81
8 votes
1 answer
4k views

How to extract bounding boxes of cities from OSM?

For simple geocoding purposes I want to extract all cities from a single country of openstreetmap. They only queries I want to do are: ZipCode -> (List of) BoundingBox of City/Village City/...
Fabian Zeindl's user avatar
7 votes
3 answers
3k views

Downloading metro stations of Paris from OpenStreetMap?

I'm just getting acquainted with OSM (OpenStreetMap), so this might be a total newbie question, but I'm looking for OSM Point of Interest data for all metro stations in Paris. I'm sure this info ...
Geert-Jan's user avatar
  • 335
7 votes
3 answers
4k views

Obtaining *rendered* OSM data

I'd like to produce a simple walking map with some points of interest. Ideally, I'd like to use the rendered OSM data, as you can get from the page. Using the QGIS OSM plugin, I can only download a ...
Jose's user avatar
  • 3,352
7 votes
4 answers
8k views

Convert large OSM files to GeoJSON

I have been trying to convert a large OSM file (5G) to the GeoJSON format. All the tools I have been using, use extensive memory and throw an out of memory exception. What is the best way to convert ...
ANN's user avatar
  • 113
7 votes
6 answers
2k views

Tool/Algorithm for generalizing OSM-Files for printing maps

Is there a tool or algorithm to (topological) generalizes OSM-shapes? I would like to build a printable map in different scales. In the image below you can see the same divided road (yellow) at ...
MartinMap's user avatar
  • 8,406
7 votes
1 answer
6k views

How can I increase limits of OSRM table function?

I want to generate a distance matrix for more than 50 points with my own OSRM server. Because I want to minimize the number of calls, I decided to increase the size of the query from 50 to 100 or even ...
Xavier Ruiz's user avatar

1 2
3
4 5
66