/r/openstreetmap

Photograph via snooOG

Questions and discussions for OpenStreetMap

Primary resources

Don't know what to map?

  • Maproulette - small tasks from beginner to expert level
  • Pic4Review - improve OSM with street level photography
  • MapComplete - maps about a single topic, where you can answer questions and add new points
  • StreetComplete Android-app to answer questiosn

Other links

Humanitarian mapping

/r/openstreetmap

16,907 Subscribers

1

Why am I able to query cities with the 'area' keyword but not countries?

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.

0 Comments
2024/12/02
05:17 UTC

2

Reverse geocode based on historical data?

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!

0 Comments
2024/12/02
04:15 UTC

0

Why is the humanitarian map layer stuck on standard now ?

What happened to the map layer ?

1 Comment
2024/12/02
00:51 UTC

7

How to tag a "Sculpture Garden"?

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.

3 Comments
2024/12/01
00:30 UTC

2

Opinions on marking forest trails as lit=no

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.

24 Comments
2024/11/29
20:10 UTC

6

JOSM Mapping From Scratch Best Practices-Multiple .OSM's or One?

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?

8 Comments
2024/11/28
14:47 UTC

5

questions about DIY RTK kits and simple USB GNSS receivers

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!

4 Comments
2024/11/28
12:50 UTC

2

How could I get a map of the World Countries/Subdivisons?

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.

16 Comments
2024/11/26
19:45 UTC

0

JOSM server down?

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?

2 Comments
2024/11/26
02:47 UTC

26

Is it frowned upon to completely restart an area?

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

16 Comments
2024/11/25
22:50 UTC

6

UK rail routes

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

10 Comments
2024/11/25
20:11 UTC

1

Motorbike leisure route using machine learning

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.

2 Comments
2024/11/25
20:00 UTC

6

A clean viewer app

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.

4 Comments
2024/11/25
11:01 UTC

6

What are some cool/unique map layers ?

T

2 Comments
2024/11/24
22:39 UTC

3

North part of Didcot not mapped at all?

https://preview.redd.it/0y2e5r3ntv2e1.png?width=1132&format=png&auto=webp&s=a54e5bccf4eb9e5c784e68925ec2901bdae81d1f

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?

13 Comments
2024/11/24
17:12 UTC

3

What acces should i give to a door that cannot be opened (like at all)?

9 Comments
2024/11/24
15:13 UTC

2

For my brussels friends: can Bruciel data be used to help mapping?

Or is it forbidden like Google Maps.

0 Comments
2024/11/24
14:41 UTC

0

Public Domain version of Open Steetmap for my Youtube Channel

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.

13 Comments
2024/11/23
16:27 UTC

15

GeoDesk for C++: Query OSM Data at Lightning Speed

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!

0 Comments
2024/11/23
13:03 UTC

11

Are there projects out there that seek to generate OSM data?

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

15 Comments
2024/11/22
18:04 UTC

13

What happened to the humanitarian map

It suddenly became the same as standard map style ? wtf happened ?

7 Comments
2024/11/21
23:34 UTC

3

Maxweight=3.5 only backwards

Hello Redditors !

I am looking for a way to tag an road that has maxweight=3.5 only in backward direction.

7 Comments
2024/11/21
17:15 UTC

0

What about something like this?

https://preview.redd.it/cdmxy4cec92e1.png?width=462&format=png&auto=webp&s=babc2364d40054b87d8262f4deeb00009c720785

Refering to my previous post, this is a node placed next to the headquarters of a big company in Oslo

2 Comments
2024/11/21
13:36 UTC

0

I want to tag the biggest contributors to global warming

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.

  1. Any recommendations for categories? Cant find any appropiate ones, which honestly is pretty disappointing.
  2. Anyone wants to join?
5 Comments
2024/11/21
12:33 UTC

10

amenity=recycling when multiple containers next to eachother: do you bulk them up in a single node, or do you dedicate a node for each container?

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?

10 Comments
2024/11/21
11:17 UTC

Back To Top