[Freegis-list] How can I "clip" shapefiles to a box-shaped subset without using the ESRI ArcMap tool?
Bryan Keith
bryan at geomega.com
Mon Aug 28 16:35:45 CEST 2006
Murray,
I started writing a Python script using ogr to do this about 10 months
ago. As I recall, it worked for what I needed at the time, but it's
still pretty buggy. I have only one version in CVS and another version
that looks hacked up. I attached the CVS version. Be warned that I
haven't looked at this in quite some time and recall that it needs some
work. Maybe it will be a useful place for you to start.
Bryan
Bryan Keith
GIS Specialist
Geomega, Inc.
Boulder, CO, USA
Murray Brown wrote:
> Our marine data training program (www.oceanteacher.org) tries to
> avoid necessary use of commercial software, and so far we've been
> able to stay nearly ESRI-free. But the one Arc tool that we still
> find necessary is the clip function that cuts a shapefile down to the
> borders defined by a second shapefile. In our case, the second
> shapefile is almost always a simple rectangular box (area of
> interest).
>
> Does anybody know a free, stand-alone program (hopefully a binary
> executable) that can do this also?
>
> Thanks in advance for any help.
>
> Murray Brown UNESCO-IOC Marine Data Mgt. Training Program
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________ Freegis-list mailing
> list Freegis-list at intevation.de
> https://intevation.de/mailman/listinfo/freegis-list
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clip.py
Url: http://www.intevation.de/pipermail/freegis-list/attachments/20060828/743d69d7/clip.py
More information about the Freegis-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)