[ka-Map-users] kamap query

Paul Spencer pspencer at dmsolutions.ca
Fri Apr 20 14:03:48 EDT 2007


Tim,

one quirk of MapServer is that you have to add a TEMPLATE attribute  
to layers that you want to be queryable.  The value of attribute  
doesn't have to point to a real HTML file, it just has to be there.   
Typically, we add:

TEMPLATE "ttt.html"

You may also need to add DUMP true (but that is only needed for XML  
usually)

Cheers

Paul

On 20-Apr-07, at 1:43 PM, Henderson, Tim - Miami wrote:

> Kind folks,
> I hate to send one of those it-doesn't-work-and-I-don't-know-why  
> messages but I'll try to be brief -- having gotten lots of maps to  
> display, I find i can't get any queries to work. Usually I go back  
> to the demo -- the gmap 75 map in ms4w -- to see how they did it  
> but in this case, it doesn't seem to work there either even when I  
> add "queryable" "true" to the METADATA section of the PARKS layer  
> -- I still just get "No queryable layers at this scale and extent"  
> when I click on a park, as if it's not picking up that there's a  
> queryable layer...
> Tim Henderson, Miami
>
> 	-----Original Message-----
> 	From: ka-map-users-bounces at lists.maptools.org on behalf of ka-map- 
> users-request at lists.maptools.org
> 	Sent: Fri 4/20/2007 12:01 PM
> 	To: ka-map-users at lists.maptools.org
> 	Cc:
> 	Subject: ka-Map-users Digest, Vol 24, Issue 19
> 	
> 	
>
> 	Send ka-Map-users mailing list submissions to
> 	        ka-map-users at lists.maptools.org
> 	
> 	To subscribe or unsubscribe via the World Wide Web, visit
> 	        http://lists.maptools.org/mailman/listinfo/ka-map-users
> 	or, via email, send a message with subject or body 'help' to
> 	        ka-map-users-request at lists.maptools.org
> 	
> 	You can reach the person managing the list at
> 	        ka-map-users-owner at lists.maptools.org
> 	
> 	When replying, please edit your Subject line so it is more specific
> 	than "Re: Contents of ka-Map-users digest..."
> 	
> 	
> 	Today's Topics:
> 	
> 	   1. Re: Problem between ka-Map and personal PHP5 version
> 	      (Paul Spencer)
> 	   2. Drawing polygon (Fabian Rami)
> 	
> 	
> 	--------------------------------------------------------------------- 
> -
> 	
> 	Message: 1
> 	Date: Thu, 19 Apr 2007 22:13:59 -0400
> 	From: Paul Spencer <pspencer at dmsolutions.ca>
> 	Subject: Re: [ka-Map-users] Problem between ka-Map and personal PHP5
> 	        version
> 	To: jdgonon at gi-lemans.com
> 	Cc: ka-map-users at lists.maptools.org
> 	Message-ID: <9FAB4FE6-4371-46B8-BD5B-4C0989B3485B at dmsolutions.ca>
> 	Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 	
> 	Jean-Daniel,
> 	
> 	try loading init.php directly, this would be something like:
> 	
> 	http://localhost/ka-map/init.php
> 	
> 	And see if you get any more information.  I suspect a php-mapscript
> 	problem.
> 	
> 	Cheers
> 	
> 	Paul
> 	
> 	On 19-Apr-07, at 6:02 AM, Jean-Daniel Gonon wrote:
> 	
> 	> Hi,
> 	>
> 	> I have problem between ka-Map-1.0 (2007/01/23) and my personal php5
> 	> version : ka-Map runs, but doesn't display the map.
> 	>
> 	> With the PHP5 included in Apache Server in MS4W directory, there is
> 	> no problem.
> 	>
> 	> I have to use personal PHP version because, later, I will use a
> 	> personal version of php_mapscript DLL (php_mapscript_4.8.1_512.dll)
> 	> instead of php_mapscript_4.10.0.dll .
> 	> To do this, I have a d:\php\php5 directory with php-cgi.exe , all
> 	> DLL files and extensions.
> 	>
> 	> ka-Map runs under MS Windows Server 2003 (Standard Edition, SP1)
> 	> with Internet Information Services IIS v6.0.
> 	>
> 	> Does anyone has an idea to use ka-Map with personnal PHP5 version ?
> 	>
> 	> Thank you for your help
> 	>
> 	> Jean-Daniel Gonon
> 	> (France. Sorry for my english, I am bad)
> 	> _______________________________________________
> 	> 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    |
> 	+-----------------------------------------------------------------+
> 	|Chief Technology Officer                                         |
> 	|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
> 	+-----------------------------------------------------------------+
> 	
> 	
> 	
> 	
> 	
> 	
> 	------------------------------
> 	
> 	Message: 2
> 	Date: Fri, 20 Apr 2007 12:04:45 +0200
> 	From: Fabian Rami <fabian.rami at wowcompany.com>
> 	Subject: [ka-Map-users] Drawing polygon
> 	To: ka-map-users at lists.maptools.org
> 	Message-ID: <4628903D.9050908 at wowcompany.com>
> 	Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 	
> 	Hi all,
> 	
> 	I have resolved the IE compatibility that i was stucking on :)
> 	
> 	I switch from XMLOverlay to KaMap drawingCanvas.
> 	
> 	I am able now to set the position of all my vehicles in a fleet
> 	management system ( i already try more than 1500 points ) on IE
> 	
> 	But i want to draw area. like in XMLOverlay_polygon.html.
> 	
> 	I have an array of point (with geocoords) and i want to fill with  
> color
> 	the inside.
> 	
> 	What are the differents state i need to accomplish to have this  
> working ?
> 	
> 	Did someone know how to make this kind of trick ?
> 	
> 	I am at your disposition for any questions!
> 	Best regards,
> 	Fabian
> 	
> 	
> 	------------------------------
> 	
> 	_______________________________________________
> 	ka-Map-users mailing list
> 	ka-Map-users at lists.maptools.org
> 	http://lists.maptools.org/mailman/listinfo/ka-map-users
> 	
> 	
> 	End of ka-Map-users Digest, Vol 24, Issue 19
> 	********************************************
> 	
>
> <winmail.dat>
> _______________________________________________
> 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    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list