public static void writeConfigXML(FeatureDatasetPoint pfd, java.util.Formatter f) { if (!(pfd instanceof PointDatasetStandardFactory.PointDatasetStandard)) { f.format("%s not instance of PointDatasetStandard%n", pfd.getLocation()); return; } PointDatasetStandardFactory.PointDatasetStandard spfd = (PointDatasetStandardFactory.PointDatasetStandard) pfd; TableAnalyzer analyser = spfd.getTableAnalyzer(); TableConfig config = analyser.getTableConfig(); TableConfigurer tc = analyser.getTableConfigurer(); if (tc == null) { f.format("%s has no TableConfig%n", pfd.getLocation()); return; } PointConfigXML writer = new PointConfigXML(); try { writer.writeConfigXML(config, tc.getClass().getName(), f); } catch (IOException e) { f.format("%s error writing=%s%n", pfd.getLocation(), e.getMessage()); return; } }
throw new IllegalStateException("No feature collections found"); setPointFeatureCollection(featureCollections);
throw new IllegalStateException("No feature collections found"); setPointFeatureCollection(featureCollections);
throw new IllegalStateException("No feature collections found"); setPointFeatureCollection(featureCollections);
public static void writeConfigXML(FeatureDatasetPoint pfd, java.util.Formatter f) { if (!(pfd instanceof PointDatasetStandardFactory.PointDatasetStandard)) { f.format("%s not instance of PointDatasetStandard%n", pfd.getLocation()); return; } PointDatasetStandardFactory.PointDatasetStandard spfd = (PointDatasetStandardFactory.PointDatasetStandard) pfd; TableAnalyzer analyser = spfd.getTableAnalyzer(); TableConfig config = analyser.getTableConfig(); TableConfigurer tc = analyser.getTableConfigurer(); if (tc == null) { f.format("%s has no TableConfig%n", pfd.getLocation()); return; } PointConfigXML writer = new PointConfigXML(); try { writer.writeConfigXML(config, tc.getClass().getName(), f); } catch (IOException e) { f.format("%s error writing=%s%n", pfd.getLocation(), e.getMessage()); } }
public static void writeConfigXML(FeatureDatasetPoint pfd, java.util.Formatter f) { if (!(pfd instanceof PointDatasetStandardFactory.PointDatasetStandard)) { f.format("%s not instance of PointDatasetStandard%n", pfd.getLocation()); return; } PointDatasetStandardFactory.PointDatasetStandard spfd = (PointDatasetStandardFactory.PointDatasetStandard) pfd; TableAnalyzer analyser = spfd.getTableAnalyzer(); TableConfig config = analyser.getTableConfig(); TableConfigurer tc = analyser.getTableConfigurer(); if (tc == null) { f.format("%s has no TableConfig%n", pfd.getLocation()); return; } PointConfigXML writer = new PointConfigXML(); try { writer.writeConfigXML(config, tc.getClass().getName(), f); } catch (IOException e) { f.format("%s error writing=%s%n", pfd.getLocation(), e.getMessage()); } }
public FeatureDataset open(FeatureType wantFeatureType, NetcdfDataset ncd, Object analyser, ucar.nc2.util.CancelTask task, Formatter errlog) throws IOException { if (analyser == null) analyser = TableAnalyzer.factory(null, wantFeatureType, ncd); return new PointDatasetStandard(wantFeatureType, (TableAnalyzer) analyser, ncd, errlog); }
public FeatureDataset open(FeatureType wantFeatureType, NetcdfDataset ncd, Object analyser, ucar.nc2.util.CancelTask task, Formatter errlog) throws IOException { if (analyser == null) analyser = TableAnalyzer.factory(null, wantFeatureType, ncd); return new PointDatasetStandard(wantFeatureType, (TableAnalyzer) analyser, ncd, errlog); }
@Override public FeatureDataset open(FeatureType wantFeatureType, NetcdfDataset ncd, Object analyser, ucar.nc2.util.CancelTask task, Formatter errlog) throws IOException { if (analyser == null) analyser = TableAnalyzer.factory(null, wantFeatureType, ncd); return new PointDatasetStandard(wantFeatureType, (TableAnalyzer) analyser, ncd, errlog); }