[Pymag-devel] geofabrick error
Status: Alpha
Brought to you by:
lhj
From: ouɐɯnH <fre...@gm...> - 2009-06-20 16:45:17
|
hello i test to a map generete from geofabrick .osm http://download.geofabrik.de/osm/south-america/colombia.osm.bz2 but i have this error: debian:# osmmag.py -v -n "Colombia 20090620" -o colombia_20090620.imi -r osmmagellan/data/osmmagrules.xml colombia.osm INFO Loading rules: osmmagellan/data/osmmagrules.xml INFO Reading osm data and creating map INFO Optimizing cell structure Traceback (most recent call last): File "/usr/bin/osmmag.py", line 180, in <module> main() File "/usr/bin/osmmag.py", line 176, in main bigendian=options.bigendian File "/usr/bin/osmmag.py", line 61, in osmmag m.close() File "/usr/lib/python2.5/site-packages/magellan/Map.py", line 358, in close self._laycfg.close() File "/usr/lib/python2.5/site-packages/magellan/Layer.py", line 278, in close layer.close() File "/usr/lib/python2.5/site-packages/magellan/Layer.py", line 466, in close celldata = cell.serialize() File "/usr/lib/python2.5/site-packages/magellan/Cell.py", line 168, in serialize data += self._serialize_cellelement(s) File "/usr/lib/python2.5/site-packages/magellan/Cell.py", line 85, in _serialize_cellelement cellelementdata = cellelement.serialize(self, self.layer.bigendian) File "/usr/lib/python2.5/site-packages/magellan/CellElement.py", line 465, in serialize cdata, subpolytype, nvertices = self.encode_polygon(bbox, p, bigendian) File "/usr/lib/python2.5/site-packages/magellan/CellElement.py", line 624, in encode_polygon raise Exception("Cannot encode polygon") Exception: Cannot encode polygon but with the export from http://www.openstreetmap.org/export?lat=4.6924&lon=-74.1438&zoom=14&layers=B000FTFT the script works well the problem is ; i need all the country. thanks for the help humano -- Lee un artículo sobre nosotros en el tiempo: http://www.eltiempo.com/colombia/bogota/empresas-de-tecnologia-basadas-en-software-libre-se-expanden-en-bogota_4708463-1 |