Select to view content in your preferred language

migrate from .NET to C++

1249
4
05-21-2013 05:08 AM
oyleiste
Regular Contributor
Dear all,

I developed an application in C# .NET with ArcGIS modules. I want to migrate my application from .NET to C++ to get better performance, since I'm not satisfied with ArcGIS's performance.
What do you think? Does is worth? Why?

Thanks
Regards
0 Kudos
4 Replies
RichardWatson
Deactivated User
If a high percentage of the time is spent executing your code then refactoring or rewriting it can make sense.

It really depends on exactly what your code is doing.
0 Kudos
oyleiste
Regular Contributor
If a high percentage of the time is spent executing your code then refactoring or rewriting it can make sense.

It really depends on exactly what your code is doing.


My project has an ArcMap object which loads maps and DTED files. User can draw some lines, polygons, polylines, circles, etc.
There is map navigation tools: Pan, Zoom in/out, etc.
User can add text, add custom notes, custom signs, etc. ...

My main problem is updating an element's locatin (PartialRefresh, DeleteElement, PartialRefresh, AddElement, PartialRefresh) every second.
Maybe I should use dynamic map.

Well, what do you think?

Thanks for your reply
0 Kudos
RichardWatson
Deactivated User
My guess is that you are trying to do some type of rubber banding where you give the user immediate feedback.

The way that you are doing this appears to be by actually modifying the underlying objects which seems inefficient.  My guess is that rewriting this in C++ is not going to help you.

I'm not sure how to do this efficiently in ArcMap.  I did search the forums and found the following post:

http://forums.arcgis.com/threads/82755-Save-a-Geometry-(draw-using-Rubberband)-as-a-feature-in-Featu...
0 Kudos
oyleiste
Regular Contributor
My guess is that you are trying to do some type of rubber banding where you give the user immediate feedback.

The way that you are doing this appears to be by actually modifying the underlying objects which seems inefficient.  My guess is that rewriting this in C++ is not going to help you.

I'm not sure how to do this efficiently in ArcMap.  I did search the forums and found the following post:

http://forums.arcgis.com/threads/82755-Save-a-Geometry-(draw-using-Rubberband)-as-a-feature-in-Featu...


Actually I move many objects in 1 Hz (once a second). Application slows down as objects' number increase. I searched about dynamic display but it doesn't have many features that non-dynamic display have. So I can't use it.

I'm really don't know what to do; since you say migration to C++ won't help me.

Thank for your reply
0 Kudos