Point Shape Rotation issue in MapWinGIS 5.2.4 OCX

Hi Team,

I just started using the latest version of MapWinGIS 5.2.4 and found rotation issues for point shape file.
Checked the same in Mapwindow 5.6.3 application and found the same issue there also.
I didn’t find the issue in earlier version I used i.e. 4.9.5.

I noticed there are two types of rotation issues while setting default layer style to Point & Characters.
Below are some points after some R&D

  1. Layer Style = Points

    • Point symbol is rotated twice of the angle set by me.
    • Selection Symbol rotation is correct.
  2. Layer Style = Characters

    • Point symbol is rotated correctly by the angle set by me.
    • Selection Symbol rotation is not at all rotated (angle = 0).

Attached snapshots for your reference.

Please check.

Thank you.

Regards,
Madhu

I can confirm this when drawing simple point shapes. Square is rotated 45 degrees. Triangles (up/down/left) have incorrect rotation.

Quick investigation and in my case it is due to line 1044 in ShapeFileDrawing.cpp:
_graphics->RotateTransform(angle);

Thank you. I’ll set up a test and step through it.

Regards,
Jerry.

Hi Jerry

I have also been having problems for months with the triangles that I am trying to use as the arrowhead on a line. Please can you confirm if this has been sorted out in a newer versions

Thanks

Colleen Crawford

Hello Colleen, et.al.

No, I’m sorry, this has not yet been sorted out. I’ll see if I can get back to it within the next week or so.

Kind Regards,
Jerry.

Thank you

Regards

Colleen

@jerryfaust and @colleen: has this been fixed in v5.3?

@pmeems and @colleen, Sorry, this has not yet been fixed.

I created [MWGIS-249] Point Shape Rotation for this, so we don’t forget.

I close this topic.