<div>I see you already found the geotools parser, Mark Leslie did something similar for PostGIS.</div><div><br></div><div>My recommended API change that would be needed is to introduce "control points", and let the coordinate sequence be calculated as needed for code that wants the linear representation.</div><div><div>-- </div><div>Jody Garnett<br></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Sunday, 28 October 2012 at 11:49 PM, thomlep@gmail.com wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Hello List,</div><div><br></div><div>Wondering if there is any interest is representing, for example, the</div><div>following WKT as a true com.vividsolutions.jts.geom.CurvePolygon (a</div><div>fictional class at this point)</div><div><br></div><div>CURVEPOLYGON(</div><div>COMPOUNDCURVE( (-71.94167121 43.374997585, -71.189107737 43.649877633,</div><div>-70.106954417 43.570331116),</div><div>CIRCULARSTRING(-70.106954417 43.570331116,  -70.128927073</div><div>43.195053608,   -70.293721995 42.873839335),</div><div>                    (-70.293721995 42.873839335,  -71.298971018 42.708565557,</div><div>-71.94167121 43.374997585) ) )</div><div><br></div><div>This geometry is a polygon consisting of straight-line and arc segments.</div><div><br></div><div>We realize that geometric operations such as UNION, SUBTRACT, and</div><div>INTERSECT would not be supported (such as in PostGIS) , but having</div><div>them represented as classes would be helpful for moving us forward.</div><div><br></div><div>CircularString would be subclassed by LineString, and consist of</div><div>START_POINT ARC_POINT, END_POINT sequences in the underlying</div><div>Coordinate array.</div><div><br></div><div>WKTReader would read the above into a CurvePolygon,   Looks like we</div><div>already have a good parser in org.geotools.geometry.jts.WKTReader2 .</div><div><br></div><div>Any thoughts on this?</div><div><br></div><div>Thanks</div><div>_______________________________________________</div><div>Discuss mailing list</div><div><a href="mailto:Discuss@lists.osgeo.org">Discuss@lists.osgeo.org</a></div><div><a href="http://lists.osgeo.org/mailman/listinfo/discuss">http://lists.osgeo.org/mailman/listinfo/discuss</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>