Re: [gdal-dev] Possible error in orientation of converted arcs from dxf

2024-02-27 Thread Barry DeZonia via gdal-dev
I have not worked with DXF files since the early 90s so my info might be wrong. But check if any of your transformations are ending up with negative start/end angles. That used to be able to reverse the direction of the arc. Again this is old info and I don't quite understand your problem so I'm so

Re: [gdal-dev] Possible error in orientation of converted arcs from dxf

2024-02-27 Thread Jan Heckman via gdal-dev
Hi, I set up a case for an issue and had to conclude that this issue does not help in solving my problem (finding the proper vertex sequence/need to reverse in a series of lines and arcs). Surprisingly at first, in the case I made, there were arcs with proper as well as improper sequence which all

Re: [gdal-dev] Possible error in orientation of converted arcs from dxf

2024-02-25 Thread Even Rouault via gdal-dev
Please file an issue with a (as small as possible) .dxf file reproducing the issue Even Le 25/02/2024 à 22:05, Jan Heckman a écrit : Hi Even, all, There might be a slight connection, but my case imo does not involve either a bulgefactor or a smoothing routine; it is the basic conversion/rende

Re: [gdal-dev] Possible error in orientation of converted arcs from dxf

2024-02-25 Thread Jan Heckman via gdal-dev
Hi Even, all, There might be a slight connection, but my case imo does not involve either a bulgefactor or a smoothing routine; it is the basic conversion/render of a circular arc where apparently start- and endangle are interchanged sofar without apparent cause. Possibly the dxf has, earlier on, s

Re: [gdal-dev] Possible error in orientation of converted arcs from dxf

2024-02-25 Thread Even Rouault via gdal-dev
Hi, I'm wondering if there woulnd't be a connection with https://github.com/OSGeo/gdal/issues/1839#issuecomment-537185826 ? Even Le 25/02/2024 à 13:32, Jan Heckman via gdal-dev a écrit : Hi all, Sorry for a somewhat long post, but here we go: I am converting a .dxf having a sequence of simpl

[gdal-dev] Possible error in orientation of converted arcs from dxf

2024-02-25 Thread Jan Heckman via gdal-dev
Hi all, Sorry for a somewhat long post, but here we go: I am converting a .dxf having a sequence of simple lines and arcs which form a continuous (poly)line, (correctly) ordered by EntityHandle. The arcs are converted (to shp) as well as displayed (Qgis) in the opposite direction as the simple line