[mapserver-users] about thematics maps

2010-06-08 Thread salas
Hi, i need obtain various thematic maps , using the same layer.

For this work i have to use different map(.map) file? 

bets regards Salas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] about thematics maps

2010-06-08 Thread Carlos Ruiz
No, puedes hacer uso de un mismo archivo .MAP pero definiendo diferentes 
secciones LAYER con nombres 
diferentes para que puedas encender o apagar el temático que desees presentar.

Saludos desde México

 
IC Carlos Ruiz




From: salas fsa...@geocuba.cu
To: mapserver-users@lists.osgeo.org
Sent: Tue, June 8, 2010 12:12:58 PM
Subject: [mapserver-users] about thematics maps

 
Hi, i need obtain various thematic maps , using the same layer.
For this work i have to use different map(.map) file? 
bets regards Salas


  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] about thematics maps

2010-06-08 Thread Lime, Steve D (DNR)
Not necessarily. By layer I'm guessing you mean data source? If so you can 
certainly have multiple MapServer
layers that reference the same data source but style the data differently. You 
can also have a single MapServer
layer that can be configured dynamically to style the data differently. For 
example, you might have a constant
thematic presentation based on a percentage value (e.g. 0-10: green, 
10-20:yellow, etc...) and then you use
different attributes (e.g. % income above $50,000, % age  60, % residents with 
yellow beagles) against that
classification. All sorts of possibilities depending on your data.

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of salas
Sent: Tuesday, June 08, 2010 12:13 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] about thematics maps


Hi, i need obtain various thematic maps , using the same layer.

For this work i have to use different map(.map) file?

bets regards Salas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] about thematics maps

2010-06-08 Thread Jeff McKenna

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/



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users