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

Part of a Layer disappears when zooming in and appears when zooming out

Topics: SharpMap Project, SharpMap v0.9 / v1.x, WinForms Controls
Jun 23, 2009 at 7:31 PM

We've developed an application that uses Sharp Map to show different kind of layers (states, counties, rivers, roads...)

We are having some problems when showing for example the road layer. When we zoom in some lines of the layer disappear. If we zoom out again, the lines re-appear.

We tested the layer with arcview and with MapWindow and it worked fine. Then downloaded this demo and tried to open the layer and got the same layer behaviour.

Using SharpMap 0.9


Please Help.





Jun 24, 2009 at 11:55 AM

Hi Sebas, please try building the source code from the trunk and running that, cheers jd

Jun 24, 2009 at 8:46 PM
Edited Jun 24, 2009 at 8:48 PM

Hi spcarrozzo,  maybe the goemetry of the shapes need to be repair. You can do this with ArcView,  ArcToolbox -> Data Management Tools -> Features -> Repair Geometry

Jul 20, 2009 at 3:04 PM

Thanks guys. I've repaired the shape and worked just fine.

Now we've got a problem with a shape that can not be repair with ArcView but this is an issue for our shape supplier.


Jul 20, 2009 at 3:36 PM

Hi spcarrozzo, you may be able to repair the geometry by Buffering it with a distance of 0.0 hth jd