[mapserver-users] about thematics maps

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Jun 8 13:02:53 EDT 2010


salas wrote:
> Hi, i need obtain various thematic maps , using the same layer.
> 
> For this work i have to use different map(.map) file?
> 

Hello Salas,

I think there are 2 options for you:

1) use one .map file but change that one layer's parameters on-the-fly 
through your application, using mapscript 
(http://www.mapserver.org/mapscript/), such as PHPMapScript, or

2) have a separate .map file for each of your thematic maps.  One trick 
I have used in the past for thematic maps is to use mapfile includes 
(see description and example in 
http://www.mapserver.org/mapfile/Include.html) for each thematic layer. 
  The benefit is that the mapfiles are much easier to read/manage.

-jeff

-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





More information about the mapserver-users mailing list