-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS crashes when trying to view polygon whose border intersects itself #21966
Comments
Author Name: Martin Formanek (@fNek) I could not attach the minidump because I had kind of overlooked that the file was 28MB. Some information from it, as text:
|
Author Name: Sandro Santilli (@strk) Can you still reproduce with current 2.14-pre version ?
|
Author Name: Martin Formanek (@fNek) I'm sorry for the delay. I couldn't find a "2.14-pre" version, so I downloaded the latest weekly build (2.13.0-7). The weekly build does not display the polygon either, but at least it doesn't crash. As the crash is resolved, I would personally consider this ticket ready to be closed. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Martin Formanek (@fNek)
Original Redmine Issue: 13951
Affected QGIS version: 2.10.1
Redmine category:data_provider/mssql
Steps to reproduce:
Create a MSSQL table that contains a geometry column, enter it into
geometry_columns
as a polygon column. Other DMBS or layer sources were not tested.Insert a polygon into this table so that the border of this polygon intersects itself. For instance: POLYGON ((1828516.9115728119 6141376.1206908831, 1828546.9845998669 6141344.1511666263, 1828498.8841384889 6141359.1626806306, 1828528.957165543 6141327.1931563737, 1828516.9115728119 6141376.1206908831))
Try to add this table as a layer into QGIS
Expected outcome
Version 1: QGIS displays the polygon.
Version 2: QGIS displays an error message stating that it cannot display a polygon if its border intersects itself.
QGIS crashes with a memory access violation.
The problem was encountered by accident, I meant to create a rectangle and mixed up two points. Therefore, it is not very important to me. However, it confused me a lot. I really expected QGIS to display this polygon.
The text was updated successfully, but these errors were encountered: