This project is read-only.

Populate list with available coordinate system?

Oct 25, 2014 at 11:32 AM
Is there a way to get a list of all available coordinate systems? What I want is to let a user select what coordinate system it is, when importing coordinate from a data source that contains no information of what coordinate system is used.
Oct 25, 2014 at 1:08 PM
OK, I found out
var geoSystems = KnownCoordinateSystems.Geographic.Names.ToList();
var projSystems = KnownCoordinateSystems.Projected.Names.ToList();
var nationalGrids = KnownCoordinateSystems.Projected.NationalGrids.Names.ToList();

But how do you select an item in for example KnownCoordinateSystems.Projected.Names for a given ProjectionInfo? The ProjectionInfo.Name does not match the names in KnownCoordinateSystems.Projected.Names.

My hack-kind of solution was to use
string selectItemDefault = defaultProjectionInfo.ToString().Replace("","");

Is there a better way?