[postgis-users] error in nquery mode

Zamil Murji Zamil.Murji at divestco.com
Fri May 7 13:52:25 PDT 2004


The interesting thing is that the first layer in both .map files works and entries show up in the log file for them.
No entries ever show up for the second layer in the log file.

Anybody else doing nquery on two or more postgis layers?

Zamil

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of Zamil
Murji
Sent: Friday, May 07, 2004 2:41 PM
To: PostGIS Users Discussion
Subject: [postgis-users] error in nquery mode


I have two mapfiles:
http://207.34.103.10/mapfiles/zamil.map
http://207.34.103.10/mapfiles/idcdev_canada_tooltip-query.map

The two layers are just swapped in position and you'll see why a little layer on.

http://207.34.103.10/cgi-bin/mapserv?mode=nquery&map=/mapfiles/idcdev_canada_tooltip-query.map&imgext=74742.34494+3662569.68589+87814.60352+3671234.05290&mapsize=777+515&imgbox=410+277+420+287&layers=wells
This query returns what it is supposed to.
http://207.34.103.10/cgi-bin/mapserv?mode=nquery&map=/mapfiles/idcdev_canada_tooltip-query.map&imgext=74742.34494+3662569.68589+87814.60352+3671234.05290&mapsize=777+515&imgbox=410+277+420+287&layers=wells+rasterlogs
This returns nothing - I would expect at least what I got from the first query.
http://207.34.103.10/cgi-bin/mapserv?mode=nquery&map=/mapfiles/idcdev_canada_tooltip-query.map&imgext=74742.34494+3662569.68589+87814.60352+3671234.05290&mapsize=777+515&imgbox=410+277+420+287&layers=rasterlogs
This also returns nothing. However, if I swith the order of the two layers in my .map file (as in zamil.map)
http://207.34.103.10/cgi-bin/mapserv?mode=nquery&map=/mapfiles/zamil.map&imgext=74742.34494+3662569.68589+87814.60352+3671234.05290&mapsize=777+515&imgbox=410+277+420+287&layers=rasterlogs
Now returns something and 
http://207.34.103.10/cgi-bin/mapserv?mode=nquery&map=/mapfiles/zamil.map&imgext=74742.34494+3662569.68589+87814.60352+3671234.05290&mapsize=777+515&imgbox=410+277+420+287&layers=wells
Now returns nothing.

Please shed some light on this issue.
Thanks in advance.
Zamil



More information about the postgis-users mailing list