Maproom / qmapshack

Consumer grade GIS software
GNU General Public License v3.0
297 stars 64 forks source link

“Go to…” function to move map to given location #462

Open mpfusion opened 2 years ago

mpfusion commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently it's not really possible to move the map to a particular location. There is a way to copy the current location from the map to the clipboard (RightMouseButton → Copy position). But not the other way round: move the map to a known location.

Describe the solution you'd like

It would be nice to just input a coordinate and QMS moves the map centre to the location according to the coordinates. One solution would be to assign a keyboard shortcut e.g. CTRL-f (mnemonic: find) to a text box to input the coordinates. Another solution would be e.g. to click/double click on the coordinate display in the lower right hand side to change to an input field.

Describe alternatives you've considered

Workarounds are:

  1. Moving and scrolling the map and keeping an eye on the coordinate display in the lower right hand corner. → Not very precise and time consuming.
  2. (untested) using the GeoSearch (e.g. google) → Requires a google API key, this is overkill for something as simple as moving to a coordinate.
  3. Using a waypoint:
    • right click “Add waypoint”
    • QMS asks “Select a project…”
    • it then creates a waypoint and populates it with the last used coordinates
    • then type the actual coordinates into the coordinate field
    • rename the waypoint (because it populates the field with the last used value, which likely already exists)
    • then find the waypoint in the workspace and double click it → screen moves to the desired location
    • find the waypoint in the database
    • delete the waypoint
    • confirm “Are you sure you want to delete…” → This is quite involved just to move the map to a known location that is not supposed to be saved.

Give a reason why someone else should spend time on that request

Moving the map to a known location is a basic and rather simple task. This will speed up navigation for some workflows.

Additional context

Regarding the supported coordinate formats: I'd vote to just use the coordinate formats that QMS already supports in its input boxes (e.g. coordinate input field for waypoints) or use the format as displayed in the lower right hand corner (as configured in View→Set Coord. Format).

WST1811 commented 2 years ago

Hi, hope i unterstand you right. if yes, it was very easy to reproduce. I set OSM-Nominatim, now i can search for Cities or other Places. I put Coordinates like this in the Search Field and press ENTER: 48.1739373 11.2430079 grafik It works, try it.

mpfusion commented 2 years ago

That works, indeed. I didn't know you could enter coordinates there.

frankystone commented 2 years ago

So this issue can be closed?

mpfusion commented 2 years ago

Using the search field to enter coordinates is a workaround for the missing functionality. However, it requires internet access to work. Without internet access this workaround is of no help. The devs should decide if the feature should be implemented in QMS itself or if that's not desired. Me personally, I'm fine with using the search field.