{"id":86670,"date":"2023-03-24T19:36:10","date_gmt":"2023-03-24T19:36:10","guid":{"rendered":"https:\/\/editor.mediahack.co.za\/databites\/?p=4"},"modified":"2025-11-17T17:42:01","modified_gmt":"2025-11-17T17:42:01","slug":"how-to-remove-features-from-a-qgis-map","status":"publish","type":"post","link":"https:\/\/outliereditor.co.za\/index.php\/2023\/03\/24\/how-to-remove-features-from-a-qgis-map\/","title":{"rendered":"Remove features from a map with QGIS"},"content":{"rendered":"\n<p>When you\u2019re working with maps there are often parts you want to remove. For example, most maps of South Africa will include Marion and Prince Edward Island, two small research islands more than 2,000km off the coast of mainland South Africa.<\/p>\n\n\n\n<p>In most cases when mapping South African data you do not want to include these two islands. Removing them is simple enough in QGIS. Here&#8217;s how.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources<\/h2>\n\n\n\n<p>This example uses a South Africa map with the islands mentioned included. You can download a copy here. Unzip that and use the .shp file for this example.<\/p>\n\n\n\n<p><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/secure.notion-static.com\/cddb500c-dcba-47ac-928a-6967b18c4e7a\/ZA.zip\">ZA.zip<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Open map in QGIS<\/h2>\n\n\n\n<p>Open QGIS and click Project\u2192New in the top menubar.<\/p>\n\n\n\n<p>This will create a new blank working area.<\/p>\n\n\n\n<p>Drag your shapefile into the main working area. You only need the .shp file for this exercise.<\/p>\n\n\n\n<p>You\u2019ll see the map listed in the Layers panel to the bottom left. And you\u2019ll see the map, and the islands, in the main window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/editor.mediahack.co.za\/databites\/wp-content\/uploads\/sites\/3\/2023\/03\/BaseMap-1-1024x800.png\" alt=\"\" class=\"wp-image-12\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Get into editing mode<\/h2>\n\n\n\n<p>To edit the map, click the selection tool in the top menu and then select mainland South Africa. It should look like this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/editor.mediahack.co.za\/databites\/wp-content\/uploads\/sites\/3\/2023\/03\/SelectingArea-1.png\" alt=\"\" class=\"wp-image-16\"\/><\/figure>\n\n\n\n<p>Now toggle the editing mode. You can either click on the editing button in the top menubar. Or right click on the layer in the bottom left Layers panel and select \u201cToggle Editing\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/editor.mediahack.co.za\/databites\/wp-content\/uploads\/sites\/3\/2023\/03\/EditingMode-1.png\" alt=\"\" class=\"wp-image-14\"\/><\/figure>\n\n\n\n<p>When you enable editing mode you\u2019ll see the various points of the map highlighted.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/editor.mediahack.co.za\/databites\/wp-content\/uploads\/sites\/3\/2023\/03\/EditingModeActive-1-1024x919.png\" alt=\"\" class=\"wp-image-15\"\/><\/figure>\n\n\n\n<p>To remove the two islands to the bottom right of the map, click on the Delete Part icon in the editing menubar. Then zoom in on the parts you want to remove and click inside the borders. You\u2019ll need to click one on each island to remove.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/editor.mediahack.co.za\/databites\/wp-content\/uploads\/sites\/3\/2023\/03\/DeletePart-1.png\" alt=\"\" class=\"wp-image-13\"\/><\/figure>\n\n\n\n<p>When you\u2019re done, click on the editing tool to de-enable editing. You\u2019ll likely be asked to save your layer, which you should do.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Export your map<\/h2>\n\n\n\n<p>You can either just save your project in QGIS for further work or you can export a copy. To export, right click the layer you created and select Export\u2192Save features as and save it in the format you need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two small research islands more than 2,000km off the coast of South Africa. When mapping SA data, you generally don&#8217;t want to include them. Luckily, it is simple enough to remove the islands in QGIS. <\/p>\n","protected":false},"author":1,"featured_media":86699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[447,448,1387],"tags":[449,450,451,452],"newsletter-post":[],"site":[],"class_list":["post-86670","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databites","category-how-to","category-the-outlier","tag-how-to","tag-mapping","tag-maps","tag-qgis"],"acf":{"big_number":null,"big_number_caption":null,"big_number_link":null,"big_number_background":null,"big_number_text_colour":null,"big_number_icon":null,"big_number_wide":null,"featured_chart":null,"flourish_chart_id":null,"flourish_sub_title":null,"flourish_chart_width":null,"is_newsletter_post":null,"post_style":null,"show_on_front":null,"link_through":null,"chart_url":null,"background_colour":null,"text_colour":null},"_links":{"self":[{"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/posts\/86670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/comments?post=86670"}],"version-history":[{"count":3,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/posts\/86670\/revisions"}],"predecessor-version":[{"id":89527,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/posts\/86670\/revisions\/89527"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/media\/86699"}],"wp:attachment":[{"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/media?parent=86670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/categories?post=86670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/tags?post=86670"},{"taxonomy":"newsletter-post","embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/newsletter-post?post=86670"},{"taxonomy":"site","embeddable":true,"href":"https:\/\/outliereditor.co.za\/index.php\/wp-json\/wp\/v2\/site?post=86670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}