Projections and Datums available in the SDK version 1.2.4
Comments
-
You can use the GM_SelectProjection function to allow the users to select a projection via the projection dialog. You can just look in ProjectionTypes.h for a list of the available projection systems and datums.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hi, I'm Osei's collegue.
Unfortunately, for various reasons (including multi-language translation) we are not able to use the SelectProjection dialog provided by the SDK.
My understanding is that to create our own we will have to:
A. Construct lists of available projections, datums, zones and units
B. Construct logic that limits the range of datums, zones and units (dependent upon selected projection, datums etc)
1. Where can we find out the information on which combinations of Projection/Datum/Unit are valid?
2. Is there any way we can extract this information (available types + valid combos) from the SDK programmatically?
e.g. from the *.csv files in the SDK\bin directory
(as things like the zones aren't defined in the ProjecitonTypes.h file)
If not, do you have any suggestions on the best way to tackle this?
Any help will be much appreciated, thanks,
matt -
Matt,
There is not currently any way to extract that information programmatically from the SDK, nor are the CSV files of any use as they are just used by one of the 3rd party libraries used in Global Mapper and don't have anything to do with the built-in list of projections/datums.
I think the only possibility here short of you manually creating your own list would be for me to add a function to the SDK that returns some sort of data structure listing every available projection, and the available datums, zones, units, and parameters for that projection. Would this work for you?
Thanks,
Mike
Global Mapper Support
support@globalmapper.com
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 637 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website