Bug report #13855
Multipoint asJSON is like linestring and not curvePolygon
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | René-Luc ReLuc | ||
Category: | Geometry | ||
Affected QGIS version: | 2.10.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 21878 |
Description
The exportToGeoJSON method for Multipoint returns the geometry coordinates like a curvePolygon coordinates instead of a linestring coordinates.
To fixed it just remove the extra '[' and ']'.
Associated revisions
[BUGFIX] Multipoint asJSON
Fixes #13855
Multipoint asJSON made MultiPoint as Multilinestring with only 1 point by linestring.
This bugfix adds tests.
[BUGFIX] Multipoint asJSON
Fixes #13855
Multipoint asJSON made MultiPoint as Multilinestring with only 1 point by linestring.
This bugfix adds tests.
[BUGFIX] Multipoint asJSON
Fixes #13855
Multipoint asJSON made MultiPoint as Multilinestring with only 1 point by linestring.
This bugfix adds tests.
Conflicts:
src/core/geometry/qgsmultipointv2.cpp
tests/src/core/testqgsgeometry.cpp
History
#1 Updated by René-Luc ReLuc about 9 years ago
- Assignee set to René-Luc ReLuc
#2 Updated by René-Luc ReLuc about 9 years ago
- Status changed from Open to Closed
Fixed in changeset 00ea968347d40912ffa2a8954f298c015c664d29.