Where is the shape data type?

Topics: General Topics, SharpMap v0.9 / v1.x, SharpMap v2.0
Nov 2, 2009 at 2:08 PM
Edited Nov 2, 2009 at 2:10 PM

Sorrry, this is probably a very simple problem, but I can't spend any more time searching for the answer, hopfully someone can help...

A layer is a List of Shapes:

List<Shape> layer = new List<Shape>();

But I can't find the Shape Class anywhere in the sharpmap code.

Could someone point me towards it (I'm building with the latest, but also tried version 0.9)




Nov 2, 2009 at 2:50 PM

There is no Shape type in SharpMap.. My guess is that you are copying juandoneblo's VE code... hth jd

Nov 2, 2009 at 2:58 PM

Good guess!

I am using his code.. I take it there is an alternative method?

Is a layer a list of FeatureDataRow (in ogr a layer is a list of features)?

Or a list of Geometries.Polygons/Lines/Points?

Nov 2, 2009 at 3:42 PM

It isn't really either - It is an object that has access to a store of Geometries - not the store itself.. hth jd