terraref / computing-pipeline

Pipeline to Extract Plant Phenotypes from Reference Data
BSD 3-Clause "New" or "Revised" License
21 stars 13 forks source link

terrautils/formats.py: Add EPSG parameter to create_geotiff() #598

Open Chris-Schnaufer opened 4 years ago

Chris-Schnaufer commented 4 years ago

Tags: EPSG, Coordinate System, Spatial Reference

Description

create_geotif() makes use of a hard coded geo transform and assumed EPSG:4326 coordinates. This prevents it from being used for requests using non-EPSG:4326 coordinate systems

Details

Add an EPSG parameter and default it to 4326 to allow the create_geotiff() function to handle different coordinate systems

Completion Criteria

References: https://app.zenhub.com/workspaces/ua-ag-data-science-5a57a3198339f11ba1c85775/issues/terraref/drone-pipeline/37 https://app.zenhub.com/workspaces/ua-ag-data-science-5a57a3198339f11ba1c85775/issues/terraref/drone-pipeline/55