Skip to content

QGIS3 Script tool preparing data for custom orthographic projections.

Notifications You must be signed in to change notification settings

woravich-k/Clip-to-Hemisphere-QGIS3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Clip-to-Hemisphere-QGIS3

A QGIS3 Script tool preparing data for custom orthographic projections.
The script have been developed based on an algorithm from Juernjakob Dugge (2016).

In QGIS, some features may not be drawn properly on orthographic projections. For example, the picture below shows some misrepresentation on the west of the globe.
misrepresentation
The misrepresentation on orthographic projections might be fixed by two approaches: disabling the QGIS automatic simplification and clipping the layer to hemisphere, where the centre is at the origin of the orthographic projection. The following picture shows the layer clipped by the tool projected on an orthographic projection.
cliped layer

Requirements

This script has been tested on QGIS 3.4 only, however; this would probably work with QGIS 3.X

Installation

At the processing toolbox panel, click on the Script button --> Add Script to Toolbox.... Then browse to the ClipToHemisphereAlgorithm.py and add the script.

Usage

  1. select your vector layer as your 'Input'.
  2. specify centre 'latitude and longitude of centre of your hemisphere' as your orthographic projection origin
  3. you may need to specify 'Number of segments for approximating the hemisphere. Higher number can get finer results but require longer processing time.
  4. select your output directory and click run

Changelog

0.1 - first version

About

QGIS3 Script tool preparing data for custom orthographic projections.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages