Nope. You might be able to repeatedly simplify and check for when you
pass your point limit.
Interesting question though... it should be straightforward to adapt the
DP algorithm to incorporate # points as an exit criteria.
richard -rw- weinberger wrote:
hi list!
does postgis provide a method to reduce/simplify a linestring to a
specific number of points?
i'm aware of st_simplify() but i have to set an lower limit.
thanks,
//richard
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users