What is ids in imagemap example?

Randy James rjames57 at YAHOO.COM
Thu Sep 28 17:12:10 EDT 2006


all my variables get populated from the template file, on mine i called it template.html, yours looks like its county_example.html.
   
  randy

"Trimble, Beheen" <btrimble at sfwmd.gov> wrote:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}        st1\:*{behavior:url(#default#ieooui) }                Randy,
   
  It is ids  as in EXPRESSION ('[COUN]' in '%ids%')
   
  I know COUN is an attribute in county shape file but I  don’t know where the ‘ids’ variable is coming from and how it gets populated!
   
   
  Thanks
  Beheen
   
   
      
---------------------------------
  
  From: Randy James [mailto:rjames57 at yahoo.com] 
Sent: Thursday, September 28, 2006 5:03 PM
To: Trimble, Beheen
Cc: Mapserver Users
Subject: Re: [UMN_MAPSERVER-USERS] What is ids in imagemap example?

   
    i believe id is the name of a variable, the two % show the start and the end of the variable.

    check out

     

    http://umn.mapserver.ch/MapServer/en/syntax.htm

     

    randy

"Trimble, Beheen" <btrimble at SFWMD.GOV> wrote:

      Hey People,

     

    I am still trying to make the mouseover works in my application!

     

    Do you know what is %ids% in below map?  Where this is defined?

     

    Thanks

    Beheen

     

     

     


MAP

  NAME "TEST"

  SIZE 380 450

  EXTENT  180000 4816000 773000 5474000

  UNITS METERS

 

  IMAGECOLOR 252 252 252

 

  SHAPEPATH "/r01/data/drs"

 

  FONTSET "/usr/local/mapserver/fonts/fonts.list"

 

  WEB

    HEADER "templates/imagemap_header_example.html"

    FOOTER "templates/imagemap_footer_example.html"

    IMAGEPATH "/usr/local/www/docs_maps/tmp/"

    IMAGEURL "/tmp/"

  END

 

  QUERYMAP

    STATUS ON

    STYLE NORMAL

  END

 

  LAYER

    NAME county

    STATUS OFF

    DATA "data/bdry_counpy2_gen500"

    TYPE

 POLYGON

    # LABELITEM "CTY_ABBR"

    CLASS

      EXPRESSION ('[COUN]' in '%ids%')

      STYLE 

        COLOR "#BD9E5D" # "#A27528" 

        OUTLINECOLOR 50 50 50 

      END

    END

    CLASS

      COLOR 255 255 255

      OUTLINECOLOR 50 50 50 

    END    

    TEMPLATE "templates/county_example.html"

  END # counties

END
     

     

   
    
    
---------------------------------
  
  Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.



 		
---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060928/367b7e11/attachment.html


More information about the mapserver-users mailing list