Expanding a polygon

Marc Jacquin marc.jacquin at MAGELLIUM.FR
Tue Feb 28 08:55:37 EST 2006


Chip,

An easy way for doing this is to store your polygons in PostGis - use
shp2psql - (now packaged with PostGreSQL), and use the buffer function in
PostGis. You may then use PostGis instead of shapefiles or export it into
shapefile again with pgsql2shp.

Another one is to use the various version of Java Topolgy Suite, GEOS in
C++, NetTopologySuite in C#.

Marc 

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Chip Taylor
Envoyé : mardi 28 février 2006 14:35
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : [UMN_MAPSERVER-USERS] Expanding a polygon

I need a tool that can take a shape file with a polygon, such as a state
boundary, and expand it x amount in all directions.  For example, take a
shapefile of the boundary of the State of Tennessee and expand the polygon
.5 degrees in all directions.  Anyone know of such a tool?

Chip Taylor



More information about the mapserver-users mailing list