[OSGeo-UK] UK Meridian 2 shape file to lat/lon.
Matt Walker
walkermatt at longwayaround.org.uk
Sat Aug 21 15:44:26 EDT 2010
>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:
http://trac.osgeo.org/osgeo4w/.
Matt.
On 21 August 2010 19:57, james pruett <gpscruise at gmail.com> wrote:
> Hi,
>
> I am trying to convert UK Meridian 2 shape file to lat/lon.
> using C:\gdalwin32-1.6
>
> Any help appreciated!
> jim
> wikispeedia.org
>
>
> -----------bat file------------------
> ogr2ogr -s_srs epsg:27700 -t_srs epsg:4326 -f "ESRI Shapefile"
> output_lat_lon.txt a_road_polyline.shp 2> error.txt
>
> ------------------error.txt---
>
> 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 '.
> unknown elliptical parameter name
> Failed to create coordinate transformation between the
> following coordinate systems. This may be because they
> are not transformable, or because projection services
> (PROJ.4 DLL/.so) could not be loaded.
> Source:
> PROJCS["OSGB 1936 / British National Grid",
> GEOGCS["OSGB 1936",
> DATUM["OSGB_1936",
> SPHEROID["Airy 1830",6377563.396,299.3249646,
> AUTHORITY["EPSG","7001"]],
> AUTHORITY["EPSG","6277"]],
> PRIMEM["Greenwich",0,
> AUTHORITY["EPSG","8901"]],
> UNIT["degree",0.01745329251994328,
> AUTHORITY["EPSG","9122"]],
> AUTHORITY["EPSG","4277"]],
> UNIT["metre",1,
> AUTHORITY["EPSG","9001"]],
> PROJECTION["Transverse_Mercator"],
> PARAMETER["latitude_of_origin",49],
> PARAMETER["central_meridian",-2],
> PARAMETER["scale_factor",0.9996012717],
> PARAMETER["false_easting",400000],
> PARAMETER["false_northing",-100000],
> AUTHORITY["EPSG","27700"],
> AXIS["Easting",EAST],
> AXIS["Northing",NORTH]]
> Target:
> GEOGCS["WGS 84",
> DATUM["WGS_1984",
> SPHEROID["WGS 84",6378137,298.257223563,
> AUTHORITY["EPSG","7030"]],
> AUTHORITY["EPSG","6326"]],
> PRIMEM["Greenwich",0,
> AUTHORITY["EPSG","8901"]],
> UNIT["degree",0.01745329251994328,
> AUTHORITY["EPSG","9122"]],
> AUTHORITY["EPSG","4326"]]
>
> --------------end of file-----------------------------------
>
>
> _______________________________________________
> UK mailing list
> UK at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/uk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/uk/attachments/20100821/89289e1c/attachment.html
More information about the UK
mailing list