SharpMap DemoWinForm - cities.shp

Topics: WinForms Controls
Apr 24, 2007 at 5:29 PM
Hi to all,
i wanted to write a small .NET/C# application that is using sharpmap control. For a presentation i wanted to use the demo shp files countries and cities. If I try to add the layer cities - nothing happens: he doesnt add this layer (the layers list stays empty). Layer countries and rivers - no problem.
Had somebody else this problem? Which solution have you found? Is the cities shp corrupt?
Best regards and thank you for this great work,
Mastroyani
May 14, 2007 at 4:12 PM
I used the DemoWinForm Project to test SharpMap 2.0 with cities.shp.
Had someone else such a problem?
May 14, 2007 at 11:25 PM
You mean the 2.0 alpha available on this site or the v2 downloaded by SVN repository on google code?
Are you using ShapeFile provider or Ogr?
I used source code from this site and using ShapeFile provider works (Ogr provider seems not, I should investigate further, probably the issue is related to spatial indexing).