Help on version decision

Topics: Data Access, SharpMap v0.9 / v1.x, SharpMap v2.0, WinForms Controls
May 12, 2009 at 11:21 AM

Hi

In order to decide which version of sharpmap fits our project, I need a bit of help:

We will be using Sharpmap to display and edit map layers in Windows Forms. Our requirements make some functionalities mandatory, some optional. Could you give me some feedback on how each version (0.9 / 2.0) fits with these functionalities:

  • Display WMS (mandatory):
    Works both in 0.9 and 2.0 right?
  • Display WMS-T (optional)
    To display tiled raster map backgrounds
  • Display and Edit WFS-T (optional)
  • Display and edit System.Data.DataTable based set of features as Layer in map (mandatory).
    DataTable will have a WKT or WKB field to represent the geometry
  • Display and edit System.Data.DataTable based set of Points as Layer in map (optional).
    DataTable has x and y columns to define the Point's geometry
  • Select Features on the map and show them as Selected (mandatory)
    DataSource for Features is again System.Data.DataTable
  • Map Tools plugin Framework to create Tools that interact with the map (optional)

Thank you

Oliver

Coordinator
May 12, 2009 at 3:00 PM

Hi Oliver,

v2 doesn't currently have any raster support or wms/wfs client support so I guess is precluded from your project.

Either will allow you to manipulate data is a FeatureDataTable (inherits System.Data.DataTable) persisting your changes to a storage medium will require more work in 0.9 as none of the providers are writable.

0.9 doesn't really have the concept of selected features but you could easily work something out here. Theming will allow you to render a set of features differently to another set in the same layer. v2 does have this concept.

MapTools for 0.9 are not really pluggable as is - but again it would be a fairly easy mod http://sharpmap.codeplex.com/Thread/View.aspx?ThreadId=42059 may help. v2 tools are pluggable.

hth jd

May 13, 2009 at 6:18 AM

Thank you John

This sure helps. Without wanting to raise your hopes to high... Do you have already a clear Concept on how v2 WMS raster support should work?

Asking because we have two options:

  • Add WMS raster support to v2 as donation
  • Go with 0.9

 

Cheers

Oliver

 

Coordinator
May 13, 2009 at 9:56 AM

Hi Oliver, conceptually it is clear, however we are currently writing a new rasterizer ( http://sharpagg.codeplex.com ) to replace GDI, until this is done it is unlikely we will look at implementing any raster datasets.

You may also be interested in Pauldendulk's project, brutile, http://www.codeplex.com/brutile which we will eventually try and incorporate as a wms tile cache

cheers jd