org.geotools.gml2.bindings
Class GMLUtil

Object
  extended by GMLUtil

public class GMLUtil
extends Object


Constructor Summary
GMLUtil()
           
 
Method Summary
static int getDimension(CoordinateSequence seq)
          Determines the dimension of a coordinate sequence.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMLUtil

public GMLUtil()
Method Detail

getDimension

public static int getDimension(CoordinateSequence seq)
Determines the dimension of a coordinate sequence. This is based off of the first coordinate in the sequence.

Parameters:
seq - The coordinate sequence in question.
Returns:
The best guess at a dimension, -1 if it can not be determined.


Copyright © 1996-2009 Geotools. All Rights Reserved.