[Chameleon] Locate Lookup
Paul Spencer
pagameba at magma.ca
Sat Sep 25 23:38:47 EDT 2004
Hi Joel.
I think the place name lookup already uses a local dbf file
(htdocs/common/phpgeocoder/services/popplace.dbf), you could look
through the code to see how it is done for that service and then try to
replicate it for your own.
A quick and dirty solution would be to replace popplace.dbf :)
Cheers,
Paul
Joel Rivard wrote:
> Hi List,
>
> I've been playing with the locate widget and was wondering if it could
> be changed to lookup table records in a dbf. As I understand, the
> locate widget currently looks through a gazetteer and returns the
> appropriate values. I would like to have an input box for the user to
> input a street and return the result on the map display. I've looked
> through the threads and have found some good bits and pieces but I just
> can't seem to completely understand, due to some limitations of being a
> beginner at PHP language. (If anybody has any good sites for PHP
> tutorials, can you please let me know)
>
> Can anyone help me find a way to alter the PHP code in the Locate
> Widget to allow it to search through my local data?
>
> Thanks,
>
> Joel Rivard
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
-----------------------------------------------------------------
|Paul Spencer pspencer at dmsolutions.ca |
|-----------------------------------------------------------------|
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
-----------------------------------------------------------------
More information about the Chameleon
mailing list