I have 2 shapefiles in QGIS (one point layer
and one Line layer
as shown in Figure). I am trying to save these two layers in one GeoJSON. I have seen some of the previous answers such as answer [1] , answer [2] but they are merging the files into one with UNION functions.
- My goal is not to merge the features but to save the two layers in one GeoJSON file. For instance, when I import the GeoJSON file to QGIS it should show the point and line layer seperately as show in Figure.
- I used
Export Features As / GeoJSON
but it only save 1 layer.