429
429
@item Plugin(GSHHS)
430
Plugin(GSHHS) read differenct kind of contour lines data and write a .geo file.
431
Valid values for "Format" are :
430
Plugin(GSHHS) read different kind of contour lines data and write a .geo file on the surface of a sphere (the Earth).
431
The principal application is to load GSHHS data
432
(see http://www.soest.hawaii.edu/wessel/gshhs/gshhs.html).
433
Valid values for "Format" are ):
432
434
-"gshhs" : open GSHHS file
433
435
-"loops2" : import 2D contour lines in simple text format :
434
NB_POINTS_IN_FIRST_LOOP
436
NB_POINTS_IN_FIRST_LOOP FIRST_LOOP_IS_CLOSED
438
NB_POINTS_IN_SECOND_LOOP
440
NB_POINTS_IN_SECOND_LOOP SECOND_LOOP_IS_CLOSED
442
(LOOP_IS_CLOSED specify if this coast line describe a closed curve (0=no, 1=yes).
443
In the case of "loops2" format, you can specify the the coordinate system used in the input file with the"Coordinate" option, valid values are
444
-"lonlat" for longitude-latidute radian,
445
-"lonlat_degrees" for longitude-latitude degrees,
446
-"UTM" for universal transverse mercartor ("UTMZone" option should be specified)
447
-"cartesian" for full 3D coordinates
448
"radius" specify the earth radius.
449
If the "iField" option is set, consecutive points closer than the value of the field iField (in meters) will not be added.
450
If "MinStraitsFactor" >0 and if a field iField is provided, coastlines closer than MinStraitsFactor*field(IField) are merged and inner corners which form an angle < pi/3 are removed.
451
The output is always in stereographic coordinates, if the "WritePolarSphere" option is not 0, a sphere is added to the geo file.
452
WARNING : this plugin is still experimental and need polishing and error-handling. In particular, it will probably crash if an inexistant field id is given or if the input/output cannot be open.