Sascha Hendel
Sascha Hendel
Ok, this method works, but it is pretty hardcore... It would be better, if for example $changeset->commit() would return a statuscode/message with predefined status levels.
Hi Ken, you are are right, that for connectivity issues, etc it is best to throw an exception. But I miss feedback for cases, where OSM throws an error. For...
I had the same problem, and found this workaround (the methods mentioned here haven't worked for me): Switch to directory ~/vendor/kenguest/services-openstreetmap and create a symboli link ` ln -s ../../pear/http_request2/HTTP...
Any news on that issue?
Found a solution: 1st: Compile and install GEOS package without PHP bindings 2nd: Compile and install newest PHP bindings seperately ( https://git.osgeo.org/gogs/geos/php-geos )
Now I have extended my fork of the library for OAuth2 support. I will test the code and invoke a pull request in the next time, if no errors occur...
Hi dddesign, forked the library and extended code to support OAuth2. Two files are changed: https://github.com/sascha-hendel/Services_Openstreetmap/blob/master/Services/OpenStreetMap/Config.php https://github.com/sascha-hendel/Services_Openstreetmap/blob/master/Services/OpenStreetMap/Changeset.php On init You need to provide parameter oauth2_token: `$config = array( 'oauth2_token' =>...