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

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Thu Jul 22 11:09:17 EDT 2004


Hi,

If I understand what you're sayingm, you can accomplish this with MapServer CGI via OGC:WMS or OGC:WFS.  They both export XML (OGC:WFS provides better control for filtering, though).

..Tom




----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu 
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
> Sébastien DUBOIS
> Sent: Thursday, July 22, 2004 10:43
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] need new function in mapserv.c to 
> export selection in XML?
> 
> 
> 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,3
9021000,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/

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list