[postgis-users] generating ocean
David Bitner
osgis.lists at gmail.com
Tue May 2 08:47:55 PDT 2006
If you are just using this for coloring a map rather than any type of
analysis, you could just make your background color blue.
On 5/2/06, Arnaud Lesauvage <thewild at freesurf.fr> wrote:
> Christo Du Preez a écrit :
> > I would still like to now how to generate oceans from my country
> > boundaries. The problem using different datasets is that the data
> > wouldn't be an exact match, layering it might produce gaps.
> > Ill be happy with something like a box with a hole (country boundary) in
> > as a result.
>
> I believe this is what the Difference(geometry A, geometry B)
> function does.
> So you could use something like :
>
> SELECT Difference(Expand(county_geometry, 100000), county_geometry))
> FROM country_table;
>
> It might use a lot of processing time / memory if the boundaries
> are large though.
>
> --
> Arnaud
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
More information about the postgis-users
mailing list