>From the error it looks like you either don't have PROJ.4 installed or at least available to ogr2ogr. The OSGeo4W (OSGeo for Windows) installer is a great way to install packages such as OGR with their dependencies: <a href="http://trac.osgeo.org/osgeo4w/">http://trac.osgeo.org/osgeo4w/</a>.<br>
<br>Matt.<br><br><div class="gmail_quote">On 21 August 2010 19:57, james pruett <span dir="ltr"><<a href="mailto:gpscruise@gmail.com">gpscruise@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br><br>I am trying to convert UK Meridian 2 shape file to lat/lon.<br>using C:\gdalwin32-1.6<br><br>Any help appreciated!<br>jim<br><a href="http://wikispeedia.org/" target="_blank">wikispeedia.org</a><br><br><br>-----------bat file------------------<br>
ogr2ogr -s_srs epsg:27700 -t_srs epsg:4326 -f "ESRI Shapefile" output_lat_lon.txt a_road_polyline.shp 2> error.txt<br><br>------------------error.txt---<div><br>ERROR
6: Failed to initialize PROJ.4 with `+proj=tmerc +lat_0=49 +lon_0=-2
+k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSGB36
+units=m +no_defs '.<br>
unknown elliptical parameter name<br>Failed to create coordinate transformation between the<br>following coordinate systems. This may be because they<br>are not transformable, or because projection services<br>(PROJ.4 DLL/.so) could not be loaded.<br>
Source:<br>PROJCS["OSGB 1936 / British National Grid",<br> GEOGCS["OSGB 1936",<br> DATUM["OSGB_1936",<br> SPHEROID["Airy 1830",6377563.396,299.3249646,<br> AUTHORITY["EPSG","7001"]],<br>
AUTHORITY["EPSG","6277"]],<br> PRIMEM["Greenwich",0,<br> AUTHORITY["EPSG","8901"]],<br> UNIT["degree",0.01745329251994328,<br>
AUTHORITY["EPSG","9122"]],<br> AUTHORITY["EPSG","4277"]],<br> UNIT["metre",1,<br> AUTHORITY["EPSG","9001"]],<br> PROJECTION["Transverse_Mercator"],<br>
PARAMETER["latitude_of_origin",49],<br> PARAMETER["central_meridian",-2],<br> PARAMETER["scale_factor",0.9996012717],<br> PARAMETER["false_easting",400000],<br> PARAMETER["false_northing",-100000],<br>
AUTHORITY["EPSG","27700"],<br> AXIS["Easting",EAST],<br> AXIS["Northing",NORTH]]<br>Target:<br>GEOGCS["WGS 84",<br> DATUM["WGS_1984",<br> SPHEROID["WGS 84",6378137,298.257223563,<br>
AUTHORITY["EPSG","7030"]],<br> AUTHORITY["EPSG","6326"]],<br> PRIMEM["Greenwich",0,<br> AUTHORITY["EPSG","8901"]],<br> UNIT["degree",0.01745329251994328,<br>
AUTHORITY["EPSG","9122"]],<br> AUTHORITY["EPSG","4326"]]<br><br>--------------end of file-----------------------------------<br><br></div>
<br>_______________________________________________<br>
UK mailing list<br>
<a href="mailto:UK@lists.osgeo.org">UK@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/uk" target="_blank">http://lists.osgeo.org/mailman/listinfo/uk</a><br>
<br></blockquote></div><br>