Class GeometryTransformer


  • public class GeometryTransformer
    extends TransformerBase
    Used to walk through GeometryObjects issuing SAX events as needed.

    Please note that this GeometryTransformer issues GML2 events, the Coordinate

    Author:
    Ian Schneider
    • Field Detail

      • useDummyZ

        protected boolean useDummyZ
      • numDecimals

        protected int numDecimals
      • padWithZeros

        protected boolean padWithZeros
      • forceDecimalEncoding

        protected boolean forceDecimalEncoding
    • Constructor Detail

      • GeometryTransformer

        public GeometryTransformer()
    • Method Detail

      • setUseDummyZ

        public void setUseDummyZ​(boolean flag)
      • setNumDecimals

        public void setNumDecimals​(int num)
      • setPadWithZeros

        public void setPadWithZeros​(boolean padWithZeros)
      • setForceDecimalEncoding

        public void setForceDecimalEncoding​(boolean forceDecimalEncoding)
      • createTranslator

        public Translator createTranslator​(ContentHandler handler)
        Description copied from class: TransformerBase
        Create a Translator to issue SAXEvents to a ContentHandler.
        Specified by:
        createTranslator in class TransformerBase
        TODO:
        remove constant from GometryTraslator contructor call