[mapguide-trac] #1928: Maestro - XYZ SDF File Layer Prevents Map Save

MapGuide Open Source trac_mapguide at osgeo.org
Sat Jan 21 13:06:53 EST 2012


#1928: Maestro - XYZ SDF File Layer Prevents Map Save
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:  jng        
       Type:  defect        |      Status:  new        
   Priority:  high          |   Milestone:  Maestro-4.1
  Component:  Maestro       |     Version:             
   Severity:  major         |    Keywords:             
External_id:                |  
----------------------------+-----------------------------------------------
 With a SDF exported from Autodesk Map, connected and layered both
 .FeatureSource and .LayerDefinition validate OK.

 However, when saving a map (one that saved OK in earlier Maestro versions)
 an excpetion is thrown.  I stepped in to get a full stack trace and
 details also.

 Using Maestro\trunk

 [GisSharpBlog.NetTopologySuite.IO.ParseException] = {"Expected 'EMPTY' or
 '(' but encountered 'XYZ'"}

 {{{
    at
 GisSharpBlog.NetTopologySuite.IO.WKTReader.GetNextEmptyOrOpener(IList
 tokens)
    at GisSharpBlog.NetTopologySuite.IO.WKTReader.ReadPolygonText(IList
 tokens)
    at
 GisSharpBlog.NetTopologySuite.IO.WKTReader.ReadGeometryTaggedText(IList
 tokens)
    at GisSharpBlog.NetTopologySuite.IO.WKTReader.Read(TextReader reader)
    at GisSharpBlog.NetTopologySuite.IO.WKTReader.Read(String
 wellKnownText)
    at OSGeo.MapGuide.MaestroAPI.Http.XmlRecord..ctor(XmlProperty[]
 properties, WKTReader wktReader, XmlNodeList propertyNodes, String
 nameElement, String valueElement) in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI.Http\XmlRecord.cs:line 132
    at OSGeo.MapGuide.MaestroAPI.Http.XmlReaderBase.ReadNextRecord() in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI.Http\XmlReaderBase.cs:line
 208
    at OSGeo.MapGuide.MaestroAPI.Feature.ReaderBase.ReadNext() in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\Feature\ReaderBase.cs:line
 68
    at
 OSGeo.MapGuide.MaestroAPI.PlatformConnectionBase.GetSpatialExtent(String
 resourceID, String schema, String geometry, String filter, Boolean
 allowFallbackToContextInformation) in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\PlatformConnectionBase.cs:line
 1640
    at
 OSGeo.MapGuide.MaestroAPI.PlatformConnectionBase.GetSpatialExtent(String
 resourceID, String schema, String geometry) in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\PlatformConnectionBase.cs:line
 1544
    at
 OSGeo.MapGuide.ObjectModels.FeatureSource.FeatureSourceExtensions.GetSpatialExtent(IFeatureSource
 fs, String className, String geomProperty) in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\ObjectModels\FeatureSourceInterfaces.cs:line
 532
    at
 OSGeo.MapGuide.MaestroAPI.Resource.Validation.BaseMapDefinitionValidator.ValidateBase(ResourceValidationContext
 context, IResource resource, Boolean recurse) in
 E:\Projects\Maestro\OSGeo.MapGuide.MaestroAPI\Resource\Validation\BaseMapDefinitionValidator.cs:line
 193
 }}}

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


More information about the mapguide-trac mailing list