Commit 92a8de3d authored by Eric Duminil's avatar Eric Duminil
Browse files

NOTE

parent fa0b90e0
...@@ -32,13 +32,13 @@ ...@@ -32,13 +32,13 @@
* same coordinate system as the CityGML), it iterates over each Building and checks if the building is inside the * same coordinate system as the CityGML), it iterates over each Building and checks if the building is inside the
* geometry. It only works with CityGML files smaller than 2GB. It uses VTD-XML parser instead of a whole * geometry. It only works with CityGML files smaller than 2GB. It uses VTD-XML parser instead of a whole
* Simstadt/Citydoctor/Citygml model. * Simstadt/Citydoctor/Citygml model.
* *
* @param wktPolygon * @param wktPolygon
* @param srsName * @param srsName
* @param output * @param output
* @param citygmlPaths * @param citygmlPaths
* *
* *
* @writes the extracted Citygml, including header, buildings and footer to output * @writes the extracted Citygml, including header, buildings and footer to output
* @return counts of found building. * @return counts of found building.
* @throws ParseException * @throws ParseException
...@@ -88,6 +88,7 @@ static int selectRegionDirectlyFromCityGML(String wktPolygon, String srsName, Wr ...@@ -88,6 +88,7 @@ static int selectRegionDirectlyFromCityGML(String wktPolygon, String srsName, Wr
} }
LOGGER.info("Buildings found in selected region " + foundBuildingsCount); LOGGER.info("Buildings found in selected region " + foundBuildingsCount);
//NOTE: This could be a problem if header starts with <core:CityModel> and footer ends with </CityModel>
sb.append(citygml.getFooter()); sb.append(citygml.getFooter());
return foundBuildingsCount; return foundBuildingsCount;
} }
...@@ -99,7 +100,7 @@ static int selectRegionDirectlyFromCityGML(String wktPolygon, String srsName, Wr ...@@ -99,7 +100,7 @@ static int selectRegionDirectlyFromCityGML(String wktPolygon, String srsName, Wr
* from the extracting polygon. The real envelope might be even smaller, but it could only be known at the end of the * from the extracting polygon. The real envelope might be even smaller, but it could only be known at the end of the
* parsing, after having analyzed every building. The envelope should be written in the header. If present, min and * parsing, after having analyzed every building. The envelope should be written in the header. If present, min and
* max values for Z are kept. * max values for Z are kept.
* *
* @param header * @param header
* @param envelope * @param envelope
* @param srsName * @param srsName
......
Markdown is supported
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