Query BUG?

Ian iansgis at GMAIL.COM
Mon Jul 10 17:22:40 PDT 2006


I am trying to get BOTH pixel and lat long coordinates for features from a
single query in MapServer. Doing a query for one or the other works just
fine. Combining both into a single query provides two different results,
depending upon the order of the parameters.

This query:
[shpxy precision=7 xf="|" yf="|"][shpxy proj=image precision=0 xf="|"
yf="|"][NAME]---

results in:
-111.892 | 40.693 | %.0lf | %.0lf | ,576 | 12 | Salt Lake City

Switching the order:
[shpxy proj=image precision=0 xf="|" yf="|"][shpxy precision=7 xf="|"
yf="|"][NAME]---

results in a msProcessProjection() error stating the projection is not
defined.

Is this a bug in MapServer? Is it only possible to get a single set of
coordinates out of a query?

Thank you,

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060710/696b6b70/attachment.htm>


More information about the MapServer-users mailing list