Map Projections

How many map projections available in MWG? Like in tkMapProjection? If there are more, where are they?

Thanks!

Hello lang

The tkMapProjection enum represents just the commonly used projections.

However, beyond those, you can use the GeoProjection class, and call SetWellKnownGeoCS, with the following enumeration. Or use one of the various ImportFrom… functions, like ImportFromEPSG, which takes the standard EPSG code as input.

So there are many options.

Regards,
Jerry.

Hi Jerry,

Thanks a lot! Very helpful.

Jerry,
please me an example to set my map to wgs84_UTM_Zone_15N.

Thanks!

Hello @lang

I wasn’t sure what language you prefer, but here it is in c#.

        GeoProjection gp = new GeoProjection();
        gp.ImportFromEPSG(32615);
        axMap1.GeoProjection = gp;

Regards.

Jerry,

Perfect! Thank you so much!

Best Regards