[Mapserver-users] Perl polygon shapefile tiler

Martin Weinelt mweinelt at planiglobe.com
Thu Jan 8 02:46:26 PST 2004


Dear List,

'Interpol' is a Perl script to tile polygon shapefiles using 
Sutherland-Hodgman clipping.
Resulting tiles are comparable to the tiles generated by VectorTileIndex 
Avenue script by Chip Hankley. Use tile4ms / shptree to make use of the tiles 
in a Mapserver application.

Sutherland-Hodgman clipping might leave 'unwanted' (degenerate) edges along a 
clip boundary when clipping concave polygons. I guess this is not actually a 
problem, since one would not want to draw outlines of tiled polygons in a  
UMN Mapserver application anyway. 

This first version of the script is at the Wiki: 
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?InterPol

Cheers, Martin

-- 
 --- Martin Weinelt 
 --- kk+w - digital cartography 
 --- Kiel, Germany
 --- Tel: +49.431.5791165
 --- http://www.planiglobe.com 






More information about the MapServer-users mailing list