[mapserver-users] Compatibility between mapserver versions: nquery issue
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Mon Nov 26 08:47:15 PST 2012
The nquery mode is still supported, that hasn't changed. The error message is fairly informative, what are your templates named?
Steve
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Arthur Delorme
Sent: Monday, November 26, 2012 10:38 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Compatibility between mapserver versions: nquery issue
Hello,
A few years ago, I developed a web interface to access data (informations and download) through spatial queries. It was based on mapserver 5.2.0 but I would like to update my code to mapserver 6.2.0 and I don't get how spatial queries are working nowadays.
As far as I understood, nquery mode is not supported anymore for URL templates (the error is "msReturnPage(): Web application error.
Malformed template name") but I can't figure how it is supposed to work then.
On mapserver 5.2.0, a selection were made by drawing a rectangle and sending the query with:
<select name="mode" id="mode">
<option id="search" value="browse" selected="selected"
[browse_select]>Display</option>
<option id="selection" value="nquery" onclick="document.jbox.boxon();"
[nquery_select]>Selection</option>
</select>
The result was displayed through template files, with a table containing some informations for each object selected on each activated layer (one line per object).
If someone could give me some informations about the "new" way to obtain such a result, it would be great, because I am quite lost.
Many thanks,
Arthur
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list