[ka-Map-users] basic Q: creating a map on the fly

Paul Spencer pspencer at dmsolutions.ca
Thu Jun 29 08:01:24 EDT 2006


this is actually not that easy to do.  ka-Map is optimal when used  
with base data that doesn't change and feature overlays (primarily  

That being said, a bunch of work was done to enable layers to be  
rendered from dynamic data.  You can approach it in one of two ways:

1) modify tile.php so that it can create your dynamic layers on the  
fly when the appropriate tile is requested

2) use "no_cache" metadata and pass variables for substitution into  
an existing layer

See http://ka-map.ominiverdi.org/wiki/index.php/ 



On 28-Jun-06, at 8:32 PM, John Kim wrote:

> Hi,
> I'm new to Ka-maps. I just successfully used the code to create a  
> map using my data layers (I downloaded the ms4w package and just  
> modified the map file to include my layers). The next step I'd like  
> to work on is to use PHP Mapscript to generate the map dynamically  
> -- i.e., I'd like to choose which layers to include and how to  
> color them on the fly.  I know how to do this with just PHP  
> Mapscript, but I'm not sure how to do it in concert with Ka-maps.   
> Should I replace ka-maps/htdocs/index.html with my own index.php?
> Thanks.
> -john
> _______________________________________________
> 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/|

More information about the ka-Map-users mailing list