// Convert in place to ESRI WKT format func (sr SpatialReference) MorphToESRI() error { err := C.OSRMorphToESRI(sr.cval) if err != 0 { return error(err) } return nil }
// Convert in place to ESRI WKT format func (sr SpatialReference) MorphToESRI() error { return C.OSRMorphToESRI(sr.cval).Err() }