Hello,
does ThinkGeo supports something like this:
CURVEPOLYGON ((196374.26 401530.05, 196329.26 401485.05, 196374.26 401440.05, 196419.26 401485.05, 196374.26 401530.05))
Hello,
does ThinkGeo supports something like this:
CURVEPOLYGON ((196374.26 401530.05, 196329.26 401485.05, 196374.26 401440.05, 196419.26 401485.05, 196374.26 401530.05))
Rui,
I do not believe that Map Suite support CURVEPOLYGON object at the moment, but it does for POLYGON and other basic shapes of Well-known text such as POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON. en.wikipedia.org/wiki/Well-known_text
I am not sure what you need to do with CURVEPOLYGON specifically, but the string will work fine with POLYGON. See the code, below wher I create a PolygonShape using the your Well-know Text string for POLYGON:
PolygonShape polygonShape = new PolygonShape("POLYGON ((196374.26 401530.05, 196329.26 401485.05, 196374.26 401440.05, 196419.26 401485.05, 196374.26 401530.05))");
OK.
Curvepolygon is being returned by oracle’s MDSYS.SDO_GEOM.SDO_BUFFER(
Rui,
Thank you for pointing out where you get CurvePolygon from. I did some research on CurvePolygon and how to convert that type to Polygon which is supported by Map Suite. I found the open source OSGeo osgeo.org/ and more specifically on their discussion forum, there is this post osgeo-org.1803224.n2.nabble....09629.html. This post is about converting a CurvePolygon to a Polygon by approximating the curve points. I think you will find this helpful.