[OSM-dev] cross-domain xmlhttprequest
osm-lists at mazdermind.de
Tue Dec 22 12:07:07 GMT 2009
John Smith schrieb:
> 2009/12/22 Stephan Plepelits <skunk at xover.htu.tuwien.ac.at>:
>> Does anybody see a problem adding these HTTP-Header-line to the
>> OpenStreetMap-API and the Nominatim-API?
> If you don't want to wait for others to update their scripts you could
> proxy the request via a php script... This would have the side benefit
> of working for older browsers too...
That's the way i'll do it: read the xml with php, preprocess it,
dropping all data you don't need, cache when appropriate and return as json.
It would be cool to have suche a proxy for the complete osm api..
More information about the dev