<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Does this work?<br><br><div>
        <div><b>UPDATE gis."gz_2010_48_160_00_500k"</b></div>
        <div><b>SET "the_geom_3081" = ST_Transform((ST_Setsrid(the_geom, 4326),3081);</b></div>
      </div><br>ie:: is the problem finding the srid from geometry_columns or finding it but ST_Transform() fails even when given the srid?<br><br>Even if there is a bug, this may work for you until fixed?<br><br>Brent Wood<br><br>--- On <b>Sun, 2/19/12, René Romero Benavides <i><ichbinrene@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: René Romero Benavides <ichbinrene@gmail.com><br>Subject: Re: [postgis-users] Bogus unknown geometry error from ST_Transform<br>To: postgis-users@postgis.refractions.net<br>Date: Sunday, February 19, 2012, 8:37 PM<br><br><div id="yiv866108650">
  

    
  
  <div>
    El 18/02/2012 11:29 p.m., Aren Cambre escribió:
    <blockquote 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="yiv866108650mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
postgis-users mailing list
<a rel="nofollow" class="yiv866108650moz-txt-link-abbreviated" ymailto="mailto:postgis-users@postgis.refractions.net" target="_blank" href="/mc/compose?to=postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a rel="nofollow" class="yiv866108650moz-txt-link-freetext" target="_blank" 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="yiv866108650moz-signature">-- <br>
      <a rel="nofollow" target="_blank" href="http://sharingtechknowledge.blogspot.com/">
        http://sharingtechknowledge.blogspot.com/</a></div>
  </div>

</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>postgis-users mailing list<br><a ymailto="mailto:postgis-users@postgis.refractions.net" href="/mc/compose?to=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></blockquote></td></tr></table>