[postgis-devel] [PostGIS] #255: Geodetic point-in-polygon breaking case

Paul Ramsey pramsey at cleverelephant.ca
Thu Oct 1 11:47:55 PDT 2009


This is against the geodetic type, there's no call into GEOS. The
ticket is just to remind me about this open case for later. It's going
to be pretty rare, but it's still there in the current code.

P

On Thu, Oct 1, 2009 at 11:29 AM, Martin Davis <mbdavis at refractions.net> wrote:
> Paul, can you post a test case which exhibits this behaviour?  As far as I
> know, the JTS/GEOS algorithm handles this case fine.
>
> PostGIS wrote:
>>
>> #255: Geodetic point-in-polygon breaking case
>>
>> ---------------------+------------------------------------------------------
>>  Reporter:  pramsey  |       Owner:  pramsey           Type:  defect   |
>>    Status:  new           Priority:  medium   |   Milestone:  postgis 1.5.0
>> Component:  postgis  |     Version:  trunk         Keywords:           |
>>  ---------------------+------------------------------------------------------
>>  If the stab line used for point-in-polygon calculation intersects a
>>  parallel edge on the way out of the polygon, it will trigger a double
>>  count, and will end up returning the wrong result.
>>
>>
>
> --
> Martin Davis
> Senior Technical Architect
> Refractions Research, Inc.
> (250) 383-3022
>
> _______________________________________________
> 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