gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

65 行
2.6KB

  1. /******************************************************************************
  2. * $Id: ogr_geocoding.h fcf615cbf6b2e03db17171af0ebba6da4b4a562d 2016-08-05 17:13:05Z Even Rouault $
  3. *
  4. * Project: OpenGIS Simple Features Reference Implementation
  5. * Purpose: Client of geocoding service.
  6. * Author: Even Rouault, <even dot rouault at mines dash paris dot org>
  7. *
  8. ******************************************************************************
  9. * Copyright (c) 2012, Even Rouault <even dot rouault at mines-paris dot org>
  10. *
  11. * Permission is hereby granted, free of charge, to any person obtaining a
  12. * copy of this software and associated documentation files (the "Software"),
  13. * to deal in the Software without restriction, including without limitation
  14. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  15. * and/or sell copies of the Software, and to permit persons to whom the
  16. * Software is furnished to do so, subject to the following conditions:
  17. *
  18. * The above copyright notice and this permission notice shall be included
  19. * in all copies or substantial portions of the Software.
  20. *
  21. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  22. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  23. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  24. * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  25. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  26. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  27. * DEALINGS IN THE SOFTWARE.
  28. ****************************************************************************/
  29. #ifndef OGR_GEOCODING_H_INCLUDED
  30. #define OGR_GEOCODING_H_INCLUDED
  31. #include "cpl_port.h"
  32. #include "ogr_api.h"
  33. /**
  34. * \file ogr_geocoding.h
  35. *
  36. * C API for geocoding client.
  37. */
  38. CPL_C_START
  39. /** Opaque type for a geocoding session */
  40. typedef struct _OGRGeocodingSessionHS *OGRGeocodingSessionH;
  41. OGRGeocodingSessionH CPL_DLL OGRGeocodeCreateSession(char** papszOptions);
  42. void CPL_DLL OGRGeocodeDestroySession(OGRGeocodingSessionH hSession);
  43. OGRLayerH CPL_DLL OGRGeocode(OGRGeocodingSessionH hSession,
  44. const char* pszQuery,
  45. char** papszStructuredQuery,
  46. char** papszOptions);
  47. OGRLayerH CPL_DLL OGRGeocodeReverse(OGRGeocodingSessionH hSession,
  48. double dfLon, double dfLat,
  49. char** papszOptions);
  50. void CPL_DLL OGRGeocodeFreeResult(OGRLayerH hLayer);
  51. CPL_C_END
  52. #endif // OGR_GEOCODING_H_INCLUDED
上海开阖软件有限公司 沪ICP备12045867号-1