<div>I have tried with the following SQL sentence (posrgreSQL 8.1.7)</div>
<div>POSTGIS="1.0.4" GEOS="2.1.4" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS DBPROC=" 0.3.0" RELPROC="0.3.0"<br> </div>
<div>SELECT DISTINCT(astext(intersection((SELECT astext(collect(the_geom)) as the_geom FROM r13_ejes_32719 WHERE nombre = 'LOS NOGALES'), (SELECT astext(collect(the_geom)) as the_geom FROM r13_ejes_32719 WHERE nombre = 'LOS RECUERDOS')))) FROM r13_ejes_32719 WHERE (nombre = 'LOS NOGALES' OR nombre = 'LOS RECUERDOS');
</div>
<div> </div>
<div>and the output is the following:</div>
<div> </div>
<div>ERROR:  GEOS Intersection() threw an error!<br> </div>
<div>i´have a question, how can i compile postgis 0.9.2 linked with geos on fedora 4 ? i have doengraded to geos 2.1.1, like the package of postgreSQL 8.0.3 for win32 and the preserves the error, but i don't know how to compile postgis 
0.9.2 linked with GEOS 2.1.1 on fedora 4.</div>
<div> </div>
<div>Regards, RENIX.<br><br> </div>
<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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Sat, Feb 18, 2006 at 12:30:04PM -0300, René F. Viancos S. wrote:<br>> i have a problem with the following query.
<br>><br>> SELECT DISTINCT(intersection((SELECT collect(the_geom) FROM r13_ejes_32719<br>> WHERE nombre = 'LOS RECUERDOS'),(SELECT collect(the_geom) FROM<br>> r13_ejes_32719 WHERE nombre = 'LOS NOGALES'))) FROM r13_ejes_32719 WHERE
<br>> (nombre = 'LOS RECUERDOS' OR nombre = 'LOS NOGALES');<br>><br>> where 'r13_ejes_32719' is the table with the street data, 'nombre' the flied<br>> with the street name.<br>><br>> In postgresql 8.0.3
 works fine, but doesn't in postgresql 8.1.7 and i have<br>> executed the postgis_full_version() in both versions;<br>><br>> postgresql 8.0.3, win32 binary package, has the folowing:<br>> POSTGIS="0.9.1" GEOS="
2.1.1" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS<br>> DBPROC=" 0.0.1" RELPROC="0.0.1"<br>><br>> postgresql 8.1.7, win32 binary package, has the folowing;<br>> POSTGIS="1.0.4
" GEOS="2.1.4" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS<br>> DBPROC=" 0.3.0" RELPROC="0.3.0"<br><br>While you only report difference in PostgreSQL version you're<br>indeed using two different versions of PostGIS as well of GEOS !!
<br><br>I bet this has to do with the fact that starting with PostGIS 1.0.0<br>coordinates are kept with an higher precision.<br><br>Try reducing precision by passing by a text representation<br>(which was forced with 0.9.1
)<br><br>intersection((select astext(collect...)), (select astext(collect...)));<br><br>--strk;<br><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>