You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: abigbee - (abigbee -)
Original Redmine Issue: 2703
Redmine category:vectors
Assignee: nobody -
Polygons in vector layers that have line segments with endpoints that span the -180 line of longitude are incorrectly rendered. For example, a line with endpoints of 1 degree and -179 degree will not result in a 2 degree line, but rather be rendered as a line of of 180 degrees in length and spans. I.e. instead of a short line segment in the Pacific, the line runs across North America and the Atlantic.
I have attached a small test case for a many-side polygon esri shape file that I programmatically generated to illustrate this bug. Upon rendering in the GUI, the left side of the western polygon should incorrectly be extruded all the way across North America and the Atlantic Ocean. The correct rendering would display a circle-like polygon centered on the Alaskan Aleutian Islands.
Have a look to the "5.2.6" paragraph of the QGIS 1.4 manual: "Vector layers crossing 180◦ longitude".
This is a common problem in many GIS software and there is no easy solution. The one proposed is to use Postgis and the "ST_Shift_Longitude" function.
resolution was changed from to wontfix
status_id was changed from Open to Closed
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Vectors
Related to general vector layer handling (not specific data formats)
labels
May 24, 2019
Author Name: abigbee - (abigbee -)
Original Redmine Issue: 2703
Redmine category:vectors
Assignee: nobody -
Polygons in vector layers that have line segments with endpoints that span the -180 line of longitude are incorrectly rendered. For example, a line with endpoints of 1 degree and -179 degree will not result in a 2 degree line, but rather be rendered as a line of of 180 degrees in length and spans. I.e. instead of a short line segment in the Pacific, the line runs across North America and the Atlantic.
I have attached a small test case for a many-side polygon esri shape file that I programmatically generated to illustrate this bug. Upon rendering in the GUI, the left side of the western polygon should incorrectly be extruded all the way across North America and the Atlantic Ocean. The correct rendering would display a circle-like polygon centered on the Alaskan Aleutian Islands.
The text was updated successfully, but these errors were encountered: