[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Polygon with holes
From:       Paul Ramsey <pramsey () refractions ! net>
Date:       2004-08-18 18:55:19
Message-ID: 4123A617.9080601 () refractions ! net
[Download RAW message or body]

Tuan Pham Anh wrote:
> 
> Could someone show me how to insert 
> 
> 1. a polygon with a hole 
> 2. a polygon with holes

Polygon:

POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))

Polygon with hole:

POLYGON((0 0, 0 5, 5 5, 5 0, 0 0),(1 1,1 2,2 2, 2 1, 1 1))

Polygon with holes:

POLYGON((0 0, 0 8, 8 8, 8 0, 0 0),(1 1,1 2,2 2, 2 1, 1 1),(3 3,3 4,4 4,4 
3,3 3))





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic