// Set State Plane projection definition func (sr SpatialReference) SetStatePlane(zone int, nad83 bool) error { err := C.OSRSetStatePlane(sr.cval, C.int(zone), BoolToCInt(nad83)) if err != 0 { return error(err) } return nil }
// Set State Plane projection definition func (sr SpatialReference) SetStatePlane(zone int, nad83 bool) error { return C.OSRSetStatePlane(sr.cval, C.int(zone), BoolToCInt(nad83)).Err() }