Skip to content

fgcarto/qgis-latlontools-plugin

 
 

Repository files navigation

#Lat Lon Tools Plugin

When working with Google Earth, Google Maps or other on-line mapping tools coordinates are specified in the format of 'Latitude, Longitude', but the similar existing QGIS plugins specify the coordinates in the reverse order or require separate fields for latitude and longitude. This makes it so that you cannot just copy and paste between QGIS and Google Maps. This plugin fixes this problem and adds some additional functionality. This plugin has two tools.

Lat Lon Tools Plugin

  • Copy Latitude, Longitude - This captures coordinates onto the clipboard when the user clicks on the map using the standard Google Map format or a format specified in Settings. If the user specifies a tab separator, then the coordinate can be pasted into a spreadsheet in separate columns. While this tool is selected, the coordinate the mouse is over is shown in the lower left-hand corner either in decimal degrees or DMS depending on the Settings.
  • Zoom to Latitude, Longitude - With this tool type or paste a coordinate into the text area and hit Enter. The format can either be DMS or in decimal degrees, but latitude must be first followed by longitude.

Zoom to Latitude, Longitude

There are similar QGIS plugins, but they do not follow the Google Map convention. Lat Lon Tools makes it possible to copy and paste between QGIS, Google Earth, and other on-line maps. Both tools work with latitude and longitude coordinates regardless of the QGIS project coordinate reference system. In the settings the user can choose the delimiter used between coordinates with presets for comma, space, and tab. Other allows the user to specify a delimited string which can be more than one character. The user can also choose whether the output format is in decimal degrees, DMS coordinates or in the native CRS.

##Settings This is the settings dialog box.

Settings

There are 4 capture methods. This shows the format of each.

  • Decimal Degrees - "42.20391297, -86.023854202"

  • DMS - "36° 47' 24.27" N, 99° 22' 9.39" W"

  • DDMMSS - "400210.53N, 1050824.96 W"

  • Native CRS - This captures the coordinates in the Native CRS

Note that in the DMS formats, the number of digits after the decimal is set by DMS Second Precision. The Delimiter is what separates the two coordinates.

About

QGIS plugin to capture and zoom to a specified location using latutude and longitude and DMS coordinates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.0%
  • Makefile 1.0%