kartoza / GEEST2

Next generation of the GEEST plugin for QGIS
GNU General Public License v3.0
1 stars 1 forks source link

Implement functionality to convert CSR #9

Open timlinux opened 2 months ago

timlinux commented 2 months ago

We need a function that will convert the input dataset to a different CSR

Signature:

(factor_input_layer, country_boundary, crs)

Inputs:

country_boundary - a QgsVectorLayer of type polygon or multipart polygon. Areas outside of this boundary will be assigned nodata. output_path - the place in the filesystem where the dataset should be written. ⚠️ If it already exists it will be overwritten without confirmation. crs - typically a UTM zone for the analysis area. Should be m based. factor_input_layer - an input layer either manually inputted or extracted from OSM

Outputs:

a QgsVectorLayer The analysis will generate a new vector layer in the input CRS

Testing:

Prepare a small sample dataset for the boundary and verify that it generates correctly

osundwajeff commented 2 months ago

Needs to be removed. Uses geopandas.

QGIS API should be used instead.