mapscript.reprojectionObj

class mapscript.reprojectionObj(_in: projectionObj, out: projectionObj)

A holder object for projection coordinate transformations, introduced in RFC 126. This allows caching of reprojections improving performance.

Attributes

generation_number_in

unsigned short A counter that is incremented when the input projectionObj changes

generation_number_out

unsigned short A counter that is incremented when the output projectionObj changes

thisown

The membership flag

Methods

__init__(_in: projectionObj, out: projectionObj)[source]

Create new instance of reprojectionObj. Input parameters are two projectionsObj’s - in and out.