[mapserver-users] status bar in no appearing !

nida Khan nida at webstar.co.uk
Thu Nov 28 05:12:54 EST 2002


Thank you very much  everyone to help me out with this mystry problem...

Actually my <td> background was white, so was the imagecolor and text color, so after changing STATUS ON, I couldnt c that image...

All I did was change the colors of the statusbar!

U r a great List!
Good 2 b here!
Regards
Nida.

----- Original Message ----- 
  From: nida Khan 
  To: mapserver-users at lists.gis.umn.edu 
  Sent: Wednesday, November 27, 2002 2:37 PM
  Subject: [mapserver-users] status bar in no appearing !


  Hi List,

  I'm a new bie in GIS world, I'm trying small task before I jump into anything big.

  so far I managed to get the map,legend working. now when I tried to put the scalebar, nothing happens, its not printing the image...
  it seems like it get the image path but does not create one!

  I'm sure its something small that I'm missing, but what???

  here is code of my map and html file.

  NAME WALES
  EXTENT 127000.0 160000.0 380000.0 402000.0
  SIZE 400 400
  FONTSET "/var/www/html/wales/fonts/fonts.list"
  UNITS KILOMETERS

  WEB
    TEMPLATE wales2.html
    IMAGEPATH "/var/www/html/wales/tmp/"
    IMAGEURL "/wales/tmp/"
  END


  QUERYMAP
    SIZE 200 200
    STATUS ON
    STYLE HILITE
    COLOR 255 0 0
  END

  LEGEND
    STATUS ON
    LABEL
      COLOR 0 0 0
      SIZE MEDIUM
      ANTIALIAS TRUE
    END
  END


  SCALEBAR
    IMAGECOLOR 255 255 255
    LABEL
      COLOR 255 255 255
      SIZE small    
    END
    STYLE 1
    SIZE 160 2
    COLOR 255 255 255
    UNITS KILOMETERS
    INTERVALS 4
    TRANSPARENT ON
    STATUS TRUE
  END

  <some layers>

  html file


  <html>
    <head>
      <title>Wales</title>
    </head>

    <body>
  <h3>Wales from Postgis with Zoom</h3>

  <b>SEARCH WINDOW</b>: [imgext]<br>
  <b>QUERY POINT</b>: ([img.x], [img.y]) image coordinates or ([mapx], [mapy]) map coordinates<br>
  <b>QUERY METRICS</b>: number of layers with results=[nl], total number of results=[nr]<br><br>
  <p>
  <hr>
  <p>

      <form method="GET" action="/cgi-bin/mapserv">

      <input type="hidden" name="map" value="[map]">
      <input type="hidden" name="imgext" value="[mapext]">

      <table border=1 cellpadding=3>

      <tr>
      <td align=center>
        <input type="image" name="img" src="[img]" border="0">
     </td>
      </tr>
      <tr>
          <td align="left" colspan="2">
          <img src="[scalebar]">
          </td>
      </tr>
      </table>    
  </form>


  Regards
  Nida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021128/90b0001d/attachment.html


More information about the mapserver-users mailing list