Bug in Polygon/Polyline creation with multiple parts
Closed this issue · 4 comments
L6SmxP5 commented
_savePolyLineRecord() in src/ShapeRecord.php does not work for geometries that have more than one part to them. Please refer to page 14 of the Shapefile specification for details and an illustration of how the Parts field should be written. I've forked and fixed - 6492274.
nijel commented
I've just released 0.11 with this fix (and some other as well).
L6SmxP5 commented
No problem nijel, I'm happy to have helped! I've also enhanced the library to write a .prj file specifying SRID. I'll commit for all to review soon.
nijel commented
Pull requests are always welcome :-).