export arcsde feature layer to mdb table by changing the value of vertex xy value

2525
3
08-23-2015 06:23 PM
Ye_FengFeng
New Contributor II

Hi there,

I need to export arcsde feature layer to mdb table, but I need to change the vertex xy value (2 decimals and need to run down on the 3rd value. What I can do now is set th xy resolution to 0.01, but by using this method if the 3rd decimal is 5-9, the 2nd decimal will add 1, what I want is no matter what is the 3rd decimal value, just remove it).

I am using .net arcobjects 9.2.

Is it possible to get the result I want?

Thanks in advance.

Tags (2)
Reply
0 Kudos
3 Replies
ModyBuchbinder
Regular Contributor II

Hi

This question belong to the ArcObject SDK and not the runtime.

If I understand the question you must go vertex by vertex and write them again in the way you like.

Something like newVertex.X = round(oldVertex.X + 0.5)

Have fun

Mody

Reply
0 Kudos
Ye_FengFeng
New Contributor II

Hi Mody,

Thank you for the reminding. I will put it in the arcobjects part.

Currently my problem is how can I get the xy value for all vertex before I perform further calculation.

Reply
0 Kudos
ModyBuchbinder
Regular Contributor II

Cast any geometry into IPointCollection

Reply
0 Kudos