Skip to main content

All Questions

Tagged with or
698 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
1k views

OSMDroid android app zoom in without changing tiles, is it possible?

I am developing an android mobile mapping app using OSMDroid 4.3. I have established a basemap using arcgisonline as my tile server. String[] urlArray = {"http://server.arcgisonline.com/ArcGIS/rest/...
tony gil's user avatar
  • 507
6 votes
0 answers
889 views

Using OSMFilter to filter for the lack of a tag

I am looking into filtering the OSM data for lakes, using OSMFilter. Lakes can be defined by the combination of tags natural=water water=lake However, another definition would be only natural=...
Andrew Wong's user avatar
6 votes
1 answer
216 views

Match housenumbers on buildings (special case of point-in-polygon-test)

Task with example I'm working with geodata (country-size) from openstreetmap. Buildings are often polygons without housenumbers and a single point with the housenumber is placed within the polygon of ...
user2033412's user avatar
5 votes
1 answer
408 views

TMS tilenames for Elliptical Mercator projection - EPSG:3395

My goal is to derive TMS tile names from given lat/lon and vice versa for Elliptical Mercator projection (EPSG:3395) using Python. OSM wiki explains the logic for Spherical Mercator (EPSG:3857), but ...
Basile's user avatar
  • 3,593
5 votes
0 answers
278 views

Showing Polar coordinate grid?

I've found some maps for Antarctica https://nga.maps.arcgis.com/home/webmap/viewer.html How can I show polar coordinate grid for it? I've got the grid source code in grid_wgs.js (I use OpenSeaMap ...
Sam Zadworny's user avatar
5 votes
0 answers
172 views

pgr_drivingdistance seems to be excluding nodes that should fall within the cost parameters set

I am getting a result that I don't understand and I am not sure if its my lack of understanding of OSM. I am using the pgrouting functions pgr_drivingdistance to get the list nodes reachable within ...
tensai's user avatar
  • 161
4 votes
0 answers
1k views

Extracting OSM railways using ogr2ogr

Similar to the question on how to extract highways from osm data I posted before, I now have a new one: I want to extract all features tagged with railway=rail from an osm.pbf file using ogr2ogr. In ...
jreith's user avatar
  • 249
4 votes
0 answers
3k views

How can I extract street information from an osm.pbf file to Excel?

I'm working on a project where I have to get all the streets of the city where I live, including colony, suburb, postal code, but I am a little confused about what process do I have to follow. I have ...
Daniel ML's user avatar
4 votes
0 answers
817 views

Add OpenLayers map on map canvas with PyQGIS

I have map canvas with two shapesfiles, and I want to add OSM map behind. My code for this is: from PyQt5.QtGui import * from PyQt5.QtWidgets import QHBoxLayout, QDockWidget, QWidget from osgeo ...
Neven's user avatar
  • 546
4 votes
0 answers
377 views

not all OSM polygons downloading in QGIS

I have been trying to download all of the polygons contained within OSM for a particular extent of the city. When I do this through > Vector > OpenStreetMap > Download Data, however, many polygons ...
iskandarblue's user avatar
  • 2,112
4 votes
0 answers
396 views

Contour lines for tile server at home?

I am trying to set up an offline version of OpenStreetMap to use on holidays where internet can be spotty. Following https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/, I have ...
Helge's user avatar
  • 141
4 votes
0 answers
2k views

Smoothing Lines in PostGIS

I want to smooth Lines in postgis, to be more specific, I want to smooth road data from OpenStreetMap. Basicly I thought of something like this scenario. This would be a possible road segment. I ...
XyZtobiXyZ's user avatar
4 votes
1 answer
282 views

Creating consistent topology using PgRouting

I'm developing an application that needs routing information for certain cities. First, I downloaded a openstreetmap datafile (*.osm) and then I imported it into a PostgreSQL database using ...
Iñigo's user avatar
  • 41
3 votes
0 answers
340 views

How to produce XYZ folders from the OpenStreetMap PBF file

I downloaded the 72 GB OpenStreetMap PBF file (planet-230619.osm.pbf) at this link https://planet.osm-hr.org/pbf/ and I was trying to upload it to QGIS and use the Generate XYZ tiles (Directory). ...
Koba's user avatar
  • 181
3 votes
0 answers
571 views

Adding a custom data layer to the OSM ID Editor on a private server

How to add a custom map layer on a locally installed ID Editor on a private server? There is an option "Custom Map Data" available, but it is only valid for the current session i.e. after ...
Arash Archer's user avatar
3 votes
0 answers
1k views

OSM: Downloading all street names + adress number + coordinates of a city?

For a statistical analysis my company wants me to create an Excel sheet containing every building's adress in a city, like this: City name | area code | street name | house number | longitudinal Coord....
R. Place's user avatar
3 votes
0 answers
793 views

3D buildings from OSM data for historical interaction

What I am trying to do: Have a 3D interactive map, embedded on a website, that allows viewers to click on buildings which opens up a 'more info' HTML overlay with links/text/images about that specific ...
essexboyracer's user avatar
3 votes
0 answers
761 views

Using OSMOSIS to extract multipolygon data from .pbf file

To update my database I need to extract some data from the 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 ...
Rome's user avatar
  • 31
3 votes
0 answers
701 views

Loading online OSM raster tiles using URL in custom QGIS application (C++)

I am trying to write a C++ version of a custom QGIS (v 3.10) application I initially wrote in Python that overlays data onto OpenStreetMap. I am able to do this successfully by loading online tiles ...
skew_t_pie's user avatar
3 votes
0 answers
913 views

How to generate more pbf zoom levels with mbtiles file?

I have a 8GB canada.mbtiles vector file which contains all of Canada up to zoom level 14. How do I generate zoom 15,16 from this canada.mbtiles file? The goal is to serve smaller pbf on z15,16 for a ...
Reed's user avatar
  • 131
3 votes
0 answers
310 views

PyQGIS: How to change CRS of OSM

In a PyQGIS standalone script, I tried to change the CRS of an OpenStreetMap loaded as a Raster Layer. I want to change the OSM from EPSG:3857 to EPSG:4326 and display it on Canvas, but the display on ...
HHasemi's user avatar
  • 31
3 votes
0 answers
627 views

Convert tile grid values from EPSG:3857 to EPSG:27700

Ordnance Survey have recently released an API for map tiles in the leisure series. Their tile set uses a grid based on EPSG:27700. This uses a standard zxy url https://api.os.uk/maps/raster/v1/zxy/...
CitizenFish's user avatar
3 votes
0 answers
902 views

Getting Maxar Premium Imagery in QGIS

When you edit OpenStreetMap you have access to the Maxar Premium Satelite Imagery. That is more recent than other imagery in certain areas. How can I get Maxar Premium Satelite Imagery as a layer ...
user12253633's user avatar
3 votes
0 answers
1k views

Retrieving OpenStreetMap data (ways and its child nodes) by coordinates using Overpass API?

I am new to using OSM.I am trying to download OSM data programmatically using Python. I need data of ways and its child nodes contained in a perimeter specified by coordinates. Currently, I am ...
Suraj's user avatar
  • 31
3 votes
0 answers
364 views

Dealing with bridges over roads in PostGIS topology?

first time posting please ask for more details if not enough provided. I am using OSM road data and have created postgres topology for them. I am now cleaning up the data before exporting it for ...
cts's user avatar
  • 31
3 votes
1 answer
2k views

Serving OSM tiles - mod_tile/renderd/postgresql problem: I sometimes get 404 Not Found

When I request tiles I get sometimes 404 Not Found. Usually, if I request the same tile again it appears alright (with 200 OK). This is what I found in renderd logs: renderd[734]: An error occurred ...
Defozo's user avatar
  • 181
3 votes
0 answers
194 views

OSM Tools Plugin is broken for QGIS 2.8.6-Wien

When installing OSM Tools for QGIS Wien 2.8.6 I get an error: the plugin is broken python said no module named YAML. YAML is on my Linux Mint box 18 and I can't find documentation with Google or on ...
lewis's user avatar
  • 1,507
3 votes
1 answer
521 views

Cropping osm.pbf data without missing overlapping features?

for our offline maps tool we use *.osm.pbf data for input. As we often need cross border selections or just a country with some "buffer" around borders we use cropped osm data using osmctools. ...
Juhele's user avatar
  • 1,738
3 votes
0 answers
2k views

Transforming coordinates to WMTS tiles

I'm currently developing a slippy map. It is perfectly working with tile coordinates that are used in openstreet maps i.e. the zoom/x/y format. I have used the formula from the OSM wiki to map ...
Schedonn's user avatar
3 votes
0 answers
331 views

Tool for merging OSM and Google route data

I'm using google API in order to solve a routing problem; by giving it points of source and destination and demanding the route. Now I want to project the route on an OSM map. Is there any tools to ...
SQPooya's user avatar
  • 31
3 votes
0 answers
305 views

Which STRM resolution Srtm2Osm.exe uses?

The piece of program Srtm2Osm uses SRTM elevation model from NASA to produce countour lines in OSM format. Does it use the SRTM1 at 30m or SRTM3 at 90m?
Vincenty's user avatar
3 votes
0 answers
356 views

How to update OSM data, without recreating the PostGIS database?

We are currently working with GeoServer and PostGis which stores the OSM data for Switzerland. I would like to know, how to update the OSM data for my GeoServer. At my current level of knowledge, I ...
Kaffi's user avatar
  • 123
3 votes
0 answers
741 views

How to repair OSM file with missing nodes

I'm using osmium-tool to create OSM history extracts, and then import then into Postgres using osm2po. This is causing problems when the ways do not have referential integrity (i.e., some nodes are ...
amball's user avatar
  • 1,532
3 votes
0 answers
598 views

Add custom data into Nominatim geocoding search?

I have installed Nominatim on my local server to receive addresses from long/lat. I would like to add custom data to the search itself. I would like to store locations of the rooms of our buildings. ...
Kaffi's user avatar
  • 123
3 votes
0 answers
300 views

Weird (longer) route from using cost_s as cost in pgRouting?

I am currently developing application that want to use the fastest time to arrive as parameter for the routing. And i know that pgRouting has 'cost_s' column which calculated from length_m and ...
Ridho perdana's user avatar
3 votes
0 answers
416 views

Keeping used relations (i.e., member relations) when using --tag-filter in Osmosis?

I just got started with the OpenStreetMap and their OSM-files. I am using Osmosis (https://wiki.openstreetmap.org/wiki/Osmosis) to filter a .osm file. I noticed that used relations are not included in ...
Philipp's user avatar
  • 143
3 votes
0 answers
383 views

GRASS v.net.iso does not include all lines

I want to define catchment area for bus stops in small city. As a result of v.net.iso in QGIS with GRASS I don't get all highways in that city. Here are my steps: importing above layers into GRASS ...
blackowhite's user avatar
3 votes
0 answers
487 views

Splitting OSM data into layers by tags (QGIS modeler)

I have a problem with using the QGIS modeler to split a downloaded .osm file into layers. What I am trying to achieve is a structure like this: Traffic (lines) Main Roads Roads Small Roads Natural (...
BiggCrazy's user avatar
  • 331
3 votes
0 answers
350 views

Import csv data to local nominatim/photon installation

I have some additional address data (.csv file) that I would like to import to my photon/nominatim installation. Is there some way to do this? I cannot upload the dataset to OSM because it is not open ...
Chris's user avatar
  • 291
3 votes
0 answers
311 views

Positional accuracy assessment methods in qgis

I'm doing an quality assessment of openstreetmap's street data. As a comparism dataset I have to use an administrative dataset, which is highly accurate and comes in polygons. Here's a sneak peek: So ...
Revo's user avatar
  • 637
3 votes
0 answers
852 views

QGIS Space Syntax plugin with OSM data?

I'd like to do a space syntax analysis for a city I observe, but when I use the Space Syntax Plugin, the desired shapelayer roads doesn't show up. It's an OSM vector layer, what do I have to do to ...
Sietze Faber's user avatar
3 votes
0 answers
542 views

High-level method for offline future road elevation data

I am new to GIS, so please do not hesitate to call me out in providing limited information. I have a .tiff Terrain (elevation) data file for the east coast of the US and a .osm.pbf OSM file for ...
Morgan Culbertson's user avatar
3 votes
0 answers
898 views

Postgres OSM planet reverse geocoding

i'm building function for reverse geocoding in Postgres using PostGIS function's. For now i was able to clean up all the data that was useless to me(rivers, buildings,etc.). I got 3 tables(...
Žiga Magajna's user avatar
3 votes
0 answers
3k views

Explaining ${z}/${x}/${y}.png for offline map?

Im trying to build map with OMS under Linux (Ubuntu) to made an offline apps. Im working with Ionic and building just for Android for write now. I have the base code: var map; function init(...
Ignacio Nieto Larrain's user avatar
3 votes
0 answers
241 views

CartoCSS: Don't show border between adjacent polygons

In OSM, riverbeds are created as multiple adjacent or even overlapping polygons. When styling these polygons in CartoCSS with a border, the overlapping can be seen: I'd like to hide that line ...
Danilo Bargen's user avatar
3 votes
0 answers
2k views

Where to get UK city boundaries?

Currently I am working on a project where I have to draw boundaries of specific region of UK. Exactly like this I want to know where to retrieve this kind of GIS data. I have tried openstreetmap data ...
ARULJOTHI PARTHIBAN's user avatar
3 votes
3 answers
3k views

Print City Map in High Resolution with TileMill (OSM Data)

I'm rather beginner in Print Map and GIS. I'd like to print the map of my little city using the data in OpenStreetMap. I've got an environment(local) with OSM DataBase and I'm using TileMill to ...
pmarra's user avatar
  • 39
3 votes
0 answers
1k views

Create a path following a road, interpolating from a set of points

I have several hundred vehicular routes within a city from which I wish to create shapefiles. These take the form of directions such as "From Green Street, turn left into Brown Street, Right into ...
08Dc91wk's user avatar
  • 452
3 votes
0 answers
998 views

Adding osm data to Postgres via Osm2pgsql : duplicate key value violates unique constraint

I'm trying to import osm global world data into a database created in postgreSQL but after a while of processing, I've got this error : Reading in file: E:\planet-latest.osm\planet-latest.osm ...
So4ne's user avatar
  • 287
3 votes
0 answers
902 views

How to extract an adjacency matrix from OSM?

I would like to use graph algorithms from the Boost graph library on OSM data. What are my choices to use Openstreetmaps data from within a C++ program ? I need at least a flat file with a list of ...
alecail's user avatar
  • 131

1
2 3 4 5
14