Skip to content

Geodms gdalwrite.vect geometry item write failure with name other than "geometry" #999

@eoudejans

Description

@eoudejans

A compatibility check is performed between geodms dataitem value types and the supported value types by the specific gdal driver, ie GPKG. In case when naming the geometry dataitem "geometry" this compatibility check is rightfully ignored. However, naming the geometry item other than "geometry" causes a write failure as the value type of for example FPoint can not be matched against any of the supported value types for the dataitem table of any gdal driver's.

config: geodms-test/storage/cfg/regression.dms
item: /EsriShape/polygon/Write

V17.4.6
Image

V18.0.1
Image

Eventhough this should have been picked up during regressiontesting, this was not the case. This item was written to:
C:\LocalData\storage\regr_results\Polygon
Whereas C:\LocalData\Regression\ was cleared before every test

Hence the tested polygons were written to before the geodms and gdal driver value type compatibility test was added.

Metadata

Metadata

Labels

invalidThis doesn't seem righttiny issueWork-load: probably tiny

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions