1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-17 04:14:24 +02:00

Added support for Geographic 2D projections (coordinate systems) in vector maps

This commit is contained in:
2019-08-01 08:36:58 +02:00
parent 38b62c0121
commit 5f5b391cd9
21 changed files with 109 additions and 98 deletions

View File

@ -196,8 +196,8 @@ void MapSource::map(QXmlStreamReader &reader, Config &config)
if (!attr.hasAttribute("id"))
reader.raiseError("Missing dimension id");
else
config.dimensions.append(KV(attr.value("id").toString(),
reader.readElementText()));
config.dimensions.append(KV<QString, QString>
(attr.value("id").toString(), reader.readElementText()));
} else if (reader.name() == "crs") {
config.coordinateSystem = coordinateSystem(reader);
config.crs = reader.readElementText();