<div dir="ltr">Hola,<div>hay un problema con la lectura de capas vectoriales desde el entorno de scripting.</div><div><br></div><div>Tengo che trabajar con dos capas (en shapefile) uno con punto e otro con polygones.</div><div><br></div><div>Estas filas de código me dan error </div><div><br></div><div># Get resource path<br></div><div><div>shape_path = os.path.join(os.path.dirname(__file__),"D:/lavori_tmp/unibz/2016_06_forlidar/faggio/","aree_faggio_mod.shp")</div><div><br></div><div># loadShapeFile function</div><div>s1 = loadShapeFile(shape_path)</div><div><br></div><div># LoadLayer function</div><div>areaLayer = loadLayer("Shape", shpFile=s1, CRS="EPSG:32632")</div></div><div><br></div><div>aquí tengo error de RuntimeException: can't load layer CoercionException.</div><div><br></div><div>Alguien me puede ayudar!</div><div><br></div><div>Saludos y gracias</div><div><br></div><div>Silvia</div><div><br></div><div>PS: disculpe por mi español!!</div><div><br></div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Latemar, 22</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div>
</div></div>