the join you're using is a pure p.mapper construct (used only in query results). therefore it cannot be used for Mapserver classifications. you could try using shapefiles via OGR(and define a join there), though I cannot say how that works with p.mapper.
armin -------- [pmapper-users] joining table and classification problem > Dear all, > I would like to know if it is possible to use a field present in an > joined table in order to > classified a shape file. > I try with this map file attach below. > The join operation works perfectly and the query function produce the > expected results, but when I use the class > as show below,pmapper dosn't works. > > Could you suggest something ? > > I prefer to separate attribute data respect the geometric one, and I > do not want to make a big table permanently joined with dbf of the > shape file. > > ..... > > LAYER > NAME "subbacino2" > TYPE polygon > STATUS ON > DATA 'subbacino_new' > > METADATA > "DESCRIPTION" "subbacino Cumulate (mm)" > "RESULT_FIELDS" "NOME,ID_SBAC" > "RESULT_HEADERS" "NOME,ID_SBAC,DIF_PERC,DIF_CL_07,CLIM_S_L,P_SET_LUG" > "RESULT_JOIN" > "odbc://'':''/[EMAIL PROTECTED]||[EMAIL PROTECTED]@[EMAIL > PROTECTED],DIF_CL_07,CLIM_S_L,P_SET_LUG||ID_SBAC||0" > END # Metadata > > CLASS > NAME "570.91 - 646.78" > EXPRESSION ([P_SET_LUG]>0 AND [P_SET_LUG]<=646) > COLOR 254 225 225 > OUTLINECOLOR 0 0 0 > TEMPLATE void > END # Class > > > ..... > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > pmapper-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pmapper-users -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
