воскресенье, 31 июля 2016 г.

Week 10 Report.

1. This week I've done:
Pull request to GDAL-trunk was opened.
OGR CAD Driver changes:
- Python tests are done.
- Code style fixes, memory leaks removements.
- Custom geometries attributes support (which are taken from BlockReference attdefs). Example:
- Code refactoring and cleaning.

2. Plan on doing next week:
Fix builds (travis/windows), testing and documentation update.

3. Blocking:
None.

Best regards,
Alexandr Borzykh

Links:

воскресенье, 24 июля 2016 г.

Week 9 Report.

1. This week I've done:
OGR CAD Driver changes:
- Implemented python autotests for CAD driver (more than half of the tests are done, a small part will be done next week).
- Finally a lwpolyline tesselation (now it can have arc segments).
- Text geometries now sets up OGR Style String to LABEL(…) with correct params.
- Arc geometry reading fix.
- Small code refactoring and cleaning.

2. Plan on doing next week:
Complete python tests, testing driver with QGIS, code refactoring. Fix windows, try to fix travis build.

3. Blocking:
None.

Best regards,

Alexandr Borzykh

Links:

воскресенье, 17 июля 2016 г.

Week 8 Report.

1. This week I've done:
Libopencad changes:
- BlockReference is now handled properly.
- Added a new API to work with Dictionaries (NamedObjectDictionary XRecords can be got, nested dictionaries isnt supported right now).
- Every geometry now has a list of attributes (can be got by calling CADGeometry::getBlockAttributes()). This attributes are being got from BlockReference (every geometry in block reference has it's block reference attributes).

OGR CAD Driver changes:
- Basic spline geometry support added.
- CADRecode() function, which does recoding CAD file strings (usually they are not UTF compatible, so it does recoding it to UTF).
- OGR Feature Style now sets to PEN(geometry color). Thickness and dash-dot styles needs LineType information (libopencad doesnot read it).
- Fixed a lot of errors which occured in test_ogrsf utility.

2. Plan on doing next week:
Library code refactoring and preparation it for GDAL-trunk, map geometry attributes into Feature attributes. Remove C++11 code from driver code, fix windows build.

3. Blocking:
None.

Links:

воскресенье, 10 июля 2016 г.

Week 7 Report.

1. This week I've done:
Libopencad changes:
- Fixed reading of files with only 1 object inside (before, it used to enter endless loop).
- Filemap creation speeded up.
- Added a bunch of various tests.
- Minor fixes and code formatting.

OGR CAD Driver changes:
- Basic spline geometry support added.
- Code refactoring, memory leaks fixes.
- I've started removing any dependencies on C++11 in driver code (but libopencad still will require -std=c++11).

2. Plan on doing next week:
Complete spline geometry, polylines interpolation, remove any dependencies on c++11 from driver code, fix ERRORs that appears when using test_ogrsf util. Get info about OGR Feature Style and make geometry parameters mapping into it.

3. Blocking:
None.

Links:

Extra:
This week my mentor (Dmitry Baryshnikov) have succesfully built QGIS with CAD Driver. There are some screenshots and little comparisons to ArcGIS and ACAD.
ACAD vs QGIS (with CAD driver)
ArcGIS vs QGis


воскресенье, 3 июля 2016 г.

Week 6 Report.

Last week I had to move back home, and I had to set up a new working environment, and it took a lot of time. Also, I changed priority a little, so 'probably to be done' tasks are done (EED), and 'to be done' task becomes next week task.

1. This week I've done:
Libopencad changes:
- ExtendedEntityData is now available by method vector< string > CADGeometry::getEED();
- ESRI SpatialRef is now available by method string CADFile::getESRISpatialRef();

OGR CAD Driver changes:
- EED support added (all EED are presented as a feature string attribute).
- *.prj file reading, or extracting it from CAD file, if not presented.

2. Plan on doing next week:
Polylines tesselation, spline geometry. Test library on a files with a lot of different objects (raster/vector). Fix CAD driver issue (described below).

3. Blocking:
As far as I can see Latest commits to libopencad crashed CAD Driver on my Mac. GDAL still builts fine, but calling ogrinfo with DWG file causes an endless loop somewhere in libopencad, however, tests are passed and cadinfo app works just fine. Currently I have no idea what can cause such behavior, and I am working on it.

Links:


Best regards,

Alexandr Borzykh