<div dir="ltr">Hi,<br><br>maybe this is some type of bug from pgadmin3. sometimes it did not show the contents of the_geom column. <br><br>if your analyse of empty geometry is only at pgadmin so you are wrong and your the_geom columns are not empty (select gid, the_geom from city where the_geom is null returns nothing;).<br>
try using psql to see some geometry.<br><br>best regards,<br><br><div class="gmail_quote">2008/10/10  <span dir="ltr"><<a href="mailto:cyw@dls.net">cyw@dls.net</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;">
See attached. I viewed it fom PgAdmin UI.  Did the queries you suggested, the_geom was not NULL.<br>
<br>
The sql below returns nothing:<br>
             select gid, the_geom from city where the_geom is null;<br>
<br>
The sql below returns npoints = 218:<br>
   select gid, npoints(the_geom) from city where polygon_id=35665106;<br>
<br>
Thanks,<br>
CYW<br><div class="Ih2E3d">
<br>
----- Original Message ----- From: "Paul Ramsey" <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>><br></div><div class="Ih2E3d">
To: "PostGIS Users Discussion" <<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a>><br></div>
Sent: Thursday, October 09, 2008 10:12 PM<div class="Ih2E3d"><br>
Subject: Re: [postgis-users] TRANSFORM failures with some multiploygons - datasample attached<br>
<br>
<br>
</div><div><div></div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It ran without any error. But some of the resulted values in the_geom<br>
column became null or empty.<br>
</blockquote></blockquote>
<br>
How did you check this?<br>
<br>
select gid from thetable where the_geom is null?<br>
select gid from thetabel where npoints(the_geom) =<br>
<br>
P<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">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>
</blockquote>
</div></div><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></blockquote></div><br><br clear="all"><br>-- <br>Luigi Castro Cardeles<br>
</div>