Esri wkt字符串转proj.4 字符串的方法

使用gdal/ogr库进行转换

import os
import sys
import string
import osgeo.osr
prjfile=’~/proj4.prj’
srs.SetFromUserInput(prj
file)
srs.MorphFromESRI()
proj4 = srs.ExportToProj4()
print proj4

This entry was posted in esri.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre lang="" line="" escaped="" cssfile="">