rgis icon indicating copy to clipboard operation
rgis copied to clipboard

Unix Line Format Issue

Open msweier opened this issue 8 years ago • 2 comments

Awesome plugin! It is much appreciated.

I just tested the plugin using OS X Yosemite and QGIS 2.8 and it seemed to work well with the following exception. The plugin writes the sdf file and appends the 2D information to a geometry file using a unix line return format and RAS assumes a Windows line return format.

I was able to work around it by writing the .sdf and changing the line format to windows w/ TextWrangler to set up the geometry. To append the 2D geometry to an existing geometry file I exited RAS, changed the geometry file line return format to Unix, appended the 2D geometry to the file, and changed the line return format back to Windows.

It would be nice to have a fix or at least a detailed explanation on how to handle this.

msweier avatar Jul 06 '16 16:07 msweier

Thank you for letting us know about this issue. We will add proper fix in the next RiverGIS version.

ldebek avatar Jul 07 '16 19:07 ldebek

In linux this can be solved by running this command awk 'sub("$","\r")' input.sdf>output.sdf

ulmi avatar Oct 05 '18 18:10 ulmi