[geos-devel] Snapping bug ?

Martin Davis mtnclimb at telus.net
Thu Dec 2 22:55:06 EST 2010


strk,

I'm not exactly sure which snapping routine you are using (and I'm not 
even sure if GEOS is in synch with JTS for this functionality).

Can you provide more details on the code you're using?  Is there a 
tolerance involved?

strk wrote:
> Martin, could you try this snapping with JTS ?
>
>   input: POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))
> snap_to: POINT(0.5 0)
>
> In GEOS, it returns:
>
>   POLYGON ((0.5 0, 0.5 0, 1 1, 0 1, 0.5 0))
>
> --strk;
>
>   ()   Free GIS & Flash consultant/developer
>   /\   http://strk.keybit.net/services.html
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1170 / Virus Database: 426/3291 - Release Date: 12/01/10
>
>
>   


More information about the geos-devel mailing list