Example #1
0
File: osr.go Project: 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
}
Example #2
0
File: osr.go Project: sn-amber/gdal
// Convert in place from ESRI WKT format
func (sr SpatialReference) MorphFromESRI() error {
	return C.OSRMorphFromESRI(sr.cval).Err()
}