So I am having an issue when packaging a mobile map for offline viewing. This is a package that I normally do every week, but just recently I have started getting the Z value error
unfortunately the error message isn't very helpful, and the log doesn't show much either
Through trial and error I narrowed it down to one layer, and checking out the layer it doesn't have Z or M values enabled, yet I am still getting the error
I've tried creating a new feature class and copying records over, tried deleting the last 2 months of new/edited records. I've ran the repair geometry tool which fixed some lines with short sections, and one null geometry, but still did not solve the problem.
Any ideas???
By chance, do you have a field in that layer that actually has z value data entered? I don’t know if you’re creating this data from scratch, but if the data is preexisting then perhaps it was created when z values were aware?
the data comes from an enterprise geodatabase, and same thing, no Z values anywhere. The only geometry field is a standard line type. I'm guessing the field type would be geometry if there was something that changed in the schema with a z value field
There are about 25 layers that are part of the map, and there is only the one layer causing the issue. I'm assuming there is some errant data that is causing the issue, but like I said I tried deleting records from the past 2 months just to rule that out.
This is a wild guess, so your geometry has no Z-values which you clearly show. Does the coordinate system of this Feature Class have a vertical coordinate system and could that be the problem?
So here is a screen shot of a dummy dataset where I have set the coordinate system to be British National grid and set its vertical coordinate system to be Newlyn. In ArcPro you can quickly check that the VCS has been set by looking at the layer properties, example below.
Hey there. Having a similar issue. Did you find a solution?
Any Solution? I am having the same issue here when packaging a project.
Any solution to this issue? I'm having the same trouble. I've tried saving as a new ArcPro Project and then attempt to create the Map Package. - no luck. I've pasted the Map into a new Project & tried Map Package again. No luck. All the datasets are from various ArcGIS OnLine cloud sources. I'm trying to save the Map Package locally. None of the datasets have z values but still get this error. Thanks.
I don't know if this will help, but I ran into the same problem (which lead me to here). I search the ESRI error
ESRI response:
While this error can occur, it occurs so rarely that the typical causes have not been identified so no solution is available at this time.
If you would use the feedback form to provide details about the steps you were using that led to this error, that will be helpful in identifying and providing a solution in the future."
That being said I exported the layer into my default GDB and I was able to publish the web layer.
I am having the same issue and log file entry coded by an idiot - it does not not have reference for the layer causing the error
What's the fix? I just started getting this on a map package that I've created a dozen time before.