293031323334353637
sName = sName.replaceAll(" ", "_"); IVectorLayer vectorLayer = new ShpLayerFactory().create(sName, iShapeType, types, sFields, sFilename, crs); return vectorLayer; } else { throw new UnsupportedOutputChannelException(); } }
535455565758596061
createBaseDir(sFilename); GTRasterLayer layer = new GTRasterLayer(); layer.create(sName, sFilename, extent, iDataType, iBands, crs); return layer; } else { throw new UnsupportedOutputChannelException(); } }
60616263646566
} public ITable getNewTable(String sName, Class types[], String[] sFields, IOutputChannel channel) throws UnsupportedOutputChannelException { throw new UnsupportedOutputChannelException(); }
343536373839404142
585960616263646566
65666768697071