Class DwgReader


  • public class DwgReader
    extends Object
    Feature reader for DWG files.

    We are going to implement the required methods, based on the DWG classes available from jdwglibs

    Since:
    1.0.0
    Author:
    Andrea Antonello - www.hydrologis.com
    • Constructor Detail

      • DwgReader

        public DwgReader​(DwgFile pFile,
                         GeometryTranslator gTranslator)
                  throws org.geotools.feature.SchemaException
        A basic reader based on a DwgFile.
        Parameters:
        layerName - Should match a layerName in the Dwg file
        outFile -
        firstRound -
        Throws:
        org.geotools.feature.SchemaException
    • Method Detail

      • getFeatureCollectionsMap

        public Map<String,​org.geotools.data.simple.SimpleFeatureCollection> getFeatureCollectionsMap()
                                                                                                    throws IOException
        Throws:
        IOException
      • getTextFeatures

        public org.geotools.data.simple.SimpleFeatureCollection getTextFeatures()
      • getAttributesFeatures

        public org.geotools.data.simple.SimpleFeatureCollection getAttributesFeatures()
      • getMultiLineFeatures

        public org.geotools.data.simple.SimpleFeatureCollection getMultiLineFeatures()
      • getContourFeatures

        public org.geotools.data.simple.SimpleFeatureCollection getContourFeatures()
      • getMultiPointFeatures

        public org.geotools.data.simple.SimpleFeatureCollection getMultiPointFeatures()
      • getMultiPolygonFeatures

        public org.geotools.data.simple.SimpleFeatureCollection getMultiPolygonFeatures()