Search code examples
gisopenstreetmapqgis

How to extract the city from the complete map of country in QGIS?


I want to ask how can I extract and filter the Karachi city from the whole map of Pakistan?

enter image description here


Solution

  • If you have an attribute with this information, you can do a selection by attribute ("select feature using an expression" in QGIS).

    Then you can save this selection as a new layer.

    If not, you can create another layer representing your area of interest (is it the yellow circles in the image you provided?) and intersect it with your original layer.

    NB: This question should rather be on the GIS dedicated forum.