[fdo-users] Problem GeometryFactory + ApplySchema

Bohne thomas_bonsiepen at web.de
Thu Jul 4 07:19:39 PDT 2013


I'm having a strange problem with creating a geometry from text. Following
Method turns expected results..

 public static string Test()
            FgfGeometryFactory geomFactory = new FgfGeometryFactory();
            IGeometry geomTest = geomFactory.CreateGeometry("POINT XYZ(1.94
2.432 3.43)");
            return geomTest.Text;

After Executing an ApplySchema Command the same function creates Geometries,
but now the decimal Places of the Coordinates are missing? 

 applySchema.FeatureSchema = schema;
                    FeatureClassHelper.Test();//Returns POINT XYZ (1.94
2.432 3.43)
                    FeatureClassHelper.Test();//Return POINT XYZ (1 2 3)

I'm using FDO 3.5 libs, in VS2008, C#.

Any hints are welcome! 

View this message in context: http://osgeo-org.1560.x6.nabble.com/Problem-GeometryFactory-ApplySchema-tp5064106.html
Sent from the FDO Users mailing list archive at Nabble.com.

More information about the fdo-users mailing list