[ka-Map-users] kamap and MySQL / starting kamap with different maps
Lorenzo Becchi
lorenzo at ominiverdi.com
Sun Mar 8 16:57:28 EST 2009
Hi Regine,
Regine Weber wrote:
> ...
>
> 1. Is it possible to create a link between an mapfile-layer and an
> MySQL-Database. I'd like to get it reacting as an mouseclick event in kamap
> for more information opening a window with this information from the
> database. Do you have any idea how this could work?
>
>
it is possible.
I did it for some clients.
you need to alter the map_query_float.php file and create a page tha
dynamically get infos from MySQL.
you naturally need to create a link between your shp and your DB.
Think about doing a definitive solution using Postgresql/postgis.
> 2. Is it possible to get kamap starting with different maps. I considered
> something like an variable that is transferred with the URL and tells kamap
> with which map it should start instead of getting this out of the config.php
> Does anybody already realised this idea or can give me a hint / keyword
> what to do?
>
>
it's already supported, if I've undestood what you mean.
is this link what you are looking for?
http://www.ominiverdi.org/ka-map/ka-map/htdocs/?map=europe
ciao
lorenzo
> Thanks very much for your help!
>
> Regine
> _______________________________________________
> 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