[mapguide-trac] #1591: Maestro 3 build#4 Verification of a layer that uses GDAL (i.e. raster images) throws an error

MapGuide Open Source trac_mapguide at osgeo.org
Thu Jan 27 05:07:24 EST 2011


#1591: Maestro 3 build#4 Verification of a layer that uses GDAL (i.e. raster
images) throws an error
--------------------------+-------------------------------------------------
   Reporter:  gabrimonfa  |       Owner:  jng
       Type:  defect      |      Status:  new
   Priority:  low         |   Milestone:     
  Component:  Maestro     |     Version:     
   Severity:  trivial     |    Keywords:     
External_id:              |  
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1591>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list