<div dir="ltr">Hi Jonathan,<div><br></div><div>You can use ogr2ogr to recursively create those PRJ files.</div><div>You will need to make a bash script or bat file (depending on your platform of choice) that can read all your input shapefiles from a folder and execute the following command for each one of those:</div>
<div><br></div><div>ogr2ogr -a_srs EPSG:27700 output.shp input.shp</div><div><br></div><div>Obviously I'm assuming that you are using British National Grid hence the option -a_srs EPSG:27700. You can change this if you have your data in other projection.</div>
<div><br></div><div>Hope this helps.</div><div>Cheers,</div><div><br></div><div>Hugo Martins</div><div><a href="http://www.lutraconsulting.co.uk">www.lutraconsulting.co.uk</a></div><div><br></div><div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Jul 5, 2013 at 4:45 PM, Jonathan Webb <span dir="ltr"><<a href="mailto:jonathan@jwebbgis.co.uk" target="_blank">jonathan@jwebbgis.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Hi,<br>
ArcGis refugee using QGIS 1.8.0-Lisboa on Windows 7 64 bit.<br>
<br>
Trying to merge a quantity of (Ordnance Survey) height shapefiles
& QGIS crashes.<br>
<br>
I've read around and there seems to be a bug
(<a href="http://hub.qgis.org/issues/5962" target="_blank">http://hub.qgis.org/issues/5962</a>) but the thread was marked as
closed so I'm not sure what the situation is.<br>
<br>
It seems that it will work if there are .prj files, so as a
workaround I can create these.<br>
<br>
As I've got loads of shapefiles, to define the .prj for each is
not realistic (Vector>DataManagement Tools>Define Current
Projection). I've looked for a bulk process to create these but
without luck<br>
<br>
Do I need prj files & if so, how can I create a load of them?<br>
Thanks.<span class="HOEnZb"><font color="#888888"><br>
<br>
</font></span></font><span class="HOEnZb"><font color="#888888">
<pre cols="72">--
Jonathan Webb
Freelance GIS Specialist
07941 921905
<a href="http://www.jwebbgis.co.uk" target="_blank">www.jwebbgis.co.uk</a>
<a href="http://uk.linkedin.com/in/jwebbgis" target="_blank">http://uk.linkedin.com/in/jwebbgis</a></pre>
</font></span></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div>
</div></div>