[rosa-users] PHP-Mapserver query result

Palanisamy, Giri palanisamyg at ornl.gov
Thu Jan 27 09:10:00 EST 2005


Hi List,

Sorry for this repeated postings, but I still could not figure out a
solution, I would really appreciate if any one can give me some idea for
the problem discussed below.

I just got the php-mapscript (rosa) GMap sample application running, I
would like to display the query results in a new 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"
  END
  
  CLASS
    NAME 'FLUXNET Sites'
    COLOR 0 0 255
    SYMBOL 'triangle'
    SIZE 10
    TEMPLATE "fluxsites.phtml"    
  END
 
  TOLERANCE 5   
END


I would really 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