The point value was changed when the point is under meter in c#.

4296
11
Jump to solution
08-01-2013 09:46 PM
zhouyang
Deactivated User
Question:
After we insert a single point into a gdb file, and then read the point, we fount the point value was totally changed, seems like the binary of the point was out of the range and was cut off.
For example,
Insert a point(-11120080.721382, 4590945.59778419)
Then, it was read out like (818800.00000000012,818800.00000000012)
we test the upper data with shape.gdb which is from Esri samples(FileGDB_API_VS2010_1_3).

Besides, if we test those points with our gdb file, the result is only the x was cut off, and the y can be read correctly.
Insert a point(-11120080.721382, 4590945.59778419)
Read out point(18435623992.988171,4590945.59778419)

More test:
if we insert the points like (11120080.721382, 4590945.59778419) , (-120, 85), no matter the shape.gdb or our files can read out them correctly.

Recreate the issues:
we create a simple([ATTACH=CONFIG]26413[/ATTACH]) which can show those questions, please have a look.

Thanks advanced.
0 Kudos
11 Replies
VinceAngelo
Esri Esteemed Contributor
Only when combined with "youse," as in "Hey, youse guys!  Wait up!"

- V
0 Kudos
zhouyang
Deactivated User
Morning Melita & Vangelo,

The issue is clear now and we can also confirm it caused by the custom GCS/PCS names. Next we will do more test and consider to use ESRI's coordinate systems on FileGeodatabase.


As for the "guys" thing, aha, forgive my carelessness. As the non-english people, we at least for me always make mistakes like that.
Any way, many thanks youse guys! :cool:
0 Kudos