[postgis-users] simplify() on lat/lon data
strk
strk at keybit.net
Thu May 20 23:58:49 PDT 2004
On Thu, May 20, 2004 at 10:14:45PM -0400, Norman Vine wrote:
> Paul Ramsey writes:
> >
> > If you have lat/lon data, the unit of interest is the "degree", so 0.01
> > is still a *huge* distance. You really are best off only using
> > simplify() in planar projections.
>
> The chord distance usually works well for sperical measure :-)
Are you suggesting a spherical_simplify() ?
If you want to try, replace distance_pt_seg at postgis_algo.c:86
with a call to a chord distance function and see what happen.
--strk;
>
> Norman
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list