otbOSMDownloader-cli does not work anymore
Mantis Issue 318, reported by jmichel, assigned to jmichel, created: 2011-05-26
When trying to fetch an OSM layer, either an exception is thrown: Description: itk::ERROR: OSMDataToVectorDataGenerator(0x21497b0): Problem while getting http://www.openstreetmap.org/api/0.6/map? or the feature count is O.
1306482200 - julienI did not manage to get it working despite of numerous trials. My area is quite small. My proxy settings are fine.
One the documentation side, it is not easy to figure out which key/value to use. Adding a link here might help:
http://wiki.openstreetmap.org/wiki/Map_Features
1306767585 - grizonnetmI also tried to download .
Using th OSMDownloader application, I've got the error message: "itk::ExceptionObject (0xbe2ab0) Location: "virtual void otb::OSMDataToVectorDataGenerator::GenerateData()" File: /home/grizonnetm/projets/otb/src/OTB/Code/IO/otbOSMDataToVectorDataGenerator.cxx Line: 79 Description: itk::ERROR: OSMDataToVectorDataGenerator(0xba04f0): Problem while getting http://www.openstreetmap.org/api/0.6/map?bbox=-1.16478,44.6577,-1.14965,44.6668 Returned error 28"
But if I copy/paste the URL (with the same bounding box) in my browser, I am able to downlaod the map.osm file...
1306933323 - grizonnetmI increased the timeout value in libcurl -> http://hg.orfeo