Add the world exclusive economic zones shapefile from World Maritime Boundaries v8
→ This results in two errors that are caused by empty geometries in the shapefile, and 741 warnings because the attributes are not understood. None of this is crucial, but it would be nice not to see these errors and warnings every time we open a project with this data.
Save the project and re-open it. The read errors and warnings are back.
Remove the shapefile from the project layer list, save the project again, and re-open. The shapefile read errors and warnings are still here. So the shapefile cannot be removed and will get loaded even though we removed it.
How do I properly remove shapefiles from a GPlates project?
You might be using Delete layer in the Layers dialog. You can instead use the unload button in the Manage Feature Collections dialog which will remove the Shapefile and also remove it from the Layers. And then save the project.
Yes I think they are features with no geometry. In this forum topic another user had that particular error. Ultimately those features with no geometry would need to be removed from the Shapefile to avoid the pop-up errors. Alternatively you could save the Shapefile as a GPML(Z) file using Save As in the Manage Feature Collections dialog, and then save the project. Then upon reloading the project it should no longer pop-up errors.
This is because the GPGIM_TYPE or TYPE Shapefile attribute is used by GPlates (by default) to determine the type of the features being loaded. The Shapefile in question contains the TYPE attribute, but it is used for something else. When you first load the Shapefile you can instead map a different attribute to the GPlates feature type (ie, use something other than TYPE). You may first have to first delete the World_Exclusive_Economic_Zones_Boundaries.shp.gplates.xml mapping file (since it’s already been mapped). When the attribute mapping dialog then pops up (upon loading) you can set it to something like <none>. However that will just cause different warnings (because GPlates still needs to know the feature type one way or another).
Indeed, you correctly pointed out that I utilized the delete layer option in the Layers dialog. In the future, I’ll be sure to use the Manage Feature Collections instead.
The warnings associated with the Type are understandable. However, the two errors in question are somewhat open to discussion. They stem from two Line objects (out of the total 743) that have empty coordinate lists. Evidently, retaining objects that essentially shouldn’t exist is illogical. Nevertheless, tools like QGIS handle such objects – if there’s nothing to display, then nothing is displayed, without an error message.