Why not ask your question on the new OpenStreetMap Community Forum?

hey, please i'm looking for the cities in my country "morocco" i tried a lot ,but i didn't find them please i need a help

asked 28 May '21, 11:13

assia's gravatar image

accept rate: 0%

edited 28 May '21, 14:21

TZorn's gravatar image



Please be more specific what you are trying to achieve and what you have already done. Please update (edit) your question with that information.

meta: firs asked in How do I extract the polygon location(lat, long) of a building?

(28 May '21, 13:03) TZorn

@TZorn hi, my question is like that : how can i get only the polygons of all cities from a specific country

(28 May '21, 13:55) assia

He specifically asked what have you tried so far! And what's exactly the problem...

(28 May '21, 14:36) H_mlet


I think this overpass query should be a good starting point.


permanent link

answered 28 May '21, 13:37

H_mlet's gravatar image

accept rate: 13%


@H_mlet thank u so much for your comment ,can u tell me please how can i use it , for example i want the cities in this country "morocco"

(28 May '21, 14:29) assia

You should comment instead of adding new "answers". And please try linked query, it does just that. And please read the documentation, to be able to ask specific question.

(28 May '21, 14:35) H_mlet
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 28 May '21, 11:13

question was seen: 801 times

last updated: 28 May '21, 15:21

powered by OSQA