[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-devel
Subject:    Re: [postgis-devel] force_collection()
From:       Paul Ramsey <pramsey () refractions ! net>
Date:       2005-05-20 16:11:06
Message-ID: 428E0C1A.3010201 () refractions ! net
[Download RAW message or body]

I think this is one we will leave alone and instead handle on the 
mapserver side.

strk@refractions.net wrote:

> On Thu, May 19, 2005 at 11:21:36AM -0700, Paul Ramsey wrote:
> 
>>The semantics of force_collection are almost, but not quite, the same 
>>between 0.9 and 1.0. The difference is causing mapserver breakage in 
>>very rare cases (like the demo I am doing for MUM).
>>
>>I think you will find that
>>
>>asbinary(force_collection(collect(the_geom))) where the_geom is a 
>>multilinestring returns a different result between 1.0 and 0.9
>>
>>I do not know if we care enough to change it, but it is a backwards 
>>compatibility thing for mapserver in rare cases.
> 
> 
> I find the new behaviour more correct:
> 	collecting multilines produces a geometrycollection
> 
> The old behaviour was:
> 	collecting multilines produces a multilinestring
> 
> Old behaviour was also based on a limit of postgis: not being
> able to nest geometrycollection. We can reproduce the old
> behaviour by using dump() and collect() the multilines elements.
> 
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic