public static byte [ ] geometryToEsriShape ( Geometry geometry ) { if ( geometry == null ) throw new IllegalArgumentException ( ) ; OperatorExportToESRIShape op = ( OperatorExportToESRIShape ) factory . getOperator ( Operator . Type . ExportToESRIShape ) ; return op . execute ( 0 , geometry ) . array ( ) ; }
Exports geometry to the ESRI shape file format .