114115116117118119120121
return null; } @Override public LayerMetadata getMetadata() { LayerMetadata meta = new LayerMetadata(tableName,GetShapeType()); return meta; }
282930313233343536
@Override public void execute(Feature f) { rp.execute(f); }}); fc.setMetadata(new LayerMetadata (fc.getMetadata().getName(),fc.getMetadata().getType(),target)); fc.reComputeEnvelope(); }
6869707172737475
return null; } @Override public LayerMetadata getMetadata() { LayerMetadata meta = new LayerMetadata(shpReader.getName(),shpReader.getGeometryType()); return meta; }
85868788899091929394
fc.insert(f); f.setFeatureClass(fc); eb.mergeEnvelop(g.getEnvelop()); } fc.setMetadata( new LayerMetadata("Geometry",gs.get(0).getGeometryType())); fc.setEnvelope(eb.toEnvelop()); return new VectorLayer(fc); }
107108109110111112113114115116
{ fc.insert(f); eb.mergeEnvelop(f.getEnvelop()); } fc.setMetadata (new LayerMetadata("Feature",GeometryType.GeometryCollection)); fc.setEnvelope ( eb.toEnvelop()); return new VectorLayer(fc); }