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

In this query

[out:csv(::id, ::type, name, "name:te", wikidata)];
area["boundary"="administrative"]["admin_level"="4"]["name"="Andhra Pradesh"]->.searchArea;
(   relation["boundary"="administrative"]["admin_level"="6"](area.searchArea);
    node(r:"admin_centre")->.result;
);
/*(._ ; > ;);*/
.result out;

The result shows only 666 admin_centres. There are actually 670 admin_centres with 668 distinct ones. The missing admin_centres are https://www.openstreetmap.org/node/3665399128 and https://www.openstreetmap.org/node/2408119848

asked 19 Jul '21, 07:59

arjunaraoc's gravatar image

arjunaraoc
26113
accept rate: 0%

edited 19 Jul '21, 08:00


I realised that relations with common admin_centre are present in output and there are 4 such duplicates

permanent link

answered 19 Jul '21, 11:57

arjunaraoc's gravatar image

arjunaraoc
26113
accept rate: 0%

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:

×128
×5

question asked: 19 Jul '21, 07:59

question was seen: 1,076 times

last updated: 19 Jul '21, 11:57

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