[mapserver-users] No result from nquery
Richard Greenwood
richard.greenwood at gmail.com
Thu Mar 12 07:32:27 PDT 2009
On Thu, Mar 12, 2009 at 7:24 AM, Subha Ramakrishnan <subha at gslab.com> wrote:
> Hi,
>
> I am using nquery mode to fetch features lying within an area on the map.
> The url looks like this :
>
> "http://localhost/cgi-bin/mapserv?MAP=abc.map&MODE=nquery&LAYERS=abc&imgext=8920506.9477+3496535.4213+8954750.736418456+3530779.2100573704&imgbox=657+209+686+239&imgxy=670+230"
>
> Am i doing something wrong or missing any parameter in the url because this
> is not returning any result. But there are features within this area.
> I tried giving the imgext in lat lon also but doesn't work.
> The values for "imgext" correspond to bounding box (bottom left and top
> right) and "imgbox" corresponds to pixel values from top left to bottom
> right. Is this correct?
Check the EXTENT in your map file. MapServer will not return query
results outside of the defined extent.
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list