[rosa-users] PHP-Mapserver query result to a different page

Palanisamy, Giri palanisamyg at ornl.gov
Wed Jan 26 16:04:28 EST 2005


Hi,

I just got the php-mapscript (rosa) GMap sample application running, I
would like to display the query results in a different page, the sample
application does it in the same page (when I press the "info" button and
click some points on the map it displays the city names in the same
page)? I could achieve this in JBox-mapscript application by setting the
TEMPLATE in the class object in the .map file as

LAYER
  NAME fluxnet_ll_use
    METADATA
    "DESCRIPTION"   "Sites"
    "RESULT_FIELDS" "SITE_LABEL NETWORK COUNTRY STATUS IGBPCLSS CLIMATE
LONG LAT "
  END
  GROUP MODIS
  TYPE POINT
  DATA f264
  STATUS DEFAULT
  PROJECTION
  	"proj=longlat"
  	"ellps=GRS80"
  	"no_defs"
  	#"proj=eqc"
  	#"lon_0=-90"
  	#"lat_ts=0"
  END
  
  CLASS
    NAME 'FLUXNET Sites'
    COLOR 0 0 255
    #SYMBOL 'circle'
    SYMBOL 'triangle'
    SIZE 10
    TEMPLATE "fluxsites.phtml"
    
  END
  HEADER "fluxsites_header.html"
  FOOTER "fluxsites_footer.html"
  
  TOLERANCE 5
   
END


I would appreciate if anyone can tell me how to do this with the
php-mapscript (rosa)?

Thanks

Giri



More information about the ROSA-users mailing list