[Cartoweb-users] Geocoding

Oliver Christen oliver.christen at camptocamp.com
Fri Feb 8 01:59:30 EST 2008


Hi

on way would be to use curl (http://www.php.net/manual/en/ref.curl.php) to 
make the request to your service, simply put the code at the place the 
example connect to the database. parsing xml is quite easy with simplexml. 
once you have the data, the rest is the same as the example.

regards
Oliver



> Hi,
> I'd like to modify this:
> http://www.cartoweb.org/cwiki/HowToDisplayOnTheMapAPointFromADatabaseQuery
>
> in order to fetch coordinates by using opengeocoding service 
> (http://opengeocoding.org/)
>
> So, i have to do a request to the service (passing an address), read 
> coordinates from XML response and finally displaying my point.
>
> Any help for this?
>
> Thanks
>
> -- 
> Ing. Fabio D'Ovidio
>
> iQuadro - Informatica e Innovazione s.r.l.
> Via C. Pisacane 23, Aversa (CE) - 81031
> Web : www.ii2.it
> Tel.: 081 197 57 600
> mail: fabiodovidio at gmail.com
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list