Example #1
0
File: osr.go Project: kikht/gdal
// Correct parameter ordering to match CT specification
func (sr SpatialReference) FixupOrdering() error {
	err := C.OSRFixupOrdering(sr.cval)
	if err != 0 {
		return error(err)
	}

	return nil
}
Example #2
0
File: osr.go Project: sn-amber/gdal
// Correct parameter ordering to match CT specification
func (sr SpatialReference) FixupOrdering() error {
	return C.OSRFixupOrdering(sr.cval).Err()
}