mapscript.projectionObj¶
- class mapscript.projectionObj(proj4: char)¶
- The PROJECTION object MapServer’s Maps and Layers have Projection attributes, and these are C projectionObj structures, but are not directly exposed by the mapscript module - Overview - The pointObj has the following relationships:   - Attributes - generation_number- unsigned short immutable To be incremented when the content of the object changes, so that a reprojector can be invalidated - numargs- int immutable Actual number of projection args - thisown- The membership flag - wellknownprojection- int One of - wkp_none 0,- wkp_lonlat 1, or- wkp_gmerc 2- Methods - __init__(proj4: char)[source]¶
- Create new instance of projectionObj. Input parameter proj4 is a PROJ definition string such as “init=EPSG:4269” 
 - setWKTProjection(wkt: char) int[source]¶
- Update the projectionObj using an OGC WKT definition Returns - MS_SUCCESSor- MS_FAILURE
 






 
        
          
            






