-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
This is a small pet peeve of mine with regard to rgdal - is there a compelling reason to continue to force the user to provide the layer name when reading in data?
There isn't a technical reason within gdal to require this and in my experience most geometry files I've worked with only ever have one layer. It seems to me a more sensible approach is to make the layer name an optional argument and in the case of a single layer to just automatically return that object.
If more than one layer are present then the current error could be thrown, or alternatively throw a warning and return a list containing all layers.
Metadata
Metadata
Assignees
Labels
No labels