class_docstr: A transformer object to transform coordinates from one CRS to another.
  
  Notes
  -----
  Currently only the EPSG authority is supported.
  Currently only projection from WGS84 to UTM (and vice versa)
  is supported.
  
  Examples
  --------
  >>> from cuproj import Transformer
  >>> transformer = Transformer.from_crs("epsg:4326", "epsg:32631")
  >>> transformer.transform(2, 49)
  (500000.0, 5460836.5)
  >>> transformer.transform(500000, 5460836.5, direction="INVERSE")
  (2.0, 49.0)
class_docstr_tok: ["A","transformer","object","to","transform","coordinates","from","one","CRS","to","another",".","Notes","--","--","-","Currently","only","the","EPSG","authority","is","supported",".","Currently","only","projection","from","WGS84","to","UTM","(","and","vice","versa",")","is","supported",".","Examples","--","--","--","--",">",">",">","from","cuproj","import","Transformer",">",">",">","transformer","=","Transformer.from_crs","(","``","epsg:4326","''",",","``","epsg:32631","''",")",">",">",">","transformer.transform","(","2",",","49",")","(","500000.0",",","5460836.5",")",">",">",">","transformer.transform","(","500000",",","5460836.5",",","direction=","''","INVERSE","''",")","(","2.0",",","49.0",")"]
docstr: Construct a Transformer object.
  
  Parameters
  ----------
  from_crs : CRS
      The source CRS.
  to_crs : CRS
      The target CRS.
  
  Source and target CRS may be:
  - An authority string [i.e. 'epsg:4326']
  - An EPSG integer code [i.e. 4326]
  - A tuple of (“auth_name”: “auth_code”) [i.e ('epsg', '4326')]
  
  Notes
  -----
  Currently only the EPSG authority is supported.
  
  Examples
  --------
  >>> from cuproj import Transformer
  >>> transformer = Transformer("epsg:4326", "epsg:32631")
  >>> transformer = Transformer(4326, 32631)
docstr_tok: ["Construct","a","Transformer","object",".","Parameters","--","--","--","--","--","from_crs",":","CRS","The","source","CRS",".","to_crs",":","CRS","The","target","CRS",".","Source","and","target","CRS","may","be",":","-","An","authority","string","[","i.e",".","'epsg:4326","'","]","-","An","EPSG","integer","code","[","i.e",".","4326","]","-","A","tuple","of","(","\u201c","auth_name","\u201d",":","\u201c","auth_code","\u201d",")","[","i.e","(","'epsg","'",",","'4326","'",")","]","Notes","--","--","-","Currently","only","the","EPSG","authority","is","supported",".","Examples","--","--","--","--",">",">",">","from","cuproj","import","Transformer",">",">",">","transformer","=","Transformer","(","``","epsg:4326","''",",","``","epsg:32631","''",")",">",">",">","transformer","=","Transformer","(","4326",",","32631",")"]
code: def __init__(self, crs_from, crs_to):
      """Construct a Transformer object.
  
      Parameters
      ----------
      from_crs : CRS
          The source CRS.
      to_crs : CRS
          The target CRS.
  
      Source and target CRS may be:
      - An authority string [i.e. 'epsg:4326']
      - An EPSG integer code [i.e. 4326]
      - A tuple of (“auth_name”: “auth_code”) [i.e ('epsg', '4326')]
  
      Notes
      -----
      Currently only the EPSG authority is supported.
  
      Examples
      --------
      >>> from cuproj import Transformer
      >>> transformer = Transformer("epsg:4326", "epsg:32631")
      >>> transformer = Transformer(4326, 32631)
      """
      self._crs_from = crs_from
      self._crs_to = crs_to
      self._proj = _Transformer(crs_from, crs_to)
  
imports: import cupy
  from cuproj._lib.transform import Transformer
label_desc: Use image node_id 1 to create a new Transformer object  with example: obj = Transformer(crs_from, crs_to)