<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
El 18/02/2012 11:29 p.m., Aren Cambre escribió:
<blockquote
cite="mid:CAA1mBrr6p20K1G3Ebe7pp=xecpTvWj4jKm0v5KrXoWei70pxYg@mail.gmail.com"
type="cite">ST_Transform is returning a bogus error of<b> Input
geometry has unknown (-1) SRID</b>.
<div><br>
</div>
<div>Here's the query:</div>
<div>
<div><b>UPDATE gis."gz_2010_48_160_00_500k"</b></div>
<div><b>SET "the_geom_3081" = ST_Transform(the_geom, 3081);</b></div>
</div>
<div><br>
</div>
<div>I said "bogus" because the database's <b>public.geometry_columns</b>
table has valid values for these two columns, and neither has
SRID of -1:</div>
<div>
<div><b>34281;"''";"gis";"gz_2010_48_160_00_500k";"the_geom";2;4326;"POLYGON"</b></div>
<div><b>34276;"''";"gis";"gz_2010_48_160_00_500k";"the_geom_3081";2;3081;"POLYGON"</b></div>
</div>
<div><br>
</div>
<div>What gives?</div>
<div><br>
</div>
<div>Aren</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
I thought a SRID of -1 was a synonym for the default one (4326). But
don't take my word for it, I'm beginning with postgis.<br>
<div class="moz-signature">-- <br>
<a href="http://sharingtechknowledge.blogspot.com/">
http://sharingtechknowledge.blogspot.com/</a></div>
</body>
</html>