Opened 15 years ago
Closed 15 years ago
#1222 closed enhancement (fixed)
Maestro: allow setting Map's coordinate system to that of one of the layers
Reported by: | jbirch | Owned by: | ksgeograf |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Maestro | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
It would be useful if there was another button next to the Coordinate System line that allowed you to choose the spatial context of the underlying feature source of any of the layers in the map. Ideally, this would be from a grid that has the CS, and a count of the layers using that CS, with a "details" window or maptip listing those layers.
My reason for this is that my data is in a projection which is recognised by CSMap, but which is not identical in text to the value I get when typing the CS code into the UI. Right now, in order to avoid the CSMap comparison, I am manually pasting the value I get from the feature source's projection override into the map definition. I could also set an override on each layer, but would prefer to avoid adding this overhead.
Fixed with r4478.
I have fixed this by adding to extra checks. When clicking the "Set extent to layers extent" there is now a check to see if the maps coordinate system is the same, and offers to set the coordinate system to match.
When browsing for a coordinate system, it will check to see if the current selected layer (or select the first layer in the list) has the same coordinate system as the map. If not, it will offer to use that coordinate system instead of showing the coordinate system browser.
I can see that there is a request for extra functions, such as guessing the coordinate system, based on the number of coordinate systems in the map. I'm closing it now, because I think it offers the basic functionality requested, without requiring a new user interface component. If you feel that the solution is not sufficient, feel free to re-open.