示例#1
0
文件: osr.go 项目: kikht/gdal
// Convert in place from ESRI WKT format
func (sr SpatialReference) MorphFromESRI() error {
	err := C.OSRMorphFromESRI(sr.cval)
	if err != 0 {
		return error(err)
	}

	return nil
}
示例#2
0
文件: osr.go 项目: sn-amber/gdal
// Convert in place from ESRI WKT format
func (sr SpatialReference) MorphFromESRI() error {
	return C.OSRMorphFromESRI(sr.cval).Err()
}