/r/openstreetmap
Questions and discussions for OpenStreetMap
/r/openstreetmap
So I've been trying to find a method to consistently query certain locations using a standard query format. My results should ideally contain the wikidata code of the location
I've been using this format of query:
[out:json][timeout:30]; area["name:en"="Ottawa"]["place"="city"];out;
When I use this query above to gather data about cities......it seems to work.
However if I use for countries
[out:json][timeout:30]; area["name:en"="Canada"]["place"="country"];out;
Then it does not work.
The only way I can make it work for countries is by replacing the "area" with "nwr".
But why? Isn't a country an area too just like a city? It is a designation of land.
What makes this more complication is that when I use "nwr", it now cannot query cities.......only countries. So I have no consistent standard way of querying both a country and a city.
Hi, i’m trying to reverse geocode a bunch of gps data from studies conducted from 2016-2019 to understand the semantics of places people visit. Things have definitely changed over the years especially after covid when a lot of businesses closed down. Is there anyway I could reverse geocode on historical data? Nominatim gilves me current data, so does ESRI and Google Places. Any idea if it is possible to do this and how I’d go about it? Thanks you so much!
What happened to the map layer ?
There's a area nearby that is part of a municipal park, adjacent to a community center. It's clearly seperated from the center (parking lot and fence). It's open to the air (no walls or roof, fence at the parking lot is chain link). It has a curated selection of local artworks that are not paintings; mostly sculptures, some abstract art. The sign for the area on the labels it a "Sculpture Garden."
How would you tag this? I'm leaning towards tourism=gallery building=no, as the wiki for gallery specifies that it's typically a building. Am eager for input and opinions.
What's your opinion on people marking ways in forests as lit=no, just because the app StreetComplete seems to ask and gamify it?
I think it is completely unnecessary because no one expects them to be lit anyway.
I am mapping my hometown historically with OHM and it is a blank canvas. I have highly detailed maps of the railroad, and have started there. Once done, I want to do roads, then buildings.
Should I have the data split amongst multiple .OSM (railroad, roads, buildings etc.), or just draw it in one? If I do draw in multiple .OSM's, how do I share nodes between them? What should I do if I want to do other towns?
Hi,
I'm considering getting parts to build myself an RTK receiver/antenna. Looks like I'd need a receiver shield/module (~150€) and an antenna (~50€).
Has anyone ever toyed with this? What is your experience?
Side question: do cheap USB thumbdrive-size GNSS receivers provide better precision than a smartphone receiver?
Thank you!
Hello, I'm new to OpenSourceMaps; I got into a project of making an atlas with subdivisons (I'll leave my post in r/geography at the end if anyone wants to check it outk, but beware of long rambling.) and someone recommended me OSM for it, and after taking a look it seems suitable but I don't really know how could I do he things that I need; I'll state them below:
-Getting maps of each of the 195 Countries of the world.
-Getting maps of each of the 3816 Subdivisions of the countries.
-Changing the type of map (Physical, Political and if possible one with timezones).
I could do it by hand with OSM but since I would rather not take 8247 different maps myself I'm asking what would be the best way to aproch this?
I'll leave the post in here for you to cehck out if you want:
https://www.reddit.com/r/geography/comments/1h000dc/making_a_map_atlas_expositionhelp_wantedtheorizing/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
Sory for bad english, not my first languaje; anyway, thank you.
EDIT: It seems to be back online again
I was just using JOSM a few minutes ago, and it was fine. However, the problem arose when I tried to download a plugin (that failed all 3 times I tried). I also tried to redownload the plugin list, and that timed out too. I went to josm.openstreetmap.de, and that timed out as well. Is anyone else having this problem, or is it just on my end?
Hello everyone,
I'm fairly new to editing OpenStreetMap, and would like to verify something before I go and completely edit an area. Near me there is an airport I am very familiar with that appears to have not been updated in some time in OSM, and I would like to completely remap it. Would it be frowned upon to completely delete everything and start from scratch? I've spent a few minutes trying to edit it, and the boundaries of everything are completely out of place. It seems like it would be much less work just removing everything and adding everything back piece by piece.
Thanks
What would be the best way to export out UK rail routes? I want the routes not the individual tracks but when I query routes I get few results. I’m totally new to all this so any info is appreciated
Hey all! My friends and I have been going on group rides lately, and I wanted to see if there's any way to make an algorithm or a search function that could help us find scenic or curvy/winding roads near us.
I figured using length, curviness, and route speed would be good indicators, but I have no clue how to actually make a search function viable that won't just return random coordinates that have nothing to do with the start or destination coordinates.
I considered making a machine learning model, but I can't see how even feeding it as many GPXs I could find and download from Calimoto would really help with getting any insightful outputs from the model.
Does anyone here have any suggestions on how I could possibly go about making something like this? If you have any insight, even a 'i don't think you can really get away with an un-optimization task' is helpful.
Here is some of the functionality I have been considering for this project:
-avoid tolls
-avoid highways
-avoid residential roads
-minimize traffic lights/stop signs
-preferences for route length, curviness, and average speed of all segments.
Hi guys, I've searched a lot for a good clean offline OSM windows viewer, but I haven't found one. I've searched through a lot of posts here on reddit, but still nothing. Maybe something from here https://wiki.openstreetmap.org/wiki/Software/Desktop ? The cleaner the app better (I don't need editing and if it had navigation it would be perfect). Thank you.
T
no buildings in this section of didcot has been mapped? and the buildings that are there dont match up and are totally the wrong shapes, not even just offset, its been built up for at least 20 years, any reason behind this?
Atm it's private, but i don't think that even the owners can open it.
Or is it forbidden like Google Maps.
I have a Youtube channel where I explore the UK.
I'd like to add public domain maps which I can get down to major roads with
https://www.mapsforeurope.org/explore-map/euro-regional-map
but I would like to add the route I walked at a more detailed level.
I'm OK with attribution but not the share-alike as I don't want the whole of my carefully crafted video up for grabs.
BTW I dont want to become a GIS but I have linux and dont mid downloading something simple.
We’re excited to announce the latest edition of our GeoDesk OpenStreetMap Toolkit, this time for C++. GeoDesk is a database engine specifically designed for OSM features, with an emphasis on fast queries and minimal hardware requirements.
This C++ library is lightweight (250 KB compiled), without any link-time dependencies. It supports Windows, Linux and MacOS. Its query engine runs entirely in-process, without any need for a database server or other external services. And, of course, it's free and open-source.
All you need to get started is an .osm.pbf
, which the GOL Tool turns into a compact database file (The full planet takes up less than 100 GB, imported in under an hour on any reasonably modern system).
Your application can then run queries such as this:
#include <geodesk/geodesk.h>
using namespace geodesk;
int main()
{
// Find all cities with more than a million inhabitants
Features world("path/to/world.gol");
for(Feature city: world("n[place=city][population >= 1000000]"))
{
std::cout << city["name"] << std::endl;
}
return 0;
}
Just like its Java and Python cousins, GeoDesk for C++ supports a wide range of queries (within()
, around()
, crossing()
, nodes of a way, members of a relation) and standard geospatial operations, such as computing areas and distances. For more advanced capabilities, you can also integrate it with the popular GEOS library.
This is still an early release, so it's far from polished. The core codebase has been powering the GeoDesk Python module for more than a year, but we're still refining the C++ API. As always, we're grateful for bug reports and other suggestions for improvement.
What's next?
If there is sufficient interest, we will also offer this library as a C API to enable foreign-function interface (FFI) integration. This would make it accessible to languages with FFI support, such as Go, Rust, Ruby and Perl.
We'll keep you posted on our progress. Thanks for your interest & support!
I had an interesting idea and wondered if there might be similiar projects already.
What if one would equip a high tech drone with all kinds of sensors that when flying would collect data and store it mapped to GPS data.
What if one would post-process the data into usable OSM data.
What if one would make an app for the drone flyer that showed exactly which areas were covered/need covering/coverings are becoming outdated....
What if one would write sophisticated software that would take the sensor data of the drone and approximate building structures, garden outlines, building colors, roof types, building heights, street types etc. etc..
Would this be a way to collect the type of data that to date is just too cumbersome to collect?
This all started when I tried to generate buildings based on OSM data for a real world approximation project Im doing. I found that all we have are rough foundation polygons. Only very rarely do people set the "levels" tag indicating how many levels the building has.
So I kind of wondered if we're not entering an era where this kind of data should be easily collected with the help of AI, drones and community effort.
Any ideas? Thoughts? I'd love some input
It suddenly became the same as standard map style ? wtf happened ?
Hello Redditors !
I am looking for a way to tag an road that has maxweight=3.5 only in backward direction.
Refering to my previous post, this is a node placed next to the headquarters of a big company in Oslo
Hi everyone,
I have started tagging the biggest contributors to global warming and environmental distaters. Not only oil refineries but also industrial production sites etc. Sites will be selected based on public statistics.
There are commonly three different recycle containers here, they usually come "together" in the same spot, but they are independent objects placed next to eachother and they collect different kind of materials according to their colour: would you lump them in a single node specifying which materials are collectively collected in the same area, or would you specify each container separately?
I guess it boils down to how much micromapping-prone one could be.. but personally I feel compelled to create a node for each independent container, also because usually they are placed next to indifferentiated waste containers (that I diligently map in an independent node under the amenity=waste_disposal tag anyway). Best practice suggestions?