[ka-Map-users] Map Query

Steve Lime Steve.Lime at dnr.state.mn.us
Wed Jun 21 15:16:11 EDT 2006


I have a simple query capability working in this example:

  http://maps.dnr.state.mn.us/ka-map/compass.html 

It's pretty straight-forward. I just take the output from the query event and pass that
along to your mapping application. In my case I'm handing the query off to a standard
MapServer CGI application in a new window. The relevant code looks like:

function myQuery( eventID, queryType, coords ) {
  window.open("/cgi-bin/mapserv410?maps=COMPASS_MAPFILE&mode=query&mapxy=" + coords[0] + "+" + coords[1]);
}

Steve

>>> Paul Spencer <pspencer at dmsolutions.ca> 6/20/2006 12:45:36 PM >>>
sorry, I don't have anything like that.  Perhaps someone on the  
mailing list does ...

On 20-Jun-06, at 1:09 AM, Absar Ali wrote:

>
> Dear Paul Spencer,
>
> Thnkx for ur prompt response, if you have the code for query then  
> please email me, i will be very thnk ful to u.
>
> Regards,
>
> Absar
>
>> From: Paul Spencer <pspencer at dmsolutions.ca>
>> To: absar ali <absarzaidi at yahoo.com>
>> CC: ka-map-users at lists.maptools.org 
>> Subject: Re: [ka-Map-users] Map Query Date: Mon, 19 Jun 2006  
>> 17:09:48 -0400
>>
>> Absar,
>>
>> the info tool is an example of how you can integrate a query   
>> capability into your application.  It ensures that you have the   
>> coordinates requested by the user.  You need to implement the   
>> capability to search your data.
>>
>> Cheers
>>
>> Paul
>>
>> On 19-Jun-06, at 1:36 AM, absar ali wrote:
>>
>>> I have sucessfully installed ka map n its worknig but when i  
>>> select  the info tool and click on the polygon a java script  
>>> message window  appear with some extent values and x y values of  
>>> the map,
>>> what i want is when i click on the polygon a new window will  
>>> appear  with values from the dbf files.
>>>
>>> Waiting for a v good n working response.
>>>
>>>
>>> Regards,
>>>
>>> Absar Ali
>>>
>>> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously  
>>> low  rates.
>>> _______________________________________________
>>> ka-Map-users mailing list
>>> ka-Map-users at lists.maptools.org 
>>> http://lists.maptools.org/mailman/listinfo/ka-map-users 
>>
>> +-----------------------------------------------------------------+
>> |Paul Spencer                           pspencer at dmsolutions.ca   |
>> +-----------------------------------------------------------------+
>> |Applications & Software Development                              |
>> |DM Solutions Group Inc                 http://www.dmsolutions.ca/| 
>> +-----------------------------------------------------------------+
>>
>>
>>
>>
>> _______________________________________________
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org 
>> http://lists.maptools.org/mailman/listinfo/ka-map-users 
>
>

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/| 
+-----------------------------------------------------------------+




_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org 
http://lists.maptools.org/mailman/listinfo/ka-map-users




More information about the ka-Map-users mailing list