[mapserver-dev] data processing in mapserver
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Apr 13 08:22:32 EDT 2012
On 12-04-13 7:30 AM, Vishal Garg wrote:
> Hi,
>
> I am new to mapserver and would like to know if mapserver allows for
> processing of data. I have data representing lines on a road and need
> to smoothen the lines at certain places. At others, I have to cluster
> the lines. Can I do that with the help of mapserver libraries?
>
Hi,
Take a look at the GEOS library (http://trac.osgeo.org/geos/), MapServer
can be built with GEOS support, and then you could use your favourite
mapscript flavour to run commands such as 'simplify'. for example see
http://www.mapserver.org/mapscript/php/index.html?highlight=simplify
For speed issues, most of the time I will post-process the data in
something like PostGIS or GRASS beforehand.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the mapserver-dev
mailing list