<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'd vote for wrapping polygonize_garray so that their is only one
implementation of the code.<br>
<br>
Charlie<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:strk@refractions.net">strk@refractions.net</a> wrote:
<blockquote cite="mid20051209170832.GA17753@keybit.net" type="cite">
<pre wrap="">On Fri, Dec 09, 2005 at 04:23:59PM +0100, <a class="moz-txt-link-abbreviated" href="mailto:strk@refractions.net">strk@refractions.net</a> wrote:
...
</pre>
<blockquote type="cite">
<pre wrap="">Nonetheless, many items in the TODO list are completely missed:
</pre>
</blockquote>
<pre wrap=""><!---->...
</pre>
<blockquote type="cite">
<pre wrap="">- OGC polygon constructors
</pre>
</blockquote>
<pre wrap=""><!---->
I'm approaching this. SFSQL 1.1 contains the following information
about these:
</pre>
<blockquote type="cite">
<pre wrap=""> As an optional feature, an implementation may also support `building' of
Polygon or MultiPolygon values given an arbitrary collection of possibly
intersecting rings or closed LineString values. Implementations that
support this feature should include the following functions:
BdPolyFromText(multiLineStringTaggedText String, SRID Integer): Polygon
Construct a Polygon given an arbitrary
collection of closed linestrings as a
MultiLineString text representation.
BdMPolyFromText(multiLineStringTaggedText String, SRID Integer): MultiPolygon
Construct a MultiPolygon given an
arbitrary collection of closed linestrings as a
MultiLineString text representation.
</pre>
</blockquote>
<pre wrap=""><!---->
Given these specs I think we can avoid use of GEOS for the construction,
as the only required thing is to find out what is an hole and
what is a shell. C code for this is already present in the loader.
The alternative would be using just a comple of wrappers
to the polygonize_garray() function.
Thoughts ?
--strk;
/"\ ASCII Ribbon Campaign
\ / Respect for low technology.
X Keep e-mail messages readable by any computer system.
/ \ Keep it ASCII.
_______________________________________________
postgis-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-devel@postgis.refractions.net">postgis-devel@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-devel">http://postgis.refractions.net/mailman/listinfo/postgis-devel</a>
</pre>
</blockquote>
</body>
</html>