00001 /********************************************************************** 00002 * $Id: WKBConstants.h 1820 2006-09-06 16:54:23Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2005-2006 Refractions Research Inc. 00008 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 **********************************************************************/ 00016 00017 #ifndef GEOS_IO_WKBCONSTANTS_H 00018 #define GEOS_IO_WKBCONSTANTS_H 00019 00020 namespace geos { 00021 namespace io { 00022 00024 namespace WKBConstants { 00025 00027 const int wkbXDR = 0; 00028 00030 const int wkbNDR = 1; 00031 00032 const int wkbPoint = 1; 00033 const int wkbLineString = 2; 00034 const int wkbPolygon = 3; 00035 const int wkbMultiPoint = 4; 00036 const int wkbMultiLineString = 5; 00037 const int wkbMultiPolygon = 6; 00038 const int wkbGeometryCollection = 7; 00039 } 00040 00041 } // namespace geos::io 00042 } // namespace geos 00043 00044 #endif // #ifndef GEOS_IO_WKBCONSTANTS_H 00045 00046 /********************************************************************** 00047 * $Log$ 00048 * Revision 1.2 2006/05/23 09:24:37 strk 00049 * * source/io/ByteOrderValues.cpp: changed ENDIAN_BIG and ENDIAN_LITTLE values to match WKBConstants::XDR and WKBConstants::NDR respectively. 00050 * * source/headers/geos/io/WKBConstants.h: added comments about meaning of XDR/NDR. 00051 * 00052 * Revision 1.1 2006/03/20 18:18:14 strk 00053 * io.h header split 00054 * 00055 **********************************************************************/