i have solved the problem.<br><br>in postgis 1.0.4 the collect function does not accept GeometryCollection arguments, i have tried with HOSTGIS Linux and it version of postgres, giving the following error (more complete)<br>
<br>NOTICE:  IllegalArgumentException: This method does not support GeometryCollection arguments<br><br><br>ERROR:  GEOS Intersection() threw an error!<br><br>with this in mind, i have replaced the collect function (the work's fine with the 
8.0.3 package of postgresql for win32) by geomunion, and the query works fine again.<br><br>SELECT DISTINCT(astext(intersection((SELECT geomunion(the_geom) as the_geom FROM r13_ejes_32719 WHERE nombre = 'LOS RECUERDOS'), (SELECT geomunion(the_geom) as the_geom FROM r13_ejes_32719 WHERE nombre = 'LOS NOGALES')))) AS the_geom FROM r13_ejes_32719 WHERE (nombre = 'LOS RECUERDOS' OR nombre = 'LOS NOGALES');
<br><br>thank strk for your assistance...  case solved... <br><br>Best Regards from Chile<br><br>René Viancos (-: RENIX :-)<br><br><br><br><div><span class="gmail_quote">2006/2/18, <a href="mailto:strk@refractions.net">strk@refractions.net
</a> <<a href="mailto:strk@refractions.net">strk@refractions.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Sat, Feb 18, 2006 at 04:04:58PM -0300, René F. Viancos S. wrote:
<br>> I have tried with the following SQL sentence (posrgreSQL 8.1.7)<br>> POSTGIS="1.0.4" GEOS="2.1.4" PROJ="Rel. 4.4.9, 29 Oct 2004"<br>> USE_STATS DBPROC=" 0.3.0" RELPROC="
0.3.0"<br>><br>> SELECT DISTINCT(astext(intersection((SELECT astext(collect(the_geom)) as<br>> the_geom FROM r13_ejes_32719 WHERE nombre = 'LOS NOGALES'), (SELECT<br>> astext(collect(the_geom)) as the_geom FROM r13_ejes_32719 WHERE nombre =
<br>> 'LOS RECUERDOS')))) FROM r13_ejes_32719 WHERE (nombre = 'LOS NOGALES' OR<br>> nombre = 'LOS RECUERDOS');<br>><br>> and the output is the following:<br>><br>> ERROR:  GEOS Intersection() threw an error!
<br>><br>> i´have a question, how can i compile postgis 0.9.2 linked with geos on<br>> fedora 4 ? i have doengraded to geos 2.1.1, like the package of postgreSQL<br>> 8.0.3 for win32 and the preserves the error, but i don't know how to compile
<br>> postgis 0.9.2 linked with GEOS 2.1.1 on fedora 4.<br><br>You don't want to use postgis 0.9.2.<br>You want latest postgis release compiled against latest GEOS release.<br><br>If the problem persists with them, we'll be happy to look at it.
<br><br>--strk;<br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>René F. Viáncos S.<br>Director de Geomática y TIC<br>Vicerrectoría de Investigación y Desarrollo<br>Universidad de Chile
<br>Tel (56-2) 632 62 09<br>Cel (56 9) 933 72 66<br><a href="mailto:rviancos@uchile.cl">rviancos@uchile.cl</a><br><a href="mailto:rviancos@gmail.com">rviancos@gmail.com</a><br><a href="http://www.investigacion.uchile.cl">
www.investigacion.uchile.cl</a>