[postgis-devel] GEOS2POSTGIS

Carl Anderson carl.anderson at co.fulton.ga.us
Tue Dec 14 06:33:17 PST 2004


strk at refractions.net wrote:

>On Mon, Dec 13, 2004 at 02:18:11PM -0500, Carl Anderson wrote:
>  
>
>>I am having problems with MULTIPOLYGON types passing through GEOS2POSTGIS
>>
>>the routine is making a geometry collection of polygons not a multipolygon
>>except that it labels the mess as a multipolygon
>>
>>
>>for example
>>
>>SRID=102667;010600000005000000SRID=0;0103000000010000000500000000
>>0000606EA1404100000020825A3441207F245077A1404153CCD639995A3441
>>2CF237915CA14041859B332C505A344139A6505F76A140416E660BA8965A3
>>441000000606EA1404100000020825A3441SRID=0;010300000001............
>>
>>not
>>
>>SRID=102667;0106000000050000000103000000010000000500000000
>>0000606EA1404100000020825A3441207F245077A1404153CCD639995A3441
>>2CF237915CA14041859B332C505A344139A6505F76A140416E660BA8965A3
>>441000000606EA1404100000020825A3441010300000001............
>>    
>>
>
>IIRC a MULTIPOLYGON is exactly a collection of polygons
>labeled as a multipolygon. The problem here is with SRID defined
>inside inner geoms. 
>  
>
sorry i meant a collection of lwgeom polygons as opposed to a collection 
of OGC polygons. OGC WKB/WKT lack the tag SRID

>I've taken a look at the 'collect' function and it failed
>to check for compatible dimensions and srid. I've added that.
>But how did you produce that geometry ? Solely inside GEOS ?
>In that case we need to check it somewhere else.
>
>  
>
Postgresql:
select difference(a.the_geom,b.the_geom) from a, b .....

current CVS is working  ok.

C.




-- 
Carl Anderson
GIS Manager Fulton County, Georgia
carl.anderson at co.fulton.ga.us
404.730.8026


-----------------------------------------------------
This message has been scanned for viruses and
dangerous content for Fulton County by DefendMail, and is
believed to be clean.




More information about the postgis-devel mailing list