[Mapserver-users] need new function in mapserv.c to export selection in XML?

Sébastien DUBOIS sebastien.dubois at esm2.imt-mrs.fr
Thu Jul 22 10:42:35 EDT 2004


well, yet after a query there's two different way to display this query :
*by a map with the selected point with a new color.
*by a table with the differents attributes of the selected point (shape layer or
postgis layer) (by template...)
these ways to display are implemented in Gmap.

I will post soon my Gmap custumized with an example of a postgis layer and the
possibility to select before the display the information you want from the
layer you're querying.(select the row you want to display)

I now want to implement a way to "export" in xml this selection.
I work with php, mapscript, pgsql, and of course mapserver on the base of Gmap.

The display of the attributes is yet done by mapserv cgi by writing the good
value in the [attributes].

I know it's possible to create an xml file with pgsql, php by connecting to the
base in php and then build the xml file.
see
http://www.zdnet.fr/builder/programmation/technologies_web/0,39021000,39115856,00.htm

But by this way i will have to reimplement the selection ... (done with rosa.)

To conclude i think i have to build my function in the .c and add so an new
fonctionnality to the cgi.

Do you think i'm right?
have someone done this yet?

thanks in advance for your reply.

-- 
Sébastien DUBOIS
Ecole Généraliste d'Ingénieurs de Marseille (ex ESM2)

1024D/A1140BCB 
Empreinte de la clé = 1BC8 7E21 4DA7 13D5 1B5F  876F F719 2B7A A114 0BCB
disponible sur www.keyserver.net





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the mapserver-users mailing list