diff options
author | Julian Sherollari <jdotsh@gmail.com> | 2018-08-07 11:03:48 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2019-01-18 15:08:03 +0000 |
commit | 9485871222fb3c8f5f2d058ae8c5c0ca13b0ce2c (patch) | |
tree | de99bf587b2bc885de1a04f3d01910a6572e4ff5 /examples/location/geojson_viewer/data/05-multilinestring.json | |
parent | 1afc3744c33b67c29361e7300641c4e7212702fb (diff) | |
download | qtlocation-9485871222fb3c8f5f2d058ae8c5c0ca13b0ce2c.tar.gz |
Add QGeoJson: a GeoJSON parser
Add a Class to convert a GeoJSON document to a QVariantList ready to be
used as Model in a MapItemView. It comes with autotests, example and
detailed documentation.
[ChangeLog][QtLocation] Added a GeoJSON parser which can be used to
annotate maps with tracks, polygonal boundaries, etc.
Fixes: QTBUG-64111
Change-Id: Ib06d3902a052f69f75ae40be5c9ab56023cad916
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'examples/location/geojson_viewer/data/05-multilinestring.json')
-rw-r--r-- | examples/location/geojson_viewer/data/05-multilinestring.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/location/geojson_viewer/data/05-multilinestring.json b/examples/location/geojson_viewer/data/05-multilinestring.json new file mode 100644 index 00000000..cbd31b66 --- /dev/null +++ b/examples/location/geojson_viewer/data/05-multilinestring.json @@ -0,0 +1,7 @@ +{ + "type" : "MultiLineString", + "coordinates" : [ + [[13.5, 43], [10.73, 59.92]], + [[9.15, 45], [-3.15, 58.90]] + ] +} |