Geosketch QGIS Plugin
Geosketch is a lightweight QGIS plugin that turns selected vector features into a shareable geosketch.io URL.
What it does
- Works on the active vector layer selection
- Reprojects geometries to the layer's geographic CRS when possible
- Defaults to
EPSG:4326when no better geographic target is available - Preserves selected feature attributes
- Copies the generated URL to the clipboard
- Optionally opens the URL in your browser
- Routes planetary targets to
geosketch.io/marsorgeosketch.io/moon
Compatibility
- QGIS
3.16and newer (including4.xtargets) - Qt6-compatible metadata
Install from ZIP
- Build the plugin package:
bash
./build.sh
- In QGIS, open
Plugins -> Manage and Install Plugins... -> Install from ZIP. - Select
geosketch-v<version>.zip.
From source (local development)
Copy or symlink the geosketch/ plugin folder into your QGIS profile plugins
directory, then restart QGIS (or use Plugin Reloader).
Source and support
- Repository: https://github.com/earthgraph/geosketch-qgis-plugin
- Issues: https://github.com/earthgraph/geosketch-qgis-plugin/issues
QGIS Python Console quick check
After plugin install, run this in the QGIS Python Console:
from geosketch.diagnostics import run_crs_diagnostics
print(run_crs_diagnostics())
Run an individual CRS pair check:
from geosketch.diagnostics import check_crs_pair
print(check_crs_pair("EPSG:3857", "EPSG:4326"))
print(check_crs_pair("IAU_2015:49910", "IAU_2015:49900"))
List built-in diagnostic checks:
from geosketch.diagnostics import list_crs_diagnostic_checks
for label, src, dst in list_crs_diagnostic_checks():
print(f"{label}: {src} -> {dst}")
Notes:
- check_crs_pair("IAU_2015:49990", "IAU_2015:49900") is a valid Mars pair.
- check_crs_pair("IAU_2015:30190", "IAU_2015:49900") is expected to be incompatible (Moon -> Mars).
Diagnostics from UI
Plugins -> Geosketch -> Run CRS Diagnostics