Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Populate list with available coordinate system?

$
0
0
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?

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>