[mapserver-users] Two questions

Palmer, Steve Steve_Palmer at lpsg.com
Thu Oct 24 13:11:04 EDT 2002


Re: two scale bars

The following works for me in my map template

<IMG
src="[program]?map=[map]&mapext=[minx]+[miny]+[maxx]+[maxy]&map_scalebar_uni
ts=miles&mode=scalebar">
<p>
<IMG src="[scalebar]">

-----Original Message-----
From: Ivan Paoluzzi [mailto:tesimap at hotmail.com]
Sent: Thursday, October 24, 2002 10:34 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Two questions


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021024/ffb2d746/attachment.html


More information about the mapserver-users mailing list