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.BindingList1[OSGeo.MapGuide.ObjectModels.LayerDefinition_1_1_0.GridScaleRangeType]' to type 'System.Collections.Generic.ICollection1[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 jng, 14 years ago

The IRasterLayerDefinition interface needs to be reworked to be similar to other interfaces that expose a collection of interfaces.

comment:2 by jng, 14 years ago

Resolution: fixed
Status: newclosed

Validation now functions with raster layers with submissions of r5558 and r5559

Note: See TracTickets for help on using tickets.