[mapserver-users] Two questions

Ivan Paoluzzi tesimap at hotmail.com
Thu Oct 24 12:33:32 EDT 2002


Hi all,
I have 2 questions:

I) I want to have two scalebar in my mapserver project, first in meters and 
second in feet.
But I succeed to draw it only one. How do I do to have both?

This in my scalebar (in meters) declaration:
SCALEBAR
  SIZE 150 5
  STATUS ON
  STYLE 1
  IMAGECOLOR 255 255 255
  COLOR 0 0 0
  BACKGROUNDCOLOR 0 0 0
  OUTLINECOLOR 0 0 0
  UNITS METERS
  INTERVALS 3
  LABEL
    COLOR 0 0 0
    SIZE TINY
  END
END   #scalebar


II) They have told me, in mailing list, that isn't possible to do a JOIN 
with Mapserver 3.5; is it real?
In effects my JOIN doesn't give no result.
They heve also told me that i have to 3.3 version to do a JOIN.
Is there another method to do it?

This is my layer:
LAYER
  NAME civici_sed
  TYPE POINT
  STATUS ON
  DATA civici_sed
  CLASSITEM civico
  CLASS
        NAME "Numeri Civici"
        COLOR 255 255 0
        TEMPLATE "civici.html"
	JOIN
	  NAME civicijoin
	  TABLE pop.dbf
	  FROM civico  #field of civici_sed.dbf
	  TO key       #field of pop.dbf
	  TYPE MULTIPLE
          TEMPLATE "civicijoin.html"
	END
   END
   HEADER "civici_header.html"
   FOOTER "civici_footer.html"
END


It shows fields of "civici_sed.dbf" but doesn't show the field "key" (a 
field of "pop.dbf").

Ivan



_________________________________________________________________
MSN Extra Storage! Hotmail all'ennesima potenza. Provalo!  
http://www.msn.it/msnservizi/es/




More information about the mapserver-users mailing list