[gdal-dev] Improving ogr dxf driver spline reader

2016-04-01 Thread Pero Brbora
Hi, I would like to improve ogr dxf driver spline reader. I have created few test files and found mistakes in source code. Current spline reader creates splines only from control points, and then tries to recreate knots and sets weights to 1. From my understanding of splines they are comp

Re: [gdal-dev] Coordinate system transfromations in dxf driver

2016-03-22 Thread Pero Brbora
Are there other entites you identified to be incorrectly handled ? It depends which revision of dxf reference you read. If you're refering to R2000 (AutoCAD 2000 which ogr supports for writing) POINT and LINE entity can safely be removed from coordinate transformations. POINT: 100 Subclass

[gdal-dev] Coordinate system transfromations in dxf driver

2016-03-22 Thread Pero Brbora
Hi all, I started with trying to solve ticket 5705, incorect ellipse reading when extrusion is [0,0,-1]. As always the easiest solution was looked last, that is RTFM. If you read dxf reference from autodesk you will see that everything is explained very well. Not all entities use OCS (ob

[gdal-dev] Correct reading of ellipse entities (ticket #5705) when extrusion vector is (0, 0, -1)

2016-03-19 Thread Pero Brbora
Hi all Thanks for feedback, unfortunate :) I already started working on ticket #5705 "[AutoCAD DXF] Incorrect processing of Ellipses with negative extrusion" before I read Dmitry's post, and here are my results. First I tested ticket sample files to check the status with the current code

[gdal-dev] [GSOC] Student introduction

2016-03-18 Thread Pero Brbora
Hi, My name is Pero Brbora, student of Applied/Business Computing, University of Dubrovnik, Croatia <http://www.unidu.hr>. I'm full time empolyed in Cadastral Surveying industry and part-time student, so CAD/GIS related projects were on my GSOC look up list. I noticed "DW