[mapserver-users] Compatibility between mapserver versions: nquery issue
Arthur Delorme
delorme.ipgp at gmail.com
Mon Nov 26 08:38:19 PST 2012
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
More information about the MapServer-users
mailing list