2 errors : 1) The WKT is incorrect. You don't need 2 open & closing parenthesis for a LINESTRING. Just one is enough : "LINESTRING(33.0 41.0 0,33.5 42.5 0, 33.9 41.9 0,33.0 41.0 0)"
2) Provided you use GDAL >= 1.7.0, you shouldn't use the Geometry(int eGeometryType, String wkt, byte[] wkb, String gml) constructor, which is really awkward to use and was kept only for backward compatibility. If you want to construct a geometry from a WKT string, you should pass 0 as the first argument, otherwise the geometry type will be used to create in your case a POINT EMPTY geometry. Use Geometry.CreateFromWkt() instead. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
