Select to view content in your preferred language

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

3124
3
08-23-2015 06:23 PM
Ye_FengFeng
Deactivated User

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)
0 Kudos
3 Replies
ModyBuchbinder
Esri Regular Contributor

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

0 Kudos
Ye_FengFeng
Deactivated User

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.

0 Kudos
ModyBuchbinder
Esri Regular Contributor

Cast any geometry into IPointCollection

0 Kudos