Opened 14 years ago

Closed 14 years ago

#3214 closed defect (fixed)

mapscript: mapObj.save("mapfile.map") will not save geotransform parameter in styleObj

Reported by: getiem Owned by: tamas
Priority: normal Milestone: 5.6 release
Component: MapScript-C# Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

When saving a mapObj where on certain styleObj the geotransform is specified, this value is never saved to the mapfile.

style._geomtransform = 2;
style.autoangle = mapscript.MS_TRUE;

results in mapfile:

ANGLE -3.50979e-015

Remarkings: The angle is a little weird... no explanation for that. (also bug?)
The geotransform is missing
The geotransform options in mapscript are written with underscores.
Additional to that: the enumerate for geotransform is also missing.

Tested with 5.6 beta 5, compiled by: ms4w Using C# mapscript

Change History (2)

comment:1 by tamas, 14 years ago

The autoangle issue is now fixed in r9650 and r9651

comment:2 by tamas, 14 years ago

Resolution: fixed
Status: newclosed

Fixed the GEOMTRANSFORM issue by exposing styleObj.getGeomTransform/setGeomTransform to SWIG instead of exposing the private vars for rfc48 in r9653 and r9654

Note: See TracTickets for help on using tickets.