Ignore:
Timestamp:
05/24/13 19:12:27 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: simplifying prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/Shp2Kml/Shp2Kml.cpp

    r15100 r15105  
    1212
    1313void Shp2KmlUsage(void){/*{{{*/
    14         _printf0_("Shp2Kml - shp to kml file conversion module:" << "\n");
    15         _printf0_("" << "\n");
    16         _printf0_("   This module converts a file from shp to kml format." << "\n");
    17         _printf0_("" << "\n");
    18         _printf0_("   Usage:" << "\n");
    19         _printf0_("      [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);" << "\n");
    20         _printf0_("" << "\n");
    21         _printf0_("      filshp      file name of shp file to be read (char, extension optional)" << "\n");
    22         _printf0_("      filkml      file name of kml file to be written (char)" << "\n");
    23         _printf0_("      sgn         sign for hemisphere (double, +1 (north) -1 (south) or 0 (no translation))" << "\n");
    24         _printf0_("" << "\n");
    25         _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)" << "\n");
    26         _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)" << "\n");
    27         _printf0_("" << "\n");
    28         _printf0_("      ret         return code (non-zero for warning)" << "\n");
    29         _printf0_("" << "\n");
    30         _printf0_("   Examples:" << "\n");
    31         _printf0_("      [ret]=Shp2Kml('file.shp','file.kml', 0);" << "\n");
    32         _printf0_("      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);" << "\n");
    33         _printf0_("      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);" << "\n");
    34         _printf0_("" << "\n");
     14        _printf0_("Shp2Kml - shp to kml file conversion module:\n");
     15        _printf0_("\n");
     16        _printf0_("   This module converts a file from shp to kml format.\n");
     17        _printf0_("\n");
     18        _printf0_("   Usage:\n");
     19        _printf0_("      [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);\n");
     20        _printf0_("\n");
     21        _printf0_("      filshp      file name of shp file to be read (char, extension optional)\n");
     22        _printf0_("      filkml      file name of kml file to be written (char)\n");
     23        _printf0_("      sgn         sign for hemisphere (double, +1 (north) -1 (south) or 0 (no translation))\n");
     24        _printf0_("\n");
     25        _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)\n");
     26        _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     27        _printf0_("\n");
     28        _printf0_("      ret         return code (non-zero for warning)\n");
     29        _printf0_("\n");
     30        _printf0_("   Examples:\n");
     31        _printf0_("      [ret]=Shp2Kml('file.shp','file.kml', 0);\n");
     32        _printf0_("      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);\n");
     33        _printf0_("      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);\n");
     34        _printf0_("\n");
    3535}/*}}}*/
    3636WRAPPER(Shp2Kml){
Note: See TracChangeset for help on using the changeset viewer.