Closed relet closed 11 years ago
Great!
I'm definitely learning something new about SOSI through this project!
I guess you've run the tests, but I would like to run them myself before I merge this request. I'll see if I can do that tonight when I'm back with my other pc
Me too... ;) Just parsing a few real life SOSI files and fixing whatever get coughed up - technically I can't even guarantee I'm working after spec here. But they say you should be flexible in what you can parse and rigid in what you produce.
I haven't gotten the tests to run yet (as in, getting buster to work for me, not as in, passing the tests), so please do that first.
Interesting - I didn't realize a pull request can point to HEAD and update. I guess that's actually a good thing. The remaining changes are short and explained in the commit descriptions.
for a geometry like
all lines after the first ..REF were parsed as references, resulting in NaN refs and lost data. The patch detects if one of the following lines again starts with dot notation.
I also added LINJE as a synonym for KURVE in older SOSI files. And I fixed the legacy Proj4js import of definitions.
-- sorry for bundling the pull requests, the changes happened fast. :)