Suggestion of fix: add EPSG code to your KnownCoordinates
A lot of KnownCoordinates have the same proj4.
We can work around this by using the ESRI, because it stores a bit more information, like the Name of the projection.
But even the ESRI strings have collisions.
If we use KnownCoordinates for user interfaces, we will crash and burn.
This means we cannot use the KnownCoordinates on the user interface.
Examples:
- "Belge 1972" and "Reseau National Belge 1972"
- Africa/"Ain el Abd 1970" and Asia/"Ain el Abd 1970"
To reproduce:
- Open the DemoMap application from the binary available in this site;
- Create a new map;
- Change its coordinate system;
- Select Europe/"Reseau National Belge 1972";
- OK and close;
- Change its coordinate system.
Expected: selected value is "Reseau National Belge 1972".
Actual value: "Belge 1972".
Because the ESRI strings from both are the same.
A lot of KnownCoordinates have the same proj4.
We can work around this by using the ESRI, because it stores a bit more information, like the Name of the projection.
But even the ESRI strings have collisions.
If we use KnownCoordinates for user interfaces, we will crash and burn.
This means we cannot use the KnownCoordinates on the user interface.
Examples:
- "Belge 1972" and "Reseau National Belge 1972"
- Africa/"Ain el Abd 1970" and Asia/"Ain el Abd 1970"
To reproduce:
- Open the DemoMap application from the binary available in this site;
- Create a new map;
- Change its coordinate system;
- Select Europe/"Reseau National Belge 1972";
- OK and close;
- Change its coordinate system.
Expected: selected value is "Reseau National Belge 1972".
Actual value: "Belge 1972".
Because the ESRI strings from both are the same.