test_class.file: vortex-api/src/test/java/mil/army/usace/hec/vortex/geo/VectorUtilsTest.java
test_class.identifier: VectorUtilsTest
test_case.body: @Test
      void GetWktReturnsWktString() {
          File inFile = new File(getClass().getResource(
                  "/Truckee_River_Watershed_5mi_buffer/Truckee_River_Watershed_5mi_buffer.shp").getFile());
          String wkt = VectorUtils.getWkt(inFile.toPath());
          assertTrue(wkt.contains("USA_Contiguous_Albers_Equal_Area_Conic_USGS_version"));
      }
test_case.class_method_signature: VectorUtilsTest.GetWktReturnsWktString()
test_case.full_signature: @Test void GetWktReturnsWktString()
test_case.identifier: GetWktReturnsWktString
test_case.invocations: getFile getResource getClass getWkt toPath assertTrue contains
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void GetWktReturnsWktString()
focal_class.file: vortex-api/src/main/java/mil/army/usace/hec/vortex/geo/VectorUtils.java
focal_class.identifier: VectorUtils
focal_class.class_method_signature: VectorUtils.VectorUtils()
focal_class.full_signature: private  VectorUtils()
focal_class.identifier: VectorUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  VectorUtils()
focal_class.class_method_signature: VectorUtils.getWkt(Path pathToShp)
focal_class.full_signature: public static String getWkt(Path pathToShp)
focal_class.identifier: getWkt
focal_class.modifiers: public static
focal_class.parameters: (Path pathToShp)
focal_class.return: String
focal_class.signature: String getWkt(Path pathToShp)
focal_class.class_method_signature: VectorUtils.getEnvelope(Path shapefile)
focal_class.full_signature: public static Rectangle2D getEnvelope(Path shapefile)
focal_class.identifier: getEnvelope
focal_class.modifiers: public static
focal_class.parameters: (Path shapefile)
focal_class.return: Rectangle2D
focal_class.signature: Rectangle2D getEnvelope(Path shapefile)
focal_class.class_method_signature: VectorUtils.getEnvelope(DataSource dataSource)
focal_class.full_signature: private static Rectangle2D getEnvelope(DataSource dataSource)
focal_class.identifier: getEnvelope
focal_class.modifiers: private static
focal_class.parameters: (DataSource dataSource)
focal_class.return: Rectangle2D
focal_class.signature: Rectangle2D getEnvelope(DataSource dataSource)
focal_class.class_method_signature: VectorUtils.getEnvelope(Layer layer)
focal_class.full_signature: private static Rectangle2D getEnvelope(Layer layer)
focal_class.identifier: getEnvelope
focal_class.modifiers: private static
focal_class.parameters: (Layer layer)
focal_class.return: Rectangle2D
focal_class.signature: Rectangle2D getEnvelope(Layer layer)
focal_class.class_method_signature: VectorUtils.getValues(Path pathToFeatures, String field)
focal_class.full_signature: public static Set<String> getValues(Path pathToFeatures, String field)
focal_class.identifier: getValues
focal_class.modifiers: public static
focal_class.parameters: (Path pathToFeatures, String field)
focal_class.return: Set<String>
focal_class.signature: Set<String> getValues(Path pathToFeatures, String field)
focal_class.class_method_signature: VectorUtils.getFields(Path pathToFeatures)
focal_class.full_signature: public static Set<String> getFields(Path pathToFeatures)
focal_class.identifier: getFields
focal_class.modifiers: public static
focal_class.parameters: (Path pathToFeatures)
focal_class.return: Set<String>
focal_class.signature: Set<String> getFields(Path pathToFeatures)
focal_class.class_method_signature: VectorUtils.toEnvelope(Rectangle2D rectangle2D)
focal_class.full_signature: public static Envelope toEnvelope(Rectangle2D rectangle2D)
focal_class.identifier: toEnvelope
focal_class.modifiers: public static
focal_class.parameters: (Rectangle2D rectangle2D)
focal_class.return: Envelope
focal_class.signature: Envelope toEnvelope(Rectangle2D rectangle2D)
focal_method.body: public static String getWkt(Path pathToShp){
          Driver driver = ogr.GetDriverByName("ESRI Shapefile");
          DataSource dataSource = driver.Open(pathToShp.toString(), 0);
          Layer layer = dataSource.GetLayer(0);
          SpatialReference src = layer.GetSpatialRef();
          src.MorphFromESRI();
          String wkt = src.ExportToPrettyWkt();
  
          driver.delete();
          dataSource.delete();
          layer.delete();
          src.delete();
  
          return wkt;
      }
focal_method.class_method_signature: VectorUtils.getWkt(Path pathToShp)
focal_method.full_signature: public static String getWkt(Path pathToShp)
focal_method.identifier: getWkt
focal_method.invocations: GetDriverByName Open toString GetLayer GetSpatialRef MorphFromESRI ExportToPrettyWkt delete delete delete delete
focal_method.modifiers: public static
focal_method.parameters: (Path pathToShp)
focal_method.return: String
focal_method.signature: String getWkt(Path pathToShp)