[OSM-dev] PHP class for API0.6 communication

Stefan de Konink stefan at konink.de
Fri Dec 4 02:54:56 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,



Because of a project in cooperation with the Dutch government to show
basically amenity=recycling. We wanted our original Dutch OpenLayers PoI
editor back in business. This required a backend that was able to talk
API 0.6.

Since I didn't find any PHP wrappers that could just talk PHP instead of
cumbersome cURL everywhere through the code I decided that because I am
already the proud owner of a BASH 0.6 uploader, another language was not
an issue.


Therefore if anyone want a practical way to download or upload data
without a graphical user interface; but being able to script something,
the following source will give you a nice starting point.

http://git.openstreetmap.nl/index.cgi/phposm.git/


It contains a tutorial with some short examples and a class that does
the hard work for you. Since this is the first version, it has been
tested primary on the sandbox. And probably lacks functionally you would
like to add yourself. I think we can arrange some accounts or just the
'mob' account for people that want to work on it. Patches in any form
are accepted.



Yours Sincerely,

Stefan de Konink
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAksYegAACgkQYH1+F2Rqwn04sACbB9xehxI319cyD2iBlbDuNu8D
j2MAoIMoRgDFD7GewdJy05gBPBnRdDsl
=ej4A
-----END PGP SIGNATURE-----




More information about the dev mailing list