ArcGis Runtine vs SharpMap vs DotSpatial.

Topics: SharpMap Project, SharpMap v0.9 / v1.x, SharpMap v2.0
Feb 9, 2012 at 8:47 AM
Edited Feb 9, 2012 at 8:48 AM

I want to start a project with the following requierment :

 API .NET (>2.0) with
 Dynamic layer with display of custom object.
 Capacity to customise symbol
 Capacity to display polyline  above maps coherent with current projection
 Capacity to select object with mouse and have contextual menu
 Capacity to handle GeoTIFF, ESRI ShapeFile and VMAP 0 
 Capacity to change the current projection and handle cylindrical projection (UTM/Mercator) and conical projection (Lambert)
 Capacity to create customize Maps with raster and vector.
 Capacity to communicate with PostGIS

Then I want to confront commercial solution like ArcGis Runtine and Open Source Solutions like SharpMap or DotSpatial. 

 

Could you give me some advice or a return of experience ? 

Coordinator
Feb 13, 2012 at 2:45 PM

From my perspective your questions could be answered like this:

  • API .NET (>2.0)
    SharpMap currently targets full .Net40
  • Dynamic layer with display of custom object.
    This can be achieved using VariableLayerCollection
  • Capacity to customise symbol
    Can be achieved using either Theming or Symbolizer namespace
  • Capacity to display polyline  above maps coherent with current projection
    You can use either Proj.NET or DotSpatial.Projections to reproject your vector layers on the fly
  • Capacity to select object with mouse and have contextual menu
    Yes
  • Capacity to handle GeoTIFF, ESRI ShapeFile and VMAP 0
    With the help of GDAL/OGR all this is possible
  • Capacity to change the current projection and handle cylindrical projection (UTM/Mercator) and conical projection (Lambert)
    Yes
  • Capacity to create customize Maps with raster and vector.
    Yes
  • Capacity to communicate with PostGIS
    Yes

To be fair, all providers are read-only. If you want to edit features you need to come up with your own solution or use SharpMap v2.

I havn't used any ESRI product so I cannot provide a comparison at all.

Hth FObermaier

Coordinator
Feb 13, 2012 at 11:08 PM

For "Edit Feature" functionality you can check the following branch: https://sharpmap.svn.codeplex.com/svn/Branches/0.9.5-DeltaShell/. It will give an idea how edit functionality can be implemented, however you will need to hack a bit to make it work with trunk or use that branch version. This branch is not merged into trunk/ yet.

Try to run 0.9.5-DeltaShell\test\Common\SharpMap.UI.Tests\Tools\NewLineToolTest.cs NewLineTool, you should be able to draw a polyline, then select CurvePoint tool to select and move vertices. You can also select multiple vertices with Ctrl and press Del to delete selected vertices.

Gena