Mario, Actually Mark L just fixed the bug in trunk (and he is patching the fix into 1.4 and I believe 1.3 as well). So it will be fully functional in PostGIS 1.4 probably due out next week and 1.3 about a month later.
st_curvetoline has always worked with curve polygons (with either circularstring or linestring like inner rings) and converts those to regular polygons even if they have holes (the name is a bit confusing http://postgis.refractions.net/documentation/manual-svn/ST_CurveToLine.html ) but for 1.4 and 1.3, it will very shortly work for curve polygons with compound curves. It hasn't been really stress tested, so feel free to test it when it comes out. Here are related bug tickets just recently patched http://trac.osgeo.org/postgis/ticket/213 http://trac.osgeo.org/postgis/ticket/212 Hope that helps, Regina -----Original Message----- From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Mario Jurcevic Sent: Tuesday, June 30, 2009 3:09 AM To: 'PostGIS Users Discussion' Subject: Re: [postgis-users] compundcurve in polygons is supported in 1.4 Hi, thanks very much I really need this datatype. Will be possible to create polygons with multiple rings of compoundcurve? A function like stcurvetoline with the interpolation of arcs will be available for the polygons too? Thanks Mario -----Original Message----- From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Paragon Corporation Sent: lunedì, 29. giugno 2009 04:03 To: 'PostGIS Users Discussion' Subject: Re: [postgis-users] compundcurve in polygons is supported in 1.4 Actually I think I spoke too soon on this one. Still apparently some issues here. -----Original Message----- From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Paragon Corporation Sent: Sunday, June 28, 2009 9:42 PM To: 'PostGIS Users Discussion' Subject: Re: [postgis-users] compundcurve in polygons is supported in 1.4 Mario, Sorry for no one getting back to you. This is actually available in the upcoming PostGIS 1.4 due out within the next 2 weeks. I had to test it to verify myself. So yes as of PostGIS 1.4 you can do this. SELECT ST_GeomFromEWKT('CURVEPOLYGON(COMPOUNDCURVE(CIRCULARSTRING(0 0,2 0, 2 1, 2 3, 4 3),(4 3, 4 5, 1 4, 0 0)))'); I tried the same on PostGIS 1.3.6 and it doesn't work so guess you have to wait for 1.4. Hope that helps, Regina -----Original Message----- From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Mario Jurcevic Sent: Thursday, June 18, 2009 4:25 AM To: postgis-users@postgis.refractions.net Subject: [postgis-users] compundcurve in polygons Hi, Postgis community will develop compundcurve in polygons? I will help with my work or with sponsoring a developper for code it. Thanks _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users ----------------------------------------- The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer. _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users