Opened 14 years ago
Closed 14 years ago
#1591 closed defect (fixed)
Maestro 3 build#4 Verification of a layer that uses GDAL (i.e. raster images) throws an error
Reported by: | gabrimonfa | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Maestro | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
The layer uses a datasource made with GDAL (i.e. is a raster images). The layer displays correctly in the map and gives no problem at all
Validating resource: Library://ctr_10k.LayerDefinition
Error - OSGeo.MapGuide.ObjectModels.LayerDefinition_1_1_0.LayerDefinition: Failed in validator:
cannot cast from type 'System.ComponentModel.BindingList
1[OSGeo.MapGuide.ObjectModels.LayerDefinition_1_1_0.GridScaleRangeType]' to type 'System.Collections.Generic.ICollection
1[OSGeo.MapGuide.ObjectModels.LayerDefinition.IGridScaleRange]'
The error message is a bit shorter under Mono:
Validating resource: Library://ctr_10k.LayerDefinition Error - OSGeo.MapGuide.ObjectModels.LayerDefinition_1_1_0.LayerDefinition: Failed in validator:
Cannot cast from source type to destination type.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The IRasterLayerDefinition interface needs to be reworked to be similar to other interfaces that expose a collection of interfaces.