* \brief Copy GEOGCS from another OGRSpatialReference. * * This function is the same as OGRSpatialReference::CopyGeogCSFrom() */
| 3909 | * This function is the same as OGRSpatialReference::CopyGeogCSFrom() |
| 3910 | */ |
| 3911 | OGRErr OSRCopyGeogCSFrom(OGRSpatialReferenceH hSRS, |
| 3912 | const OGRSpatialReferenceH hSrcSRS) |
| 3913 | |
| 3914 | { |
| 3915 | VALIDATE_POINTER1(hSRS, "OSRCopyGeogCSFrom", OGRERR_FAILURE); |
| 3916 | VALIDATE_POINTER1(hSrcSRS, "OSRCopyGeogCSFrom", OGRERR_FAILURE); |
| 3917 | |
| 3918 | return ToPointer(hSRS)->CopyGeogCSFrom(ToPointer(hSrcSRS)); |
| 3919 | } |
| 3920 | |
| 3921 | /************************************************************************/ |
| 3922 | /* SET_FROM_USER_INPUT_LIMITATIONS_get() */ |
nothing calls this directly
no test coverage detected