2

I'm puzzled: when I copy-paste a feature with linestringz() geometry to another layer I get linestring() and the elevation attribute is lost. Although when I paste to a text editor I see a linestringz(). Can anybody please tell why I see this behavior? Addendum: both layers have linestringz() geometry type. The file I'm copying to, is saved as geojson.

2

Both layers must be the same type. zpolygon

As you can see, one layer is MultiPoligon and second is MultiPoligonZ. I assume this may be the reason.

  • As said in the title: both Layers (saved as geojson files) have linestringz() geometries! – Kay Oct 9 at 5:43
  • my shame, I double checked and they weren't same geom type.. Thanks! – Kay Oct 9 at 5:47
  • ...there's still a poblem - obviously it has to do with the json format of my layer.. I've safed my file as geojson, with "include z-values" ticked in the "save features as" dialog. When I look at the source properties of the json, it says geom is linestring, although I did save with Z.. So, when I use this layer and paste linestringz() geometries from an sqlite layer, the z-values get lost.. I've a virtual field in the target layer that outputs the wkt-strings, and after the paste I get a linestring() wkt instead of linestringz(). When I paste the same to a text editor I get linestringz().. – Kay Oct 9 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.