Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
8889d349
Commit
8889d349
authored
Apr 14, 2021
by
Matthias Betz
Browse files
added UTF-8 as output charset for writing CityGML files when streaming files
parent
79d93647
Pipeline
#2817
passed with stage
in 3 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/parser/CityGmlParser.java
View file @
8889d349
...
...
@@ -483,7 +483,7 @@ public class CityGmlParser {
return
null
;
}
CityGMLOutputFactory
factory
=
builder
.
createCityGMLOutputFactory
();
CityModelWriter
writer
=
factory
.
createCityModelWriter
(
new
File
(
outputFile
));
CityModelWriter
writer
=
factory
.
createCityModelWriter
(
new
File
(
outputFile
)
,
"UTF-8"
);
writer
.
setPrefix
(
"qual"
,
QualityADEModule
.
NAMESPACE_URI
);
writer
.
setSchemaLocation
(
QualityADEModule
.
NAMESPACE_URI
,
"https://transfer.hft-stuttgart.de/pages/qualityade/0.1/qualityAde.xsd"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment