Commit 770caa5b authored by Eric Duminil's avatar Eric Duminil
Browse files

EnrichCitygml: More data for Marieke.

parent 9ffe9e9e
......@@ -16,7 +16,23 @@ public class PrepareDataForMarieke
public static void main(String[] whatever) throws Exception {
processWholeRegion();
processSmallBlocks();
processStatusQuo();
}
private static void processStatusQuo() throws IOException, CityGMLContextException, CityGMLReadException,
InterruptedException, CityGMLWriteException, JAXBException, ParseException {
File folder = new File("data/Marieke/GebietsausschnittStatusQuo/");
File shapefile = new File("data/Marieke/GebietsausschnittStatusQuo/Baum_alle.shp");
File[] gmls = folder.listFiles((dir, name) -> name.endsWith(".gml"));
for (File gml : gmls) {
System.err.println(">>> " + gml);
String extension = shapefile.getName().replaceAll("\\.shp", "");
String[] args = new String[] { gml.toString(), // Input GML
shapefile.toString(), // Added trees, in Baumkatasterformat,
extension, // Output GML suffix
};
GreenEnricher.main(args);
}
}
private static void processSmallBlocks() throws IOException, CityGMLContextException, CityGMLReadException,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment