[postgis-devel] 1.5.3?

Chris Hodgson chodgson at refractions.net
Tue May 24 11:46:06 PDT 2011


Agreed Paul, there be dragons. Error is the right response IMHO.

Chris

Paul Ramsey wrote:
> It's not clear to me any/many people are pushing through Inf
> geometries. So we have
>
> 1 - throw ERROR or
> 2 - return NULL/Empty geometry
>
> I'll throw my vote in for option 1.
>
> P
>
> On Tue, May 24, 2011 at 9:56 AM, Mark Cave-Ayland
> <mark.cave-ayland at siriusit.co.uk> wrote:
>   
>> On 24/05/11 17:20, Paul Ramsey wrote:
>>
>>     
>>> Well, I'm going to apply his Inf-blocking patch, and I'll carry the
>>> issue over to Proj.4 land.
>>> P.
>>>       
>> I think we need a bit more discussion on what the behaviour should be before
>> applying though. At the moment I don't have a feel for what the standard
>> behaviour in this scenario should be (especially with respect to existing
>> tools) - should we throw an ERROR and abort the transaction? Return an
>> empty/NULL geometry and emit a WARNING?
>>
>>
>> ATB,
>>
>> Mark.
>>
>> --
>> Mark Cave-Ayland - Senior Technical Architect
>> PostgreSQL - PostGIS
>> Sirius Corporation plc - control through freedom
>> http://www.siriusit.co.uk
>> t: +44 870 608 0063
>>
>> Sirius Labs: http://www.siriusit.co.uk/labs
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>>
>>     
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel
>   




More information about the postgis-devel mailing list