4,358 questions
0
votes
0
answers
46
views
OpenLayers ScaleLine (bar: true) does not resize properly with setDpi() for high-resolution printing
I am building a WebGIS application using OpenLayers (v10.x) and I need to export the map to a high-resolution PDF (300 DPI) using html2canvas and jsPDF.
To ensure the scale matches the print ...
0
votes
1
answer
61
views
Nominatim-responses from OpenStreetMap no longer readable
I'm retrieving reverse lookups of GPS-Data (issuing "latitude" and "longitude") to get the the address of the supplied location from nominatim/OpenStreetMap.
For example: I have ...
0
votes
0
answers
53
views
OSMnx simplify_graph with edge_attrs_differ produces mixed geometry directions on bidirectional edges
Context:
I am using OSMnx to simplify a directed road network built from OpenStreetMap data.
The graph is a MultiDiGraph, where bidirectional streets are represented by two reciprocal directed edges (...
Tooling
1
vote
4
replies
387
views
What is the difference between these mapping libraries
I want to transition from Google Maps to OpenStreetMap and overwhelmed by the number of library options out there. What is the difference between leafletjs, MapLibre, MapBox, OpenFreeMap, OpenTiler, ...
Best practices
1
vote
4
replies
112
views
Optimization of an OSM-file parser
I need to code a parser that can parse OSM-files and I was wondering how to optimize it in terms of performance and readability. I have here two versions of basically the same parser. One homemade and ...
0
votes
1
answer
101
views
I'm trying to zoom in on the user's location but it doesn't work
It's for a school project. No matter how much i've tried changing the value or the command it just loads the map and move only a little bit (not even zooming) it's suppoesd to be a running app that ...
0
votes
1
answer
63
views
OpenStreetMap Building Identification Tags
I've been working on a simulation using OpenStreetMap maps and need to determine if each building is residential or not. To do this I have been using the tag building each building has. The vast ...
Advice
0
votes
0
replies
90
views
How do I reference my own Openstreetmap tiles in Leaflet
I have followed the instructions for installing Mapnik, PostgreSQL, OSM2pgsql, etc as detailed here:
https://switch2osm.org/serving-tiles/manually-building-a-tile-server-ubuntu-24-04-lts/
However, the ...
1
vote
1
answer
126
views
API Key Required message in QML MapView even with valid key
I'm trying to show a map in a QML (Qt6) application.
This is my QML code:
import QtQuick
import QtLocation
import QtPositioning
MapView {
anchors.fill: parent
map.plugin: Plugin {
...
Tooling
1
vote
2
replies
93
views
Which Maps API (Ideally JS) offers the best street detail (Like Apple Maps mobile)
Apple maps on mobile has amazing street detail right down to bus stops and road lines, plus accurate street and pavement widths:
Interestingly though when using the Web API for Apple Maps I can't see ...
1
vote
0
answers
73
views
Adding a custom grid (GeoJSON / ArcGIS JSON) overlay to the OpenStreetMap Latest Value widget in ThingsBoard CE 3.5.0
I am using ThingsBoard CE 3.5.0 and visualizing my sensors (rain gauges and other devices) with the OpenStreetMap Latest Value map widget. I would like to overlay a custom grid on the map, either from ...
0
votes
1
answer
204
views
How to display Openstreetmap map on C# & WPF ? I only get black screen
In mainwindow.xaml.cs, I added a toggle button event to switch from current mode view to the interactive Open Google Streetmap view.
At the top I added:
using Microsoft.Web.WebView2.Core;
and then in ...
0
votes
0
answers
361
views
Using OpenStreetMap on Superset
I am trying to setup Apache-Superset, so that it uses OpenStreetMap instead of MapBox.
I am currently using Superset in their local Python Version (not the Docker one), I have modified the config.py ...
0
votes
0
answers
59
views
OSM Buildings viewer.remove() and viewer.destroy() not working propperly
I am kind of newbie at programming, so please bear with me...
So I am trying to dynamically add and remove objects from the OSMBuildings 3D viewer using JavaScript.
Short explanation:
I tried using ...
0
votes
1
answer
256
views
OSRM Indian map extraction fails on 32GB RAM system, partitioned zones still can’t create cross-zone routes
I’m trying to set up OSRM with the latest India map (india-latest.osm.pbf). My system specs are:
RAM: 32 GB
CPU: Intel i7 11th Gen (8 cores / 16 threads)
When I try to extract the map (osrm-extract), ...
