Thanks Roger, Since I sent out the email I was able to derive the EPSG code and the only difference between mine and yours was that I had +units=m and you had +to_meter=0.3048006096012192. I think that my EPSG code is correct since my below email had the Linear Unit = Meter and +to_meter=0.3048006096012192 would mean the units was feet.
John On Mon, Oct 6, 2008 at 1:01 PM, Roger André <[EMAIL PROTECTED]> wrote: > Hi John, > > No guarantees that I got this right, but you could try adding the following > entry to your "FWTools/share/proj/epsg" file: > > # Guatemala Transverse Mercator > <001234> +proj=tmerc +x_0=500000.000000 +y_0=0 +lon_0=-90.5 +lat_0=0 > +k=0.999800 +ellps=WGS84 +datum=WGS84 +to_meter=0.3048006096012192 +no_defs > <> > > Then you should be able to acces it by using "EPSG:001234" in your -s_srs > parameters. > > Roger > -- > > On Mon, Oct 6, 2008 at 7:10 AM, John Mitchell <[EMAIL PROTECTED]>wrote: > >> Hi, >> >> How would I create an epsg code that can be used within the epsg file for >> fwtools and MapServer? >> >> Below is the information that I would like to use to create an epsg code. >> What would be format for the new epsg code? Is the information listed below >> enough to create an epsg code and if not what am I missing? >> >> >> *The 2001 data was originally in a Guatemalan Transverse Mercator >> coordinate >> system with the parameters shown below: >> >> Projection: Transverse Mercator >> False Easting: 500000.000000 >> False Northing: 0.000000 >> Central Meridian: -90.500000 >> Scale Factor: 0.999800 >> Latitude of Origin: 0.0000000 >> Linear Unit: Meter >> Geographic Coordinate System: GCS_WGS_1984 >> >> *Below is the gdalinfo listing for one of files that I would like to >> associate to this new epsg code: >> >> *Driver: GTiff/GeoTIFF >> Size is 11214, 7860 >> Coordinate System is `' >> Origin = (317049.000000000000000,**1659460.000000000000000) >> Pixel Size = (0.500000000000000,-0.**500000000000000) >> Metadata: >> AREA_OR_POINT=Area >> TIFFTAG_SOFTWARE=ERDAS IMAGINE >> TIFFTAG_XRESOLUTION=1 >> TIFFTAG_YRESOLUTION=1 >> TIFFTAG_RESOLUTIONUNIT=1 (unitless) >> Corner Coordinates: >> Upper Left ( 317049.000, 1659460.000) >> Lower Left ( 317049.000, 1655530.000) >> Upper Right ( 322656.000, 1659460.000) >> Lower Right ( 322656.000, 1655530.000) >> Center ( 319852.500, 1657495.000) >> Band 1 Block=11214x8 Type=Byte, ColorInterp=Red >> Band 2 Block=11214x8 Type=Byte, ColorInterp=Green >> Band 3 Block=11214x8 Type=Byte, ColorInterp=Blue* >> >> >> >> Thanks, >> >> -- >> John J. Mitchell >> >> _______________________________________________ >> gdal-dev mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/gdal-dev >> > > -- John J. Mitchell
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
