[Proj] Michigan georef projection reproject to lat-lon
Chris Fahner
chris at mi-sledding.com
Tue Sep 2 20:41:07 EDT 2008
When I tried to run the string I entered I received an error.
Ogr2ogr.exe D:\proj D:\snow_trails_version1.shp -s_srs EPSG: 99999 -t_srs
EPSG: 4326
The error is:
ERROR 4: Unable to open EPSG Support file gcs.csv
Try setting GDAL_DATA environment variable to point to the
Directory containing EPSG csv files.
Failed to process SRS definition: EPSG:
I am using 99999 because I had to copy the data from the .prj file that was
zipped with the shp file as it wasn't available in the epsg file.
This is what was in the .prj file
PROJCS["NAD_1983_Hotine_Oblique_Mercator_Azimuth_Natural_Origin",GEOGCS["GCS
_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378
137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.01745329251994
33]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],PARAMETER[
"False_Easting",2546731.496],PARAMETER["False_Northing",-4354009.816],PARAME
TER["Scale_Factor",0.9996],PARAMETER["Azimuth",337.25556],PARAMETER["Longitu
de_Of_Center",-86.0],PARAMETER["Latitude_Of_Center",45.30916666666667],UNIT[
"Meter",1.0]]
-----Original Message-----
From: proj-bounces at lists.maptools.org
[mailto:proj-bounces at lists.maptools.org] On Behalf Of Richard Greenwood
Sent: Monday, September 01, 2008 8:11 PM
To: PROJ.4 and general Projections Discussions
Subject: Re: [Proj] Michigan georef projection reproject to lat-lon
FWTools http://fwtools.maptools.org/ (which includes Proj.4) has a
command line program called ogr2ogr which includes coordinate system
transformation. At the command prompt, you would enter something like:
ogr2ogr destDir srcFile.shp -s_srs EPSG:codeForMichiganDNR -t_srs
EPSG:codeForLatLong
where:
destDir is an empty destination (output) directory
srcFile.shp is the name of the snowmobile shapefile
codeForMichiganDNR is the EPSG number for your source data (maybe
not required)
codeForLatLong is the EPSG number for lat-long (probably 4326)
Rich
On Mon, Sep 1, 2008 at 5:30 PM, Chris Fahner <chris at mi-sledding.com> wrote:
> Hello,
>
> I have been trying for the longest time now to convert data I received
from
> Michigan DNR to lat-long data so it can be used within Google maps.
>
> The data is snowmobile trails but I can't for the life of me find a
program
> which does not contain an large price tag to do this for me. I can't see
> spending money on it when I just need to convert the data once and then I
> won't need it done anymore. Does anyone have a good program to use to do
> this. They included all the files with the zip file they sent me. (.dbf,
> .prj, .sbn,.sbx,.shp,.shp.xml,shx). I think I've tried to use more than a
> handful of software's. The closest I got was with the program map window
but
> there seems to be an issue with it reprojecting.
>
>
>
> Thanks,
>
> Chris
>
>
>
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
_______________________________________________
Proj mailing list
Proj at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
More information about the Proj
mailing list