Revision: 6447 http://sourceforge.net/p/jump-pilot/code/6447 Author: edso Date: 2020-09-12 13:19:58 +0000 (Sat, 12 Sep 2020) Log Message: ----------- add comment
Modified Paths: -------------- core/trunk/src/com/vividsolutions/jump/workbench/imagery/ReferencedImageFactoryFileLayerLoader.java Modified: core/trunk/src/com/vividsolutions/jump/workbench/imagery/ReferencedImageFactoryFileLayerLoader.java =================================================================== --- core/trunk/src/com/vividsolutions/jump/workbench/imagery/ReferencedImageFactoryFileLayerLoader.java 2020-09-12 13:19:24 UTC (rev 6446) +++ core/trunk/src/com/vividsolutions/jump/workbench/imagery/ReferencedImageFactoryFileLayerLoader.java 2020-09-12 13:19:58 UTC (rev 6447) @@ -170,6 +170,8 @@ Feature feature = new ReferencedImageFeature( ImageryLayerDataset.getSchema()); feature.setAttribute(ImageryLayerDataset.ATTR_URI, uri.toString()); + // save important attributes, later used ImageryLayerDataset.attachImage() + // to use the proper factory/loader combination ImageryLayerDataset.saveFeatureImgAttribs(feature, referencedImageFactory); feature.setGeometry(new GeometryFactory().createPoint((Coordinate) null)); return feature; _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel