<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chris Henrick wrote:
<blockquote
cite="mid:CAApH8kc=q1ixuJL1PY43+dvDwS4UZduRF6=pnqxq3YZ+5n5axw@mail.gmail.com"
type="cite"><font size="4"><font face="georgia,serif">Hi there,</font></font>
<div><font size="4"><font face="georgia,serif"><br>
</font></font></div>
<div><font size="4"><font face="georgia,serif">Does anyone have a
python script or know of a 3rd party plug in that will allow a
directory of shapefiles to be reprojected into a specified CRS? Would
also be helpful to do the same with the clip tool</font></font></div>
</blockquote>
You didn't say what OS so your mileage may vary. For this kind of
operation I would use the ogr2ogr application from the gdal utilities.
I believe if you're using the windows osgeo install that it is
installed if you're using linux it's a matter of installing gdal which
if you have qgis it's probably already there.<br>
<br>
So to reproject a bunch of shapefiles the source files in d0 and the
destination in d1:<br>
<br>
ogr2ogr -t_srs (specify the target CRS you can use proj4 string or an
existing .prj file) d1 d0<br>
<br>
The default type for ogr2ogr is shapefile so you don't need to specify
a type even. ogr2ogr also does other operations including clipping.<br>
<blockquote
cite="mid:CAApH8kc=q1ixuJL1PY43+dvDwS4UZduRF6=pnqxq3YZ+5n5axw@mail.gmail.com"
type="cite">
<div><font size="4"><font face="georgia,serif"><br>
</font></font></div>
<div><font size="4"><font face="georgia,serif">I'm a fairly novice
programmer so any advice would be appreciated.</font></font></div>
<div><font size="4"><font face="georgia,serif"><br>
</font></font></div>
<div><font size="4"><font face="georgia,serif">thanks,<br clear="all">
</font></font><font style="font-family: georgia,serif;" size="2"><br>
</font><font face="georgia, serif"><font
style="font-family: georgia,serif;" size="4">-Chris</font> </font><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
</body>
</html>