Also you can do it on unix+bash by one command line:<br>find . -name "*.shp" -maxdepth 1 -exec ogr2ogr -s_srs epsg:2180 -t_srs epsg:32633 ../dest/{} {} \;<br><br>In window$ you can use this commands with the package
<a href="http://unxutils.sourceforge.net/">http://unxutils.sourceforge.net/</a> + FWtools<br><br>Regards.<br>-- <br>Marco Vieira<br>+55 21 9499-6800<br>e-mail: <a href="mailto:maovieira@gmail.com">maovieira@gmail.com</a>
<br><br><div><span class="gmail_quote">2006/5/17, Maciek Sieczka <<a href="mailto:werchowyna@epf.pl">werchowyna@epf.pl</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 17 May 2006 14:34:24 +0200<br>"Zhonghai Wang" <<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>> wrote:<br><br>> Hi All,<br>><br>> I have a subfolder with ESRI shapefiles, and now I want to reproject
<br>> the shapefile, are there any batch commands to do this?<br>><br>> thanks in advance<br>><br>> zhonghai<br>><br>> 17.05.2006<br><br>If on unix+bash, something like this will work (modify accordingly):
<br><br>#!/bin/bash<br><br>LISTA=$(ls $HOME/gis/dane/pani/mapy | grep -i ".shp")<br><br>for PLIK in $LISTA;<br>do<br><br>echo<br>echo Konwertuje plik: $PLIK<br>PLIK_LOW=`echo $PLIK | tr A-Z a-z`<br><br>ogr2ogr -s_srs epsg:2180 -t_srs epsg:32633
<br>$HOME/tmp/hydro_ds_shp/$PLIK_LOW $PLIK<br><br>done<br><br>--------------------<br>W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!<br><a href="http://katalog.panoramainternetu.pl/">
http://katalog.panoramainternetu.pl/</a><br><br>_______________________________________________<br>Proj mailing list<br><a href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/proj">
http://lists.maptools.org/mailman/listinfo/proj</a><br></blockquote></div><br><br clear="all"><br><br>