[mapserver-users] No result from nquery

Subha Ramakrishnan subha at gslab.com
Fri Mar 13 01:33:34 EDT 2009


Hi,

Thanks for the reply.
I did check the EXTENT and the one that i give is withing the map extent.
Still it doesn't work.

Any idea??
Thanks.

Subha
Richard Greenwood wrote:
> 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.
>
>   



More information about the mapserver-users mailing list