[Mapserver-users] Cookie Cutter technique

W. Steph chewbizz at hotmail.com
Tue Aug 26 03:12:02 EDT 2003


If you don't find any solution, I have an idea for you, but it may be a bit 
hard :
You could use the JTS to get the intersection between your shapefile data 
and a rectangle.


>From: Matthew Smith <matt at kbc.net.au>
>To: mapserver-users at lists.gis.umn.edu
>Subject: Re: [Mapserver-users] Cookie Cutter technique
>Date: Tue, 26 Aug 2003 08:34:10 +0930
>
>Stephen Clark wrote:
>>Has anyone tried to use a cookie cutter technique on multiple shape files
>>with mapserver.
>>
>>What I am looking to do is cut out a rectangle of interest from several
>>layers of datasets. Each dataset would be cut out individually and
>>reprocessed into on or many data files at a later date.
>
>A related question:
>
>I assume that reducing the geographical scope of a shapefile will reduce 
>the burden on Mapserver (eg: I am working with the road network for all of 
>Australia; I'm only interested in a couple of hundred square miles).
>
>I would like to be able to use Mapscript (preferably with Perl) to take a 
>shapefile, define top left/bottom right of a rectangle and create a new 
>shapefile covering only that area - pretty much what I think Stephen is 
>saying, only I just want the one layer.
>
>Cheers
>
>M
>
>--
>Matthew Smith
>Kadina Business Consultancy
>South Australia
>http://www.kbc.net.au
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! 
http://g.msn.fr/FR1000/9493




More information about the mapserver-users mailing list