I'm not sure if I exactly understand your request. I assume you mean 
that a polygon layer should be split in classes (visualized with 
different patterns) based on the values from 3 fields. This should be a 
standard setting using Mapserver definition of classes for the map file, 
like

LAYER
   ...
   CLASS
     NAME "class_1"
     EXPRESSION ('[founded]'='pottery' AND '[earth]'='sand'
                 AND '[stones]'='travertinic')
   END

   CLASS
     NAME "class_2"
     EXPRESSION ('[founded]'='pottery' AND '[earth]'='clay'
                 AND '[stones]'='granite')
   END

END  #Layer

with the EXPRESSION in 1 line.

It's also possible to use regular expressions. There is a how-to on the 
MS homepage about expressions.

Note however, that the database fields must be included in the shapefile 
attributes which makes it a bit static (maybe one can use OGR virtual 
layers, but I've never tested them with p.mapper). Or use 
Postgres/Postgis to store both geometry and attribute info.

armin


Emanuel Demetrescu wrote:
> Dear Armin,
> 
> 
> your work is great !! I use pmapper since 2005 but only as a hobby and 
> scholarship user. Now I need to look for a solution to automatically 
> draw patterns in a webgis.
> 
> 
> I explain: I am an archaeologist and I use gis platform to represent the 
> archaeological stratigrafy. Each polygon has a database-record with 
> three columns that describe the stratum: objects founded, kind of earh, 
> small stones.
> 
> 
> I need each polygon to have a pattern that is the amount of three 
> patterns, i.e. :
> 
> 
> objects founded=pottery, kind of earth=sand, stones=travertinic stone
> 
> 
> the pattern has to be the amount of all the three patterns above.
> 
> 
> How can I obtain it ?? Is it only a patterns matter ? Is it possible 
> with pmapper ? Is a limitation of the map file ?
> 
> 
> I prefer to use an open solution and I am looking for a platform that 
> allow an accurate pattern restitution.
> 
> 
> Thanks !! Emanuel
> 
> 
> ------------------------------------------------------------------------
> Ecco Windows Live Messenger 2008, la nuova generazione dell'instant 
> messaging! Windows Live Messenger <http://www.messenger.it>


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to