[FWTools] Dumping to wkt for a .prj file - meter vs. metre

David Fawcett david.fawcett at gmail.com
Wed Oct 25 12:18:06 EDT 2006


I am using FWTools 1.0.5 on Windows, specifically the the ogr and osr
modules in python.

In my script, for data that is in lat/lon, I am transforming it to UTM Zone
15.

When I write the srs to WKT to create a shapefile .prj file, the units come
out as 'metre'.  I can understand that this unit is equivilent to 100cm, but
ArcMap 9.1 doesn't recognize this as a known unit.  If I edit the .prj file
and replace 'metre' with 'meter', the units are recognized.

PROJCS["NAD83 / UTM zone
15N",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS
1980",6378137,298.257222101
,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",
0.01745329251994328
,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4269"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-93],PARAMETER["scale_factor",
0.9996
],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AUTHORITY["EPSG","26915"]]

I can always do a string replacement in my code before writing the wkt
definition to the .prj file, but I am curious if this is intended.

David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20061025/de2c4dba/attachment.html


More information about the FWTools mailing list