This project has moved. For the latest updates, please go here.

Geography disappears when zooming/panning

Topics: SharpMap Project, SharpMap v0.9 / v1.x
Sep 25, 2012 at 4:15 AM

I’m trying to load Geography data stored in SQLServer2008/2012; the polygons disappear when zooming or panning

This problem happen only when I use “Geography”, using “Geometry” works fine

SharpMap.Data.Providers.SqlServer2008 data = new SharpMap.Data.Providers.SqlServer2008(constring, "countries", "geom", "ID", SharpMap.Data.Providers.SqlServerSpatialObjectType.Geography);

I am working with the file “countries.shp” you guys use in some of your demos.

I export the data to SQL Server using “Shape2sql” with SRID 4326

Please help