lmpy.data_wrangling.occurrence.coordinate_conversion_wrangler
Module containing a coordinate converter modifier.
Module Contents
Classes
Constructor for CoordinateConverterModifier class. |
Functions
|
Get a osr.SpatialReference for the specified EPSG code. |
- class lmpy.data_wrangling.occurrence.coordinate_conversion_wrangler.CoordinateConverterWrangler(target_epsg, source_epsg=None, epsg_attribute=None, original_x_attribute=None, original_y_attribute=None, **params)[source]
Bases:
lmpy.data_wrangling.occurrence.base._OccurrenceDataWranglerConstructor for CoordinateConverterModifier class.
- Parameters
target_epsg (int) – Target map projection specified by EPSG code.
source_epsg (int or None) – Source map projection specified by EPSG code.
epsg_attribute (str or None) – A point attribute containing EPSG code.
original_x_attribute (str or None) – An attribute to store the original x value.
original_y_attribute (str or None) – An attribute to store the original y value.
**params (dict) – Extra parameters to be sent to the base class.