Class GMLUtil


  • public class GMLUtil
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GMLUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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.