Hi,<br><br>here to (on a windows install):<br>PostgreSQL 8.3.7<br>PostGIS 1.3.5<br><br>teste=# select st_asewkt(st_transform('SRID=3005;POINT(1240227 495643 5)', 4001));<br> st_asewkt<br>-------------------------------------------------------<br>
SRID=4001;POINT(-122.689717977579 49.4265525863074 5)<br>(1 registro)<br><br>teste=# select postgis_full_version();<br> postgis_full_version<br>-------------------------------------------------------------------------------------<br>
POSTGIS="1.3.5" GEOS="3.0.3-CAPI-1.4.2" PROJ="Rel. 4.6.1, 21 August 2008" USE_STATS<br><br><br clear="all">Luigi Castro Cardeles<br>
<br><br><div class="gmail_quote">2009/5/6 Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@opengeo.org">pramsey@opengeo.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Well, our versions differ, but that means nothing :)<br>
<br>
medford=# select postgis_proj_version();<br>
postgis_proj_version<br>
----------------------------<br>
Rel. 4.6.1, 21 August 2008<br>
(1 row)<br>
<br>
I'm also running 1.4SVN. And I can't recall if I installed the grid shift files.<br>
<font color="#888888"><br>
P.<br>
</font><div><div></div><div class="h5"><br>
On Tue, May 5, 2009 at 10:55 PM, Kevin Neufeld <<a href="mailto:kneufeld@refractions.net">kneufeld@refractions.net</a>> wrote:<br>
> :) So if proj doesn't have z transformation then ... I have a bogus proj<br>
> install or corrupt spatial ref definition?<br>
><br>
> postgis=# select postgis_proj_version();<br>
> postgis_proj_version -------------------------<br>
> Rel. 4.4.9, 29 Oct 2004<br>
> (1 row)<br>
><br>
> Since my answer is different than yours, something is amiss.<br>
><br>
><br>
> Paul Ramsey wrote:<br>
>><br>
>> On Tue, May 5, 2009 at 9:58 PM, Kevin Neufeld <<a href="mailto:kneufeld@refractions.net">kneufeld@refractions.net</a>><br>
>> wrote:<br>
>><br>
>>><br>
>>> But (and folks can correct me if I'm wrong since the docs don't actually<br>
>>> specify) transforms operate on *all* dimensions.<br>
>>> postgis=# select st_asewkt(st_transform('SRID=3005;POINT(1240227 495643<br>
>>> 5)',<br>
>>> 4001));<br>
>>> st_asewkt<br>
>>> ----------------------------------------------------------------------<br>
>>> SRID=4001;POINT(-122.689717977579 49.4258574870912 533.550271589169)<br>
>>> (1 row)<br>
>>><br>
>><br>
>> That's news to me and my version of PostGIS:<br>
>><br>
>> medford=# select st_asewkt(st_transform('SRID=3005;POINT(1240227<br>
>> 495643 5)', 4001));<br>
>> st_asewkt<br>
>> -------------------------------------------------------<br>
>> SRID=4001;POINT(-122.689717977579 49.4265525863074 5)<br>
>> (1 row)<br>
>><br>
>> My intuition was that reprojection would leave Z alone, since proj4<br>
>> has no z-transform capabilities.<br>
>><br>
>> P.<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" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
>><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" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><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" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br>