aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPXMLExporter.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPXMLExporter.m')
-rw-r--r--Source/SPXMLExporter.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPXMLExporter.m b/Source/SPXMLExporter.m
index 83497ec4..4d776f55 100644
--- a/Source/SPXMLExporter.m
+++ b/Source/SPXMLExporter.m
@@ -195,6 +195,9 @@
else if ([data isKindOfClass:[NSNull class]]) {
[xmlItem setString:[self xmlNULLString]];
}
+ else if ([data isKindOfClass:[MCPGeometryData class]]) {
+ [xmlItem setString:[data wktString]];
+ }
else {
[xmlItem setString:[data description]];
}