Select to view content in your preferred language

The spatial reference z values do not match

1186
1
05-06-2012 11:29 PM
MohammadIshfaq
Occasional Contributor
Hello all,
I am working with a feature dataset which used to be in low-precision and I converted it to high precision using ArcObjects API 'spatialReferenceFactory3.ConstructHighPrecisionSpatialReference(lowSpatialReference, -1, 0, 0);'. Initially, I applied sdelayer -o alter command to convert feature classes precision which are residing in this feature dataset as I was not aware of this ArcObjects API. I can reproduce this problem on another environment but now I am facing a strange behavior. When I try to copy/paste this feature dataset from its source 9.3.1 SDE to another environment SDE/File/Personal geodatabase I am getting an error message stating 'The spatial reference z values do not match'.
I can fix this issue with a simple work around by just recreating this feature dataset and its contained feature classes and then importing data into it, but the problem is that for certain business requirements I can not recreate this feature dataset now. So, What I am really looking for is a solution to this problem. Kindly correct me if I am wrong, is there any way I can 'calculate' spatial reference and associated domain values for all the feature classes inside this feature dataset and their container and assign it to the container which might fix this problem?. In a test, I made them identical to a recreated similar feature dataset using ArcObjects API Method 'pGeoDatasetEdit.AlterSpatialReference(highSpatialReference);' but it is not helping. Please provide any clue or reference in this regard.

Thanks in advance for your support and time.
0 Kudos
1 Reply
StuartFraser
Emerging Contributor
hi

I am having the same problem - did you find a suitable solution? If so, I would love to know how to get around this!

Thank you
0 Kudos