The query should be:<br><br>select nome, astext(the_geom), astext(transform(the_geom, 4326)) from monumentos where id = 9;<br><br>Copy-paste mistake. The problem still remains...<br><br>Best regards,<br>  Miguel<br><br><div class="gmail_quote">
On Tue, May 26, 2009 at 11:12 AM, Miguel R. Luaces <span dir="ltr"><<a href="mailto:miguelrluaces@gmail.com">miguelrluaces@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br><br>we have a PostgreSQL 8.1 database with postgis 1.2 installed. We have some data in the database stored using EPSG:23029.<br><br>We make a backup with pg_dump and we restore the database in PostgreSQL 8.2 with Postgis 1.3.1 without any problem.<br>

<br>But, if we restore the backup in PostgreSQL 8.2 with Postgis 1.3.6, the function transform() returns a different result. More precisely:<br><br>The same query:<br><br>select astext(the_geom), astext(transform(the_geom)) from monumentos where id = ,<br>

<br>In Postgis 1.3.1:<br>

<br>
"Castelo de San Antón";"POINT(549556.009066526 4801796.3531214)";"POINT(-8.38839299999999 43.3657910268222)"<br><br>In Postgis 1.3.6:<br><br>"Castelo de San Antón";"POINT(549556.009066526 4801796.3531214)";"POINT(-8.38839299999999 43.3666118995462)"<br>

<br>The second coordinate of the transformation to 4326 changes by 0.004 degrees (approx).<br><br>Any idea?<br><br>Thank you very much in advance.<br><br>Best regards,<br><font color="#888888">  Miguel<br><br><br>
</font></blockquote></div><br>