NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
1

Hi! I've wrote a small application for getting a streets list for some city. First I've used a Odessa city. All was good. But after 3rd april OSM database was changed and my application is not working now. How these changes can be reverted? I've used Overpass API for getting a streets list. Now "node["name:en"="Odesa"]" returns a empty JSON object...

My request (he was working early): http://overpass.osm.rambler.ru/cgi/interpreter?data=[out:json];node["name:en"="Odesa"];relation(around:1000)["admin_level"="8"];foreach->.a((way(r.a);node(w);););out;

Thanks, Nikolay

asked 07 Jun '12, 09:46

Nikolay%20Druchaty's gravatar image

Nikolay Druc...
26225
accept rate: 0%

closed 08 Jun '12, 09:43

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108

1

Btw, do you know MapOSMatic (http://maposmatic.org/), a free, open-source online application generating streets directories and maps or booklets ?

(08 Jun '12, 08:59) Pieren

The question has been closed for the following reason "Problem solved" by Jonathan Bennett 08 Jun '12, 09:43


Seems like the place node still contains the name:en=Odesa tag, nothing wrong about the data. However the history shows it has been deleted and restored later, might this be the source of the problem? I don't know if your query is correct, though.

permanent link

answered 07 Jun '12, 14:46

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

My query is correct. But after deletion of node I suggest that all relations for this node was deleted also. So, seems like should be restored all relations for this node. I've received a good results before deletion - over 1400 streets for Odessa city. But now I can receive only several streets...

(07 Jun '12, 15:57) Nikolay Druc...
1

You mean this relation? Before the deletion of the Odessa place node it has been a member of this relation with role admin_centre, now it isn't part of the relation any more. You might want to add it again.

(07 Jun '12, 17:02) scai ♦

I think this relation is problem. But I don't know how to add Odessa node to this relation... If you can, please do this. Thanks.

(07 Jun '12, 20:08) Nikolay Druc...
1

I've added it, wait until the Overpass API server updated its database and try your query again.

(07 Jun '12, 20:14) scai ♦

Alex, thanks a lot!!!

(07 Jun '12, 20:17) Nikolay Druc...

You are welcome, Nikolay. Seems like your query is working again.

(08 Jun '12, 08:17) scai ♦
showing 5 of 6 show 1 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×118
×12
×11

question asked: 07 Jun '12, 09:46

question was seen: 4,548 times

last updated: 08 Jun '12, 09:43

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum