IGeometryFactory?

Jul 9, 2008 at 8:19 PM
Where do I get an instance of this? How is this used?

I am trying to declare a MsSqlSpatialProvider and a IGeometryFactory is the first parameter.

Thanks!
-Matt
Coordinator
Jul 10, 2008 at 9:38 AM
Hi Matt, here is some code from the asp.net layer which should help you out..
http://sharpmapv2aspnet.googlecode.com/svn/trunk/SharpMap.Presentation.AspNet/IGeometryServices.cs
http://sharpmapv2aspnet.googlecode.com/svn/trunk/SharpMap.Presentation.AspNet/GeometryServices.cs

then you can use:
IGeometryServices services = new GeometryServices();
IGeometryFactory factory = services.DefaultGeometryFactory

hth jd
Jul 20, 2008 at 5:34 PM
John, in this code, you indicate that the CoordinateTransformationFactory is not ready to go yet.   Is this something that is in process, or are we unable to do coordinate projection at this point?

I'm trying to test the new NTS build to see if the migration to JTS 1.8 solved all of the buffering topology scenarios that we were encountering.
Coordinator
Jul 21, 2008 at 1:53 PM
Hi Magnum4610, It is high on the list but as far as I know it has not been started yet. hth jd