Class TLcdPOLModelDecoder

java.lang.Object
com.luciad.format.pol.TLcdPOLModelDecoder
All Implemented Interfaces:
ILcdInputStreamFactoryCapable, ILcdModelDecoder

@LcdService(service=ILcdModelDecoder.class, priority=20000) public class TLcdPOLModelDecoder extends Object implements ILcdModelDecoder, ILcdInputStreamFactoryCapable

This ILcdModelDecoder allows to decode Polygon files produced by the TAAM application of the Preston Group PTY Ltd.

The implementation decodes polygons as ILcdEditablePOLGeometry objects. Whether they are open or closed can be retrieved through the method ILcdPOLGeometry.isClosed().

All ILcdPOLGeometry instances implement both the ILcdFeatured and the ILcdDataObject interface. The ILcdDataObject interface was implemented to support the new unified domain model across all LuciadLightspeed products. The ILcdFeatured interface exists for backwards compatibility.

The TLcdDataModel used by all decoded models of this model decoder can be retrieved by calling TLcdPOLDataTypes.getDataModel()

NOTE: the current implementation does not support grouping of elements as indicated with {} brackets in the POL files. Grouped objects are ignored. NOTE: the decoder stores the color index for every element in the model, though no mechanism is present to add a color table to the model to map the index to a color.