Opened 6 years ago

Closed 6 years ago

#511 closed defect (fixed)

Export adresses KO car oapi-fr en panne

Reported by: vdct Owned by: vdct
Priority: major Component: export cadastre
Keywords: Cc: tyndare

Description

Récupération des highway de la commune
http://oapi-fr.openstreetmap.fr/oapi/interpreter?data=way(area:3600398286)["highway"]["name"];out+meta;
Traceback (most recent call last):

File "/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/cadastre_vers_osm_adresses.py", line 929, in cadastre_vers_adresses

cherche_fantoir_et_osm_highways(code_departement, code_commune, osm, osm_noms)

File "/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/cherche_fantoir_et_osm_highways.py", line 313, in cherche_fantoir_et_osm_highways

highways_osm = open_osm_ways_commune(code_departement, code_commune, "highway", 'name?', nodes=False)

File "/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/cherche_fantoir_et_osm_highways.py", line 174, in open_osm_ways_commune

return open_osm_overpass(requete_overpass, cache_filename, metropole=code_departement.startswith("0"))

File "/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/cherche_fantoir_et_osm_highways.py", line 152, in open_osm_overpass

write_stream_to_file(urllib2.urlopen(url), cache_filename)

File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen

return _opener.open(url, data, timeout)

File "/usr/lib/python2.7/urllib2.py", line 401, in open

response = self._open(req, data)

File "/usr/lib/python2.7/urllib2.py", line 419, in _open

'_open', req)

File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain

result = func(*args)

File "/usr/lib/python2.7/urllib2.py", line 1211, in http_open

return self.do_open(httplib.HTTPConnection, req)

File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open

raise URLError(err)

osm3 est en panne d'où ce message

Change History (1)

comment:1 Changed 6 years ago by vdct

  • Resolution set to fixed
  • Status changed from new to closed

j'ai mis en dur dans cherche_fantoir_et_osm_highways.py une référence à http://overpass-api.de

https://github.com/osm-fr/export-cadastre/commit/1eea20c0148c09329d1067eba8738a7b74daa24d

Note: See TracTickets for help on using tickets.