I am using QGIS to load a shapefile and extract the boundaries from the Valencia city in Spain. I execute my query using the QuickOSM plugin and I want only the polygons within the Valencia city. However, the QuickOSM plugin does not show this option to me.

I need the polygons in order to find a point inside the neighborhoods of Valencia. How can I extract only the polygons from a shapefile using QGIS?

enter image description here

1 Answer 1


Under Advanced uncheck Points, Lines, and Multilinestrings.


To convert the resulting multipolygon to single polygons open the Processing Toolbox, navigate to Vector Geometry > Multipart to singleparts, select the multipolygon as the input layer and choose a place to save the result. The result will be singlepart polygons.

  • by doing that I only extract a file with MultiPolygon, which I am already doing. I want a file with Polygon.
    – Felipe
    Jul 26, 2019 at 10:23
  • 2
    See my edit above. Jul 26, 2019 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.