This project is read-only.

Writing Z value to Shapefile

Jul 22, 2011 at 9:50 AM

Hello all,


Apologies if I’m not meant to post here, I posted in the other forum yesterday and have been really struggling with this since.


I cannot write z values to a shape file (height). If I create geometry and add a coordinate with a X Y Z or a X Y Z M, and add this geometry to a feature then the Z value appears to be in the feature correctly as I can write it to the Console. However, when I use SaveAs and save the shapefile, and open it with GlobalMapper or other GIS application only the X and Y values are present.


Is there anything specific I need to do to enable Z values to be written out? I have set coordinateType = CoordinateType.Z but no joy.
I'd be really really appreciative of any help you guys can offer me.


Thanks

Aug 23, 2012 at 4:50 AM

Did you have any luck with this? Got same issue.

Nov 6, 2014 at 11:44 PM
anyone?
Nov 7, 2014 at 1:45 AM
Edited Nov 7, 2014 at 1:53 AM
I reported the problem, it has been fixed to my knowledge (a few months ago):

https://dotspatial.codeplex.com/discussions/535704

https://dotspatial.codeplex.com/workitem/25209