Class OperatorImportFromESRIShape

java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorImportFromESRIShape
Direct Known Subclasses:
OperatorImportFromESRIShapeLocal

public abstract class OperatorImportFromESRIShape extends Operator
Import from ESRI shape format.
  • Constructor Details

    • OperatorImportFromESRIShape

      public OperatorImportFromESRIShape()
  • Method Details

    • getType

      public Operator.Type getType()
      Specified by:
      getType in class Operator
    • execute

      abstract GeometryCursor execute(int importFlags, Geometry.Type type, ByteBufferCursor shapeBuffers)
      Performs the ImportFromESRIShape operation on a stream of shape buffers
      Parameters:
      importFlags - Use the ShapeImportFlags interface. The default is 0, which means geometry comes from a trusted source and is topologically simple. If the geometry comes from non-trusted source (that is it can be non-simple), pass ShapeImportNonTrusted.
      type - The geometry type that you want to import. Use the Geometry.Type enum. It can be Geometry.Type.Unknown if the type of geometry has to be figured out from the shape buffer.
      shapeBuffers - The cursor over shape buffers that hold the Geometries in ESRIShape format.
      Returns:
      Returns a GeometryCursor.
    • execute

      public abstract Geometry execute(int importFlags, Geometry.Type type, ByteBuffer shapeBuffer)
      Performs the ImportFromESRIShape operation.
      Parameters:
      importFlags - Use the ShapeImportFlags interface. The default is 0, which means geometry comes from a trusted source and is topologically simple. If the geometry comes from non-trusted source (that is it can be non-simple), pass ShapeImportNonTrusted.
      type - The geometry type that you want to import. Use the Geometry.Type enum. It can be Geometry.Type.Unknown if the type of geometry has to be figured out from the shape buffer.
      shapeBuffer - The buffer holding the Geometry in ESRIShape format.
      Returns:
      Returns the imported Geometry.
    • local

      public static OperatorImportFromESRIShape local()