Spatial dataframe not honoring Z value

287
1
05-11-2023 11:16 AM
Labels (1)
CarlSunderman
Occasional Contributor

I have  geopandas data frame with linestring values. When I export from geopandas, my shapefile has_z = True.

When I convert this geodataframe to a spatial data frame and export from the spatial dataframe, the has_Z is False

Why would this happen?

Tags (1)
0 Kudos
1 Reply
CarlSunderman
Occasional Contributor

Converting from the geodataframe that has z values to a spatial data frame, I lose the z values.

When I export out a shapefile from the geopandas geodataframe, then load that back into the arcgis spatial data frame, the spatial data frame has z enabled. 

So I cannot convert from a geodataframe to a spatial dataframe and keep the z values? I will need to write out to a shapefile, then read it back in to get the z enabled sdf

0 Kudos