Hi,
My map is behaving weirdly and I have run out of idea.. It would be much apprecited if you can help me on this.
I am using Navteq map data. I have tried my map with a few sets of map data, including Canada 2009Q2, Canada 2011Q2, Canada 2011Q4, German 2011Q3, Denmark 2011Q2, Sweden 2011Q2 data. My map draws the map images perfectly with Canada 2009Q2, German 2011Q3, Denmark 2011Q2, Sweden 2011Q2 data, but Canada 2011Q2, Canada 2011Q4 data. I have attached the screenshot where it's using the Canada 2011Q2, Canada 2011Q4 data (missing streets on some images). I have tried rebuilt the indexes a few times.. the same problem occurs.
I did find many lines of error message in my log file: "The Field name you want is not exist"
The above exception is thrown at the call mapEngine.DrawStaticLayers(bitmap, mapUnit); in my code.
And below is the stack trace from this exception:
at ThinkGeo.MapSuite.Core.GeoDbf.I0w=(Int32 Jkw=, String J0w=)
at ThinkGeo.MapSuite.Core.GeoDbf.ReadFieldAsString(Int32 recordNumber, String columnName)
at ThinkGeo.MapSuite.Core.MultipleShapeFileFeatureSource.EhY=(GeoDbf ExY=, String FBY=, IEnumerable`1 FRY=)
at ThinkGeo.MapSuite.Core.MultipleShapeFileFeatureSource.GRY=(String GhY=, String GxY=, String HBY=, List`1 HRY=)
at ThinkGeo.MapSuite.Core.MultipleShapeFileFeatureSource.HhY=(String HxY=, String IBY=, RectangleShape IRY=, List`1 IhY=)
at ThinkGeo.MapSuite.Core.MultipleShapeFileFeatureSource.GetFeaturesInsideBoundingBoxCore(RectangleShape boundingBox, IEnumerable`1 returningColumnNames)
at ThinkGeo.MapSuite.Core.FeatureSource.GetFeaturesForDrawingCore(RectangleShape boundingBox, Double screenWidth, Double screenHeight, IEnumerable`1 returningColumnNames)
at ThinkGeo.MapSuite.Core.FeatureSource.GetFeaturesForDrawing(RectangleShape boundingBox, Double screenWidth, Double screenHeight, IEnumerable`1 returningColumnNames)
at ThinkGeo.MapSuite.Core.FeatureLayer.DrawCore(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.MapEngine.6Bw=(Layer 6Rw=, Object 6hw=)
at ThinkGeo.MapSuite.Core.MapEngine.zxw=(IEnumerable`1 4xw=, Bitmap 5Bw=, GeographyUnit 5Rw=, Boolean 5hw=)
at ThinkGeo.MapSuite.Core.MapEngine.DrawStaticLayers(Bitmap gdiPlusBitmap, GeographyUnit mapUnit)
at WebMapServer.ImageService.DrawLayer(Bitmap& bitmap, String layerName, RectangleShape gRecShp, Int32 gimgWidth, Int32 gimgHeight, String sThreadNum) in C:\Source\gps\WebMapServer\ImageService.asmx.cs:line 1806
I am using WebEdition 5.0.0.55.
Thanks a lot for your help!
Lishan