Example, In MapInfo Coorsys is:
"UTM Zone 28 (ED 50)\p23028", 8, 28, 7, -15, 0, 0.9996, 500000, 0
What are they following ESRI shape file (.prj)
Could you tell me the way to solve the problem?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Luckily, the MapInfo Coordsys line includes the POSC code. In this case it's "23028".
So, create a ProjCoordSys object using MO, and set its Type property to 23028 (which is the same as the moProjCS_ED_1950_UTM_28N constant). Then use the ProjCoordSys's Export method, which will generate the PRJ file.
Following those instructions, here is what that PRJ file will look like:
PROJCS["ED_1950_UTM_Zone_28N", GEOGCS["GCS_European_1950", DATUM["D_European_1950", SPHEROID["International_1924",6378388.0,297.0]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]], PROJECTION["Transverse_Mercator"], PARAMETER["False_Easting",500000.0], PARAMETER["False_Northing",0.0], PARAMETER["Central_Meridian",-15.0], PARAMETER["Scale_Factor",0.9996], PARAMETER["Latitude_Of_Origin",0.0], UNIT["Meter",1.0]] |
Tiada ulasan:
Catat Ulasan