4,414 questions
0
votes
0
answers
31
views
How to plot maps from `tigris` and `osmdata` on the same map in R
I'm having trouble plotting data from the tigris and osmdata packages on the same figure. The goal is to have highways overlaying administrative boundaries.
I have included sample code below. I do not ...
1
vote
1
answer
22
views
OSMnx geocode_to_gdf does not find ways and nodes by ID
Using OSMnx Library in Python, extracted a big geodataframe, with a lot of IDs in it.
From that GeoDataFrame i took some IDs, for example, an element with id: 263515466 with a "Way" type.
If ...
-2
votes
2
answers
44
views
How to adjust text inside a specific column of a CSV text file as shell script?
I have a CSV source file like this one.
id;kat;kat_de;kat_en;kat_sub_de;kat_sub_en;name;strasse;plz;gemeinde;landkreis;stellplaetze;emob;linien;website;phone;betreiber;oeffnungszeiten;vbn;x_wgs84;...
0
votes
0
answers
62
views
Ignoring InsufficientResponseError in OSMNX
I have a list of 2000 names of localities.
I Use OSMNX Library with OpenStreetMaps to get the administrative boundaries of these localities.
Here is the link to the File:
https://docs.google.com/...
0
votes
0
answers
20
views
Nominatim location searching not working on react native project
Earlier in my react native expo project, nominatim search query was working fine. But it doesn't return any location now. Below is the function doing the handleSearch.Thanks in advanced.
const ...
-1
votes
0
answers
31
views
how to use OSRM trip API to design a trip for points that have dependencies
I want to use OSRM Trip API (or other suitable API0 to get the best trip between points knowing that some points depend on other points
for example if we have 10 points, each point represent a ...
0
votes
0
answers
24
views
Text in Leaflet OSM route tab not showing in dark mode on my site
Coding Begginer here, I added a toggle between darkmode and then leaflet OpenStreetMap now I can't figure out why the text on my leaflet map isn't visible. Here's the images:
Is there any way to fix ...
-1
votes
0
answers
22
views
Is there a way to use Maps to control a route that doesn't go beyond country borders?
I'm working on a React project using Leaflet and OpenStreetMap to display routes between two points. However, sometimes the suggested route national borders into neighboring countries before returning ...
0
votes
0
answers
14
views
Find pattern in Openstreetmap using Python
I am working in python. My project's aim is to find a pattern on a network of streets. So for example, I define a "house" with edges and nodes like this
#Step 2: Define the house pattern
def ...
0
votes
0
answers
19
views
Is it possible to access values of tags from the current element of a foreach loop in Overpass QL
I am trying to get data of places with their population via OSM.
The first step was simply to get all nodes, ways and relations with a place and population value within the desired area. But I noticed ...
0
votes
0
answers
26
views
Expo OSM Map implementation
I want to implement a MapView into expo where I am using OSM as a source for free. The main thing I want is the display of the housenumbers on the map.
I am currenty using react-native-maps but with ...
1
vote
1
answer
32
views
Distance Discrepancy Between Latvia and Poland Round Trip Using Python’s scgraph Package
I came across a strange behavior, which I do not understand and might also be a bug. By coincidence, I found out that the distance in the rail network between Latvia and Poland is significantly higher ...
0
votes
0
answers
35
views
Optimization of Offline maps in React native app
I am building a react native app and I want to include maps from openstreetmap. The area of the map is quite large, about 80000 km^2. Normally I would just use Google maps API/React Native maps, but ...
0
votes
1
answer
36
views
OSMnx not showing amenities despite available data on OSM
I am using OSMnx in Python. I use features_from_place to load amenities. My code is as follows:
amenity = ox.features.features_from_place('centrum, Rotterdam,Netherlands', tags={'amenity':'restaurant'}...
0
votes
0
answers
12
views
Osm2po routing custom response
I have an osm2po service running on http://localhost:8888/Osm2poService/ when specifying two points and asking for the route between them this request is sent
http://localhost:8888/Osm2poService/?cmd=...