General SDK questions

dcoggin
dcoggin Global Mapper UserTrusted User
edited October 2009 in SDK
Mike,

I'm considering buying the SDK and I've got a few questions:

- I would like to incorporate a lot of my freestanding code to work inside a graphical application using the SDK. I have only used Visual Basic for Windows GUI programs but do all of my programming in C++ and Fortran. I would prefer to use C++ for the GUI. Will I have to use C++ managed code to build programs using Windows forms in Visual Studio? I know this probably isn't a GM question, but if it's a quick answer . . .

- In addition to raster processing, I would like to display large (over 2 million node) finite element meshes. Would I be best to use GM's existing vector display API or would I need something faster. I am interested in doing quick panning.

- Is there a capability to read and write vector formats that are not included in regular GM? Is there something like the plug-in feature for vector datasets? If I read and write with my own code would I display using GM or would I use my own code?

Thanks for your help,
David

Comments

  • dcoggin
    dcoggin Global Mapper User Trusted User
    edited October 2009
    Also, there is a C++ Sample Application listed on the Developer page of your website, but no link. Is a C++ sample application available?

    David
  • global_mapper
    global_mapper Administrator
    edited October 2009
    David,

    First off, you do not need to use managed code to use the Global Mapper SDK. In fact, if you know C++ that is definitely what I would recommend. That is what Global Mapper is natively written in and what the included header files are provided for use with.

    The C++ sample application is included with the SDK download from the Developers page at http://www.globalmapper.com and is by far the most extensive of the SDK sample applications (smaller VB and C# samples are available as well).

    I think it would probably be fast enough to create a custom vector layer with the SDK and add your mesh to that and let the SDK handle drawing it. This would save you a lot of work.

    You can use the same mechanism to support your own custom vector formats. Simply read the data from your file and add the features to a new custom vector layer. There are similar functions for creating custom raster and elevation grid layers, and there is also a plugin API for adding new raster/elevation imports to the core load functions and in the Global Mapper application itself. These are all available on the Developers page at http://www.globalmapper.com.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com