1

I would like to create a grid cell of 0.5x0.5 degrees just for Africa. I am doing it with Menu Vector / Research Tools / Create Grid. However, when I go to select just Africa (extension of the grid) it is a bit difficult (as it can be in the picture). Any idea about how to solve it? I am trying to do it selecting in the attribute table the just African continent but I am still not able to solve it.

My last goal is to have a grid cell for the African Continent. I would like just to see the African Continent with the grid cell.

enter image description here

2
  • Could you specify your problem, what exactly is the issue with what you got so far? Is it too "wide" including not only continental Africa? What kind of country dataset do you use? Jul 12, 2021 at 15:17
  • I would like to restrict the grid cell just to the African Continent. The data that I am using is a layer of all the countries in the world.
    – OgeiD
    Jul 12, 2021 at 15:24

1 Answer 1

1

Select all african countries using the different selection tool QGIS offers (see screenshot). Hold Shift to manually add/remove single countries.

When done copy the selected countries Menu Edit / Copy features, than paste them: Menu Edit / Paste Features As.

Screenshot: selecting enter image description here

If you want to keep only the continent, without the countries as individual polygons, on the inserted layer apply Menu Vector / Geoprocessing Tools / Dissolve:

enter image description here

For some reasons, you might want to keep only the continent and not the islands. In this case, use Menu Vector / Geomtry tools / Multipart to singleparts. On the resulting layer, select the continent and use Invert selection (Ctrl+R) to select all islands. Then delete them (toggle editing mode).

And here you are with the continent left. By the way: by typing world into the coordinates box at the bottom of the window, you can load a shapefile-basemap. It is not editable, but you can copy it as described above:

enter image description here

9
  • Thank you so much Babel. I am trying to do it but I am not able. I do well the selection of the countries, but when I tried to copy features I do not find this command. I just see copy layer. Is it the same? On the other hand, is it possible to change the language of the QGIS? I have it in Spanish and I think it will be better if I can change it to English. Thank you again, I appreciate it a lot!
    – OgeiD
    Jul 12, 2021 at 17:01
  • 1
    See here for a translatation of english-language QGIS menu entries etc. into spanish: raw.githubusercontent.com/qgis/QGIS/master/i18n/qgis_es.ts - search for the english language term to find it's spanish translation: Copy features = Copiar objetos espaciales etc. See here for Copy features (my QGIS is in german): i.stack.imgur.com/xtW7S.png - and spanish help for an older QGIS version: docs.qgis.org/3.4/es/docs/user_manual/introduction/…
    – Babel
    Jul 12, 2021 at 17:06
  • Thank you for the links! I have looked in the tool box something call "copiar objetos espaciales" but it does not appear anything. Should I donwload some package?
    – OgeiD
    Jul 12, 2021 at 17:12
  • 1
    Not the toolbox! Menu edit. What menu points do you have?
    – Babel
    Jul 12, 2021 at 17:23
  • 1
    Try saving as Geopackage, but be aware of this: gis.stackexchange.com/questions/400740/…
    – Babel
    Jul 12, 2021 at 18:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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