<div dir="ltr">Hi Erik,<br>you can try something like that:  (?)<br>select  st_difference(ST_envelope(the_geom),the_geom)  from mytable<br><br>Fred<br><br><br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 2:11 PM, erik <<a href="mailto:whatevar89@gmail.com">whatevar89@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello, <br><br>I don't know if the terminology I use is correct but I would like to create a mask of layer I have.<br>
For example, from the shape of the world I would like to keep only the oceans, the negative of the initial shape.<br>

I haven't found any info or documentation about this. Can this be done in PostGIS?<br><br>Many thanks!<br><br>Erik<br></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></div>