reduce gps points

Schuyler Erle schuyler at NOCAT.NET
Thu Jul 7 23:28:05 PDT 2005


I don't know of any PHP implementations offhand, but search the Net
for "Douglas-Peucker" line simplification, which we've used
successfully for that purpose. I found a C++ implementation on the web
which I success fully  cargo-culted to Python (and hope to port to
ogr2ogr one of these days).

SDE

* On  7-Jul-2005 at  8:30AM PDT, joerg p said:
> hello,
> 
> this might be a little bit off topic, but I am searching a (php) 
> function, which reduces the amount of gps points in a gps track by a 
> given accuracy.
> 
> So a track with 1000 points becomes a track with 100 points.
> 
> Is there a function or documentation somewhere?
> 
> thanks
> Joerg



More information about the MapServer-users mailing list