Made OGIS type numbers final per request from James MacGill @ Leeds

git-svn-id: http://svn.osgeo.org/postgis/trunk@51 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Paul Ramsey 2001-08-08 05:25:10 +00:00
parent ef3e0404dd
commit d8bd89be60

View file

@ -16,39 +16,39 @@ public class Geometry
/**
* The OGIS geometry type number for points.
*/
public static int POINT = 1;
public static final int POINT = 1;
/**
* The OGIS geometry type number for lines.
*/
public static int LINESTRING = 2;
public static final int LINESTRING = 2;
/**
* The OGIS geometry type number for polygons.
*/
public static int POLYGON = 3;
public static final int POLYGON = 3;
/**
* The OGIS geometry type number for aggregate points.
*/
public static int MULTIPOINT = 4;
public static final int MULTIPOINT = 4;
/**
* The OGIS geometry type number for aggregate lines.
*/
public static int MULTILINESTRING = 5;
public static final int MULTILINESTRING = 5;
/**
* The OGIS geometry type number for aggregate polygons.
*/
public static int MULTIPOLYGON = 6;
public static final int MULTIPOLYGON = 6;
/**
* The OGIS geometry type number for feature collections.
* Feature collections are not currently supported by the
* backend.
*/
public static int GEOMETRYCOLLECTION = 7;
public static final int GEOMETRYCOLLECTION = 7;
/**
* @return The OGIS geometry type number of this geometry.