Timeline for GeoJSON single feature Polygons changed to MultiPolygon by QGIS and how to convert
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 29, 2020 at 14:01 | comment | added | Martin | I forgot to say the last error is in 3.12.1 | |
May 29, 2020 at 10:32 | comment | added | Martin | Hi Jake. I just cant merge them in 3.10.6 or 3.12.1. As I said above it reports an error whilst merging and overtime has changed my files back to multipolygon and polygon. 3.12 states the outputs are not supported.on 3.10.6 it returns and error Polygon != MultiPolygon. I understand you gave a source file it seems to be converting input files to string why is it reporting back "files are not supported as an outputs for this algorith" and where is this message created in the source please as I stillcant see why it wouldreturn these strange messages? | |
Apr 5, 2020 at 15:35 | comment | added | Jake |
@Martin: When exporting to GeoJSON, QGIS does not check whether a layer contains zero, one, or more features. Instead, it will always create a FeatureCollection which then contains all features of the layer. This makes sense because a FeatureCollection maps most closely to QGIS' concept of layers (which are also collections of features and can contain zero, one, or more features).
|
|
Apr 5, 2020 at 9:16 | comment | added | Martin | Hi Jake thanks for this clarification on the MultiPolygon or Polygon Question , however it has not been explained how some Geojson had FeatureCollection in them as they was all created with single features in them . They have all been edited out now . I would imagine this FeatureCollection tag was used for multiple feature ? | |
Mar 30, 2020 at 19:02 | history | answered | Jake | CC BY-SA 4.0 |