GDAL
ogrgeomediageometry.h
1/******************************************************************************
2 * $Id: ogrgeomediageometry.h 355b41831cd2685c85d1aabe5b95665a2c6e99b7 2019-06-19 17:07:04 +0200 Even Rouault $
3 *
4 * Project: OpenGIS Simple Features Reference Implementation
5 * Purpose: Implements decoder of geomedia geometry blobs
6 * Author: Even Rouault, <even dot rouault at spatialys.com>
7 *
8 ******************************************************************************
9 * Copyright (c) 2011, Even Rouault <even dot rouault at spatialys.com>
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
30#ifndef OGR_GEOMEDIAGEOMETRY_H_INCLUDED
31#define OGR_GEOMEDIAGEOMETRY_H_INCLUDED
32
33#include "ogr_geometry.h"
34#include "ogr_spatialref.h"
35#include "ogr_feature.h"
36
37OGRErr OGRCreateFromGeomedia( GByte *pabyGeom,
38 OGRGeometry **ppoGeom,
39 int nBytes );
40
41OGRSpatialReference* OGRGetGeomediaSRS(OGRFeature* poFeature);
42
43#endif
A simple feature, including geometry and attributes.
Definition ogr_feature.h:371
Abstract base class for all geometry classes.
Definition ogr_geometry.h:327
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition ogr_spatialref.h:158
unsigned char GByte
Unsigned byte type.
Definition cpl_port.h:215
int OGRErr
Type for a OGR error.
Definition ogr_core.h:341
Simple feature classes.
Simple feature geometry classes.
Coordinate systems services.