boku-ilen / geodot-plugin

Godot plugin for loading geospatial data
GNU General Public License v3.0
109 stars 19 forks source link

Implement all is_valid functions #29

Open kb173 opened 4 years ago

kb173 commented 4 years ago

Currently, these are only empty implementations. They should be implemented so that it can always be checked whether it is possible to call functions on an object (e.g. a database or an image), so that errors can be avoided. Examples of invalid states: Database with invalid path; image with no data (due to position outside of data range); layer with invalid name.

kb173 commented 3 years ago

Done and tested for Database and Layer; to be done for Images. Possibly also Features, if there's a case for that?