/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,768 Subscribers

0

Need Help with Overpass Turbo Query for Bangkok Hotels and Accommodations

Hi,

I'm new to using OpenStreetMaps, and I've been using ChatGPT to help me write the queries.

I’m trying to use Overpass Turbo to gather data for hotels, guest houses, apartments, hostels, and motels in Bangkok using the relation ID 92277. However, when I run my query, I get an empty output in JSON format. Here’s the JSON response I received:

{

"type": "FeatureCollection",

"generator": "overpass-turbo",

"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",

"timestamp": "2024-10-31T12:19:34Z",

"features": []

}

My query is structured as follows:

[out:json][timeout:120];

// Bangkok (relation ID: 92277)

relation(92277)->.searchArea;

(

node["tourism"="hotel"](area.searchArea);

node["tourism"="guest_house"](area.searchArea);

node["tourism"="apartment"](area.searchArea);

node["tourism"="hostel"](area.searchArea);

node["tourism"="motel"](area.searchArea);

way["tourism"="hotel"](area.searchArea);

way["tourism"="guest_house"](area.searchArea);

way["tourism"="apartment"](area.searchArea);

way["tourism"="hostel"](area.searchArea);

way["tourism"="motel"](area.searchArea);

);

out body;

>;

out skel qt;

Can anyone help me understand why I’m getting an empty result? Is there something wrong with my query? Any advice or suggestions would be greatly appreciated!

4 Comments
2024/10/31
12:24 UTC

6

Ocean is not captured using OSM within QGIS

How can I capture the ocean using the OSM addin in QGIS ? In some instances the water is displayed correctly in some it isn't. Here I filter for the water preset:

https://preview.redd.it/171f3oacmyxd1.png?width=2400&format=png&auto=webp&s=8caa5ab9b2fbaa1bcd4ae53e14272663b8a1276d

What can I do to capture all water areas ?

Update: This was the water preset

https://preview.redd.it/3kaj75t792yd1.png?width=1444&format=png&auto=webp&s=7d7dba7c9c0f31649b27c043b1f42ecbdddfce63

6 Comments
2024/10/30
21:15 UTC

1

How to download data for all countries, regions, provinces, cities, and POI worldwide

Hi! I'm starting a side project and need polygon data for all countries, regions, provinces, cities, and points of interest worldwide to use with Leaflet. Does anyone know how I could download this for free?

2 Comments
2024/10/30
19:00 UTC

1

Looking to batch generate map images (for print)

I am looking for a program to create a set of maps to print for guests to get around a small area.

I want 2 static points on the map and a third point will vary in each version of the map.

At the end I want 20 different maps with the first 2 points the same and third point different on all 20 maps.

Ideally I'd be able to add routing/directions to/from the points.

Any ideas of projects/programs that can do this?

6 Comments
2024/10/30
16:21 UTC

0

Guys, please, can you help me?

Hi, I'm new to overpass turbo, can you help me display the points of buildings on the map with the preparation of appropriate queries for
finding schools, kindergartens and clinics in (city, district).

2 Comments
2024/10/29
18:43 UTC

38

200+ hours of work deleted. How can I report this deletion and revert it to its original state?

Hello everyone.

Around 5 months ago, I worked on a small area of Dubai to improve the coverage in the area, changing a significant number of building outlines and adding tens of thousands of mission nodes, including missing pools, trees, fences, parks, paths, and increasing the detail of many models significantly through both satellite imagery and local knowledge from living there for over 10 years.

I recently went to check out of any changes were made recently to my data, and found that in quite a large area, which encompasses a solid 80% of my work, Every single node of type tree has been deleted. Some others nearby were kept untouched, but I’m talking thousands of nodes and entire months of work was wiped.

How can I know what person or bot caused this to report it and how can I revert this data, since it is unacceptable that all these hours of work get wiped. I spent way too much time and effort to make sure that all the data was precise and exact for it to be wiped clean randomly.

Any help is appreciated, I’ll gladly supply with more details if necessary.

11 Comments
2024/10/29
17:57 UTC

2

Issue with Gaia GPS, USFS trails vs OSM

I typically use Gaia GPS for most things, and I've edited OSM before to have the changes eventually push to Gaia so I can snap to the route I'm building. I have a lot of my data saved in Gaia, waypoints, photos, etc. I do a lot of hiking in the Southern US in National Forests. On this particular trail, it is a numbered/named FS trail (Counts Cabin), but it is only showing on Gaia, and not OSM. I am having trouble understanding why this trail is on Gaia and not OSM, and also where Gaia is pulling it from, if it is not on OSM. I can't even find it in the history list.

Trail starts at 37.24847, -82.42255; Counts Cabin Trail. See attached photos for Gaia vs OSM.

https://preview.redd.it/jp1poq2o4pxd1.png?width=1618&format=png&auto=webp&s=f5ed323dd4dcc4589ab0ac6ab87999ca9857c1ae

https://preview.redd.it/6nm42s2o4pxd1.png?width=1650&format=png&auto=webp&s=9d5f5fd2bbadb8f77aa28262e667e5652e30386e

1 Comment
2024/10/29
13:20 UTC

0

user randomly blocking me for trying to contribute

hi, i am a user on open street maps, and every time i try and save, it tells me that error your access to the api has been blocked, i believe i have done nothing wrong, but i do know for sure a user name glassman is to blame for this who lives in mount vernon, washington, he shouldn't be on here to begin with, because i had a look at his page recently and it told me he had apparently done this too many more fellow mappers, he needs to respect this space and learn that other fellow mappers in washington or elsewhere may be trying to helpfully add missing information, he is nothing but a bully, and prevents mappers from helpfully contributing for trivial matters as a year, if you at open street maps are hearing this, could you please ban his account indefinitely?, he also needs to learn that this isn't a competition for who can help the most and what not. i, every fellow mapper in washington, and elsewhere would really appreciate it if you at open street maps would take the extra measures to remove his account from the web interface or anything open street map related for a very long time.

7 Comments
2024/10/28
22:31 UTC

5

Help creating Overpass turbo query

Hello everyone :)

I've been testing from time to time whether ChatGPT can write an OverPass query (which I don't know how to do myself) for several months or even a year.

I always test the same thing, and it has never worked.

So I'd like to finally learn how to use OverPass Turbo by myself, but my “test query” is a bit complicated (at least for a beginner).

Could someone tell me whether this query is possible, and write it down for me so that I can use it as a basis for learning (in particular a double condition).

Here's my query: in the city of Lyon (France), I'm looking for a laundry that's both less than 100 meters of a school, and also less than 250 meters of 3 different tram stops.

Thank you very much!

7 Comments
2024/10/28
13:37 UTC

4

Combine GPS files and make it a nice map

Hi!

Not sure if this is the right subreddit, I just couldn't find anything specific for my question.

I have several GPS routes saved on my Polar watch that I can export. They are routes both from driving and walking (and 1 biking) from my trip.

I'd like to do the following:
- Combine them to 1 long route or file
- Smoothen it out. There are a lot of side routes, and the route is of course not 'smooth', due to all GPS points
- Make a nice-looking map-file with the entire route on it

The purpose for this would be to put the entire route of our trip in a photo book I'm creating.
Can anyone point me in the right direction of where I would get started? Is it possible what I want?

The final picture I'm looking for would be kind of a greyscale map. Not too detailed, but still possible to see the cities we went through.

Thanks in advance!

5 Comments
2024/10/25
12:56 UTC

3

How do I tag restrictions for non-street parking, such as car parks?

I have designated parking areas, such as car parks, that I want to add to OSM (in Germany). I want to tag restrictions like

  1. only cars and motorbikes are allowed to park;
  2. from Mo-Fr 8-18 h, parking is allowed for 3 hours using a parking disk (else, you can park as long as you want);
  3. overnight parking is not allowed (in general / only for campers).

I couldn't find that information either on the Parking or on the Tag:amenity=parking page.
I perused Street parking and Street parking/Advanced examples and noticed that the tag parking:both / :left / :right is used.

Do I simply leave out the :both / :left / :right part and tag it like this?

  1. Do I use the access tag? Do I instead useparking:motorcar = designated, parking:motorcycle = designated and some other tag to say that no other vehicle types are allowed?
  2. parking:authentication:disc = yes, parking:maxstay:conditional = 3 hours @ (Mo-Fr 08:00 - 18:00)
  3. parking:restriction:conditional=no_parking @ (23:00 - 05:00) / parking:restriction:motorhome:conditional=no_parking @ (23:00 - 05:00)
3 Comments
2024/10/25
09:54 UTC

4

ISO Mobile app to map political signs

Hello, I don't know if this is strictly OSM related but if anyone has an answer it's this group.

I am always fascinated by the geographical breakdowns of politics. Yard signs are about the only way to see this in any meaningful way, imperfect as it is.

I'm looking for an easy way to record waypoints as I drive the neighborhood so I can make a map of the local area. I've tried a handheld GPS which worked but was far too slow and not really safe while driving. Ideally an app that has a simple mark button(s) to record lat/lon GPX. Ideally it would have an easy way to switch between two waypoint symbols.

Thanks in advance.

8 Comments
2024/10/24
23:29 UTC

6

Strategies for creating routes with variants

This is not a question about route optimization

What is a good strategy for creating and naming routes with variants (and their respective "nodes") so that they can be easily used while hiking/cycling with a Garmin or similar device?

See for example the attached image. I want to go from A to C, ideally following ABC, but depending on terrain/weather/timing conditions I would take ABDC, ABDEC or ABDFEC. I have two linked questions:

  1. How do you name the different routes and nodes? I can think of scalable (and tedious) nomenclature strategies for the different transects, but I don't want to tackle this as if it was a graph theory problem...
  2. How do you create the routes? I can think of these different options:
    1. Create a different route for each pair of nodes (i.e. AB, BC, BD, DC, DE, DF, FE, EC).
    2. Create all possible routes that go from A to C (i.e. ABC, ABDC, ABDEC, ABDFEC).
    3. Create ABC and the variants (i.e. BDEC, DFE and DC). This is what I typically do, but this gives the problem of being complex to compute the distance/time left if you follow variants. For example, you won't know the distance of the route BDFEC or BDC.
    4. Create a route that passes through all the nodes. I don't see how this would be practical.

https://preview.redd.it/jusa91jjqiwd1.png?width=937&format=png&auto=webp&s=2fc5299e3a29eb2c145cf72c6b90850fb1914c7e

1 Comment
2024/10/23
14:51 UTC

3

Finding city districts maps in geojson or svg format

I am building a map quiz website, and I am trying to find map data for the borders of districts / boroughs / wards / neighbourhoods etc of cities. I am interested in data for pretty much any cities with a population of more than 200 000 people.

I need the data in some kind of vector or map format such as geojson or svg. Where is the best place to get such data?

2 Comments
2024/10/23
11:03 UTC

0

Geoportal Developer

I am looking for hire part time full stack developer with php laravel experience to contribute development on my project.

We looking to deploy and develop the portal with Geoserver to manage poi’s and editing them in OSM. Moreover, there is a need for UI/UX to be associated.

We need experts only please. DM me if you have such experience.

1 Comment
2024/10/23
00:39 UTC

2

How to edit/view .PBF?

Hi guys I need to view and edit a small aerea portion of map, I downloaded the PBF. Do you know if is there any free windows app that allows me to view and edit the map (add/remove streets, change accessibility permission) and export the output PBF? Thanks for help 😌

3 Comments
2024/10/22
20:49 UTC

3

Trying to count zebra crossings and only in Copenhagen I don't get any

I'm using overpass turbo to count zebras in europe and strangely only in Copenhagen no matter what convention I use I get zero results! Any hints? I'm new to OSM

node["highway"="crossing"]["crossing"="uncontrolled"][(area.searchArea);

https://overpass-turbo.eu/s/1SWL

18 Comments
2024/10/21
01:20 UTC

2

How is data stored in openstreetmap

I want to implement the algorithm for finding the closest route on the map using fpga and for that I need to find where the map data and also the algorithm are being stored.

If someone could help, or if someone has any ideas or suggestions, I would be really grateful.

5 Comments
2024/10/20
16:18 UTC

0

is there any difference in speed using the overpass api with regex queries

if i use a regex is it going to be faster or slower than just listing each tag using the overpass api

  • from a flutter app using dart.

this is just a selection, i actually query around 30 tags

      way($location)["railway"="narrow_gauge"];
      way($location)["railway"="rail"];
      way($location)["railway"="tram"];
      way($location)["railway"="monorail"];
etc

      way($location)[railway~"^(rail|tram|narrow_gauge|monorail|light_rail|funicular)\$"];
2 Comments
2024/10/20
10:00 UTC

4

Bus Stops do not show

I used OSM data of bus stops for a project recently. Some stops were missing in the dataset so I thought I would map them. The stops turned out to be mapped already but would not show in the rendered map or the dataset I downloaded. Why would they not be included in the dataset or render even though they seemed to be mapped correctly?

10 Comments
2024/10/19
20:52 UTC

3 Comments
2024/10/19
14:43 UTC

1

How to create a custom map using OSM data?

I would like to create a custom map using OpenStreetMap data, particularly about streets and neighborhood outlines. I would like to make each neighborhood appear in a particular color or something. Is there a way to do this?

7 Comments
2024/10/18
23:10 UTC

4

is there a standard rule for polygon inner and outer directions.

is the rule used for combining polygons evenodd or is it a winding rule with the outer lines going clockwise and the inner lines going anticlockwise?

I am trying both evenodd and winding and changing the directions of the winding in code so that all the outer polygons are clockwise, but i may have redundant code if its common to use evenodd..

10 Comments
2024/10/18
16:08 UTC

3

Request fro review Maproulette challenge for Antalya

As a resident of Antalya, I've identified several areas where the map can be enhanced to better reflect the current state of the city.

I kindly ask community to review those challenges I've created before I make them discoverable.

https://mpr.lt/c/49416 https://mpr.lt/c/49433 https://mpr.lt/c/49439

0 Comments
2024/10/18
09:37 UTC

1

Poland Export Broken?

I need to export part of Warsaw to create a site plan and no mater how small or big the export area is it takes ages to load in illustrator or rhino (if it even loads) mostly it crashes. However if I try to import a area of simmilar size or much bigger from a location in Germany it loads in seconds. Both are very urban and have about the same density. Is this a known problem or what can i do to get the polish data?

The file size for the pdf/svg for poland is also much bigger even though it has the same/less information.

1 Comment
2024/10/16
20:56 UTC

Back To Top