[Chameleon] finding locations and parsing session id
Peter Thomann
pameleon at gmx.de
Tue Mar 15 05:44:38 EST 2005
Thanks I didn't realize that I could just take the normal php session_id
So this problem is solved.
But a "find-location-widget" would be more suitable if it takes some
shapefiles cause they are already displayed in the map. If someone could
help me there didn't find any resource for it
> Hi,
>
> I am assuming you write the session id with php and you have included
>
> include("../session.inc.php");
>
> then you can do something like this to get the session id (it will output
> sid= as well).
>
> mypopup.phtml?<?php echo SID ?>
>
> The Locate widget is the correct one to find a place. But it is configured
> for a geocoding/gazetteer service in Canada, but you can change it to use
> a different geocoder/gazetteer (we did so for Netherlands). Not the most
> easy task to start with though.
>
> There have also been other people on this list who made a similar thing
> based on a shapefile with locations or something like that. We use a
> geocoder service over http (XML communication).
>
> Hope this helps.
>
> Best regards,
> Bart
>
> > ok i have 2 problems one is very easy i just cant find it
> > what is the name of the session-id variable inside chameleon cause i
> need
> > links i my mouse-pointer-query that points on a special position in the
> > map
> > i calculate the links out of the shapefiles.
> >
> > the other problem is that i need some kind of widget, wich can find me a
> > special place like a city or something. tried out the locate widget but
> i
> > cant figure out how to use it for my map.
> >
> > --
> > DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
> > AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
>
>
--
DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl
More information about the Chameleon
mailing list