<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 19, 2016 at 3:11 PM, Lorenzo <span dir="ltr"><<a href="mailto:lorenzo.perone@gmail.com" target="_blank">lorenzo.perone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div style="word-wrap:break-word"><div><div>Sto provando lo script ogr2osm su un server Ubuntu 14.04 e ho questo output</div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>virtualadmin@osmserver:~/civici$ python ./ogr2osm.py -t civici.py -e 25832 -f Bologna.shp</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>Traceback (most recent call last):</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span> <span> </span>File "./ogr2osm.py", line 54, in <module></span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>   <span> </span>from geom import *</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>ImportError: No module named geom</span></div><div><span><br></span></div></div><div>Forse mi manca qualche pacchetto Python…</div><br></div></div><div><span class=""><blockquote type="cite"><div><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Non uso Ubuntu, ma in questa pagina<span> </span><a href="https://github.com/pnorman/ogr2osm" target="_blank">https://github.com/pnorman/ogr2osm</a><span> </span>leggo "On Ubuntu you can run sudo apt-get install -y python-gdal python-lxml to get the software you need."<code><br></code><br></div><div>Per completezza, su Fedora 24, basta quanto segue:<br></div></div></div></div></div></blockquote><div><br></div></span><div>Niente da fare,</div><div>credo mi concentrerò sulla normalizzazione, poi vedremo…</div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>virtualadmin@osmserver:~/civici$ sudo apt-get install -y python-gdal python-lxml</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>Reading package lists... Done</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>Building dependency tree       </span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>Reading state information... Done</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>python-goal is already the newest version.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><span>python-lxml is already the newest version.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(255,255,255);background-color:rgb(44,103,200)"><br></div></div></div></div></blockquote><div><br></div><div>Ma il repository l'hai clonato con git?<br><br></div><div>Perché geom.py è nella stessa directory di ogr2osm.py.<br><br></div><div>Ciao,<br><br></div><div>Andrea<br> <br></div></div></div></div>