Class GeometryTranslator


  • public class GeometryTranslator
    extends Object
    • Constructor Detail

      • GeometryTranslator

        public GeometryTranslator​(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
    • Method Detail

      • convertDwgMText

        public org.opengis.feature.simple.SimpleFeature convertDwgMText​(String typeName,
                                                                        String layerName,
                                                                        DwgMText text,
                                                                        int id)
        Builds a point feature from a dwg text.
      • convertDwgText

        public org.opengis.feature.simple.SimpleFeature convertDwgText​(String typeName,
                                                                       String layerName,
                                                                       DwgText text,
                                                                       int id)
        Builds a point feature from a dwg text.
      • convertDwgAttribute

        public org.opengis.feature.simple.SimpleFeature convertDwgAttribute​(String typeName,
                                                                            String layerName,
                                                                            DwgAttrib attribute,
                                                                            int id)
        Builds a point feature from a dwg attribute.
      • convertDwgPolyline3D

        public org.opengis.feature.simple.SimpleFeature convertDwgPolyline3D​(String typeName,
                                                                             String layerName,
                                                                             DwgPolyline3D polyline3d,
                                                                             int id)
        Builds a line feature from a dwg polyline 3D. TODO handle these as contourlines
      • convertDwgPolyline2D

        public org.opengis.feature.simple.SimpleFeature convertDwgPolyline2D​(String typeName,
                                                                             String layerName,
                                                                             DwgPolyline2D polyline2d,
                                                                             int id)
        Builds a line feature from a dwg polyline 2D.
      • convertDwgLwPolyline

        public org.opengis.feature.simple.SimpleFeature convertDwgLwPolyline​(String typeName,
                                                                             String layerName,
                                                                             DwgLwPolyline lwPolyline,
                                                                             int id)
        Builds a line feature from a dwg polyline 2D.
      • convertDwgPoint

        public org.opengis.feature.simple.SimpleFeature convertDwgPoint​(String typeName,
                                                                        String layerName,
                                                                        DwgPoint point,
                                                                        int id)
        Builds a point feature from a dwg point.
      • convertDwgLine

        public org.opengis.feature.simple.SimpleFeature convertDwgLine​(String typeName,
                                                                       String layerName,
                                                                       DwgLine line,
                                                                       int id)
        Builds a line feature from a dwg line.
      • convertDwgCircle

        public org.opengis.feature.simple.SimpleFeature convertDwgCircle​(String typeName,
                                                                         String layerName,
                                                                         DwgCircle circle,
                                                                         int id)
        Builds a polygon feature from a dwg circle.
      • convertDwgSolid

        public org.opengis.feature.simple.SimpleFeature convertDwgSolid​(String typeName,
                                                                        String layerName,
                                                                        DwgSolid solid,
                                                                        int id)
        Builds a polygon feature from a dwg solid.
      • convertDwgArc

        public org.opengis.feature.simple.SimpleFeature convertDwgArc​(String typeName,
                                                                      String layerName,
                                                                      DwgArc arc,
                                                                      int id)
        Builds a line feature from a dwg arc.