Hello everyone.<br><br>I'm trying to build a function that will transforma one polygon into many lines. I have a lot table, and i would like to insert each line from each lot in a table, containing the id of the lot.<br>
<br>I've tried: SELECT gid, St_boundary(the_geom) INTO lines from lots and postgis gave me an error:<br><br><b>NOTICE: IllegalArgumentException: Number of points must be 0 or >3<br>ERROR: POSTGIS2GEOS conversion failed<br>
<br>********** Erro **********<br><br>ERROR: POSTGIS2GEOS conversion failed<br>SQL state: XX000</b><br><br>I'm wondering if that is the right approach? I'm not even sure if boundary is what i am looking for. Can anyone help me? Why postgis gave me this error?<br>
<br>Thanks in advanced.<br><br>George<br><br clear="all"><br>-- <br>George R. C. Silva<br>Sigma Consultoria<br><br>Desenvolvimento em GIS<br><a href="http://www.consultoriasigma.com.br">www.consultoriasigma.com.br</a><br>
<a href="http://www.sigmaconsultoria.blogspot.com">www.sigmaconsultoria.blogspot.com</a><br>