2

I realized that by typing "world" in the coordinate display at the bottom and pressing Enter there'll be a new world shapefile layer generated.

input

I edited the shapefile manually without knowing that is the same map used in displaying region for setting CRS. Any solution to revert the edited shapefile into the original map?

the distorted map

3
  • 7
    It's not a shapefile. It's a geopackage feature layer. Download github.com/qgis/QGIS/blob/master/resources/data/world_map.gpkg and overwrite the existing world_map.gpkg in QGIS dir/resources/data
    – user2856
    Commented Jun 22, 2021 at 3:12
  • 3
    Sounds like an answer @user2856 - feel free to post as one.
    – Erik
    Commented Jun 22, 2021 at 6:47
  • 1
    That's strange: the map is in the installation folder, so normally, you should not be able to just edit this file. In my case, when I load this map as polygon layer, I'm not even able to toggled editing mode - I first have to export the file to another destination. So probably someting with writing permissions on your installation folder is not OK, what could probably cause some security issues.
    – Babel
    Commented Jun 22, 2021 at 13:01

1 Answer 1

4

It's not a shapefile. It's a geopackage feature layer. Download github.com/qgis/QGIS/blob/master/resources/data/world_map.gpkg and overwrite the existing world_map.gpkg in QGIS dir/resources/data.

I'm not sure why you were able to edit it. You may have installed QGIS in a user-writable location.

1
  • Were my edits irrelevant? :)
    – Taras
    Commented Jun 23, 2021 at 18:03

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.