* \brief Try to identify a match between the passed SRS and a related SRS * in a catalog. * * Matching may be partial, or may fail. * Returned entries will be sorted by decreasing match confidence (first * entry has the highest match confidence). * * The exact way matching is done may change in future versions. Starting with * GDAL 3.0, it relies on PROJ' proj_identify() function. * * Th
| 10263 | * |
| 10264 | */ |
| 10265 | OGRSpatialReferenceH *OSRFindMatches(OGRSpatialReferenceH hSRS, |
| 10266 | CSLConstList papszOptions, int *pnEntries, |
| 10267 | int **ppanMatchConfidence) |
| 10268 | { |
| 10269 | if (pnEntries) |
| 10270 | *pnEntries = 0; |
| 10271 | if (ppanMatchConfidence) |
| 10272 | *ppanMatchConfidence = nullptr; |
| 10273 | VALIDATE_POINTER1(hSRS, "OSRFindMatches", nullptr); |
| 10274 | |
| 10275 | OGRSpatialReference *poSRS = ToPointer(hSRS); |
| 10276 | return poSRS->FindMatches(papszOptions, pnEntries, ppanMatchConfidence); |
| 10277 | } |
| 10278 | |
| 10279 | /************************************************************************/ |
| 10280 | /* OSRFreeSRSArray() */ |
no test coverage detected