GDAL
ogr_geos.h
1 /******************************************************************************
2  * $Id: ogr_geos.h f0f6012a09a48b0efe43ccc32c51224426a8e73d 2018-03-17 23:07:45Z Even Rouault $
3  *
4  * Project: OpenGIS Simple Features Reference Implementation
5  * Purpose: Definitions related to support for use of GEOS in OGR.
6  * This file is only intended to be pulled in by OGR implementation
7  * code directly accessing GEOS.
8  * Author: Frank Warmerdam <warmerdam@pobox.com>
9  *
10  ******************************************************************************
11  * Copyright (c) 2004, Frank Warmerdam <warmerdam@pobox.com>
12  *
13  * Permission is hereby granted, free of charge, to any person obtaining a
14  * copy of this software and associated documentation files (the "Software"),
15  * to deal in the Software without restriction, including without limitation
16  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17  * and/or sell copies of the Software, and to permit persons to whom the
18  * Software is furnished to do so, subject to the following conditions:
19  *
20  * The above copyright notice and this permission notice shall be included
21  * in all copies or substantial portions of the Software.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29  * DEALINGS IN THE SOFTWARE.
30  ****************************************************************************/
31 
32 #ifndef OGR_GEOS_H_INCLUDED
33 #define OGR_GEOS_H_INCLUDED
34 
35 #ifdef HAVE_GEOS
36 // To avoid accidental use of non reentrant GEOS API.
37 // (check only effective in GEOS >= 3.5)
38 # define GEOS_USE_ONLY_R_API
39 
40 # include <geos_c.h>
41 #else
42 
43 namespace geos {
44  class Geometry;
45 }
46 
47 #endif
48 
49 #endif /* ndef OGR_GEOS_H_INCLUDED */
Definition: ogr_geos.h:43

Generated for GDAL by doxygen 1.8.13.