You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
|
1 month ago
|
/**********************************************************************
|
||
|
|
*
|
||
|
|
* GEOS - Geometry Engine Open Source
|
||
|
|
* http://geos.osgeo.org
|
||
|
|
*
|
||
|
|
* Copyright (C) 2005-2006 Refractions Research Inc.
|
||
|
|
* Copyright (C) 2001-2002 Vivid Solutions Inc.
|
||
|
|
*
|
||
|
|
* This is free software; you can redistribute and/or modify it under
|
||
|
|
* the terms of the GNU Lesser General Public Licence as published
|
||
|
|
* by the Free Software Foundation.
|
||
|
|
* See the COPYING file for more information.
|
||
|
|
*
|
||
|
|
**********************************************************************
|
||
|
|
*
|
||
|
|
* Last port: io/WKBConstants.java rev. 1.1 (JTS-1.10)
|
||
|
|
*
|
||
|
|
**********************************************************************/
|
||
|
|
|
||
|
|
#ifndef GEOS_IO_WKBCONSTANTS_H
|
||
|
|
#define GEOS_IO_WKBCONSTANTS_H
|
||
|
|
|
||
|
|
namespace geos {
|
||
|
|
namespace io {
|
||
|
|
|
||
|
|
/// Constant values used by the WKB format
|
||
|
|
namespace WKBConstants {
|
||
|
|
|
||
|
|
/// Big Endian
|
||
|
|
const int wkbXDR = 0;
|
||
|
|
|
||
|
|
/// Little Endian
|
||
|
|
const int wkbNDR = 1;
|
||
|
|
|
||
|
|
const int wkbPoint = 1;
|
||
|
|
const int wkbLineString = 2;
|
||
|
|
const int wkbPolygon = 3;
|
||
|
|
const int wkbMultiPoint = 4;
|
||
|
|
const int wkbMultiLineString = 5;
|
||
|
|
const int wkbMultiPolygon = 6;
|
||
|
|
const int wkbGeometryCollection = 7;
|
||
|
|
}
|
||
|
|
|
||
|
|
} // namespace geos::io
|
||
|
|
} // namespace geos
|
||
|
|
|
||
|
|
#endif // #ifndef GEOS_IO_WKBCONSTANTS_H
|