PHP-Mapserver query result

Kevin Grootendorst kgrootendorst at BAIRD.COM
Thu Jan 27 06:14:23 PST 2005


Giri,
I don't know exactly how to solve your problem, but have you tried using
MapLab to create an application?  By default, querying a MapLab application
will launch a separate window with the query results.
Maybe that might help?

Kevin

On Thu, 27 Jan 2005 09:10:00 -0500, Palanisamy, Giri <palanisamyg at ORNL.GOV>
wrote:

>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 MapServer-users mailing list