- Main Page
- Related Pages
- Classes
- Files
- Directories

- File List
- File Members

# ogr_geocoding.h

Go to the documentation of this file.

    00001 /******************************************************************************
    00002  * $Id: ogr_geocoding.h 25378 2012-12-29 00:28:36Z rouault $
    00003  *
    00004  * Project:  OpenGIS Simple Features Reference Implementation
    00005  * Purpose:  Client of geocoding service.
    00006  * Author:   Even Rouault, <even dot rouault at mines dash paris dot org>
    00007  *
    00008  ******************************************************************************
    00009  * Copyright (c) 2012, Even Rouault
    00010  *
    00011  * Permission is hereby granted, free of charge, to any person obtaining a
    00012  * copy of this software and associated documentation files (the "Software"),
    00013  * to deal in the Software without restriction, including without limitation
    00014  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
    00015  * and/or sell copies of the Software, and to permit persons to whom the
    00016  * Software is furnished to do so, subject to the following conditions:
    00017  *
    00018  * The above copyright notice and this permission notice shall be included
    00019  * in all copies or substantial portions of the Software.
    00020  *
    00021  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    00022  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    00023  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    00024  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    00025  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    00026  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
    00027  * DEALINGS IN THE SOFTWARE.
    00028  ****************************************************************************/
    00029
    00030 #ifndef _OGR_GEOCODING_H_INCLUDED
    00031 #define _OGR_GEOCODING_H_INCLUDED
    00032
    00033 #include "cpl_port.h"
    00034 #include "ogr_api.h"
    00035
    00042 CPL_C_START
    00043
    00044 typedef struct _OGRGeocodingSessionHS *OGRGeocodingSessionH;
    00045
    00046 OGRGeocodingSessionH CPL_DLL OGRGeocodeCreateSession(char** papszOptions);
    00047
    00048 void CPL_DLL OGRGeocodeDestroySession(OGRGeocodingSessionH hSession);
    00049
    00050 OGRLayerH CPL_DLL OGRGeocode(OGRGeocodingSessionH hSession,
    00051                              const char* pszQuery,
    00052                              char** papszStructuredQuery,
    00053                              char** papszOptions);
    00054
    00055 OGRLayerH CPL_DLL OGRGeocodeReverse(OGRGeocodingSessionH hSession,
    00056                                     double dfLon, double dfLat,
    00057                                     char** papszOptions);
    00058
    00059 void CPL_DLL OGRGeocodeFreeResult(OGRLayerH hLayer);
    00060
    00061 CPL_C_END
    00062
    00063 #endif // _OGR_GEOCODING_H_INCLUDED

Generated for GDAL by 1.7.1.