Changeset 8639
- Timestamp:
- 06/15/11 11:58:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/mex/KMLOverlay/KMLOverlay.cpp
r8606 r8639 129 129 _printf_(true,"KMLOverlay - KML file overlay module:\n"); 130 130 _printf_(true,"\n"); 131 _printf_(true," This module reads a KMLfile.\n");131 _printf_(true," This module reads a list of image files and writes a KML or KMZ overlay file.\n"); 132 132 _printf_(true,"\n"); 133 133 _printf_(true," Usage:\n"); 134 _printf_(true," ierror=KML MeshWrite(name,notes,elem,nodecon,lat,long,part,data,cmap,kmlfile);\n");134 _printf_(true," ierror=KMLOverlay(kmlfile,'param name',param,...);\n"); 135 135 _printf_(true,"\n"); 136 _printf_(true," name model name (string, may be empty)\n"); 137 _printf_(true," notes model notes (string or cell array of strings, may be empty)\n"); 138 _printf_(true," elem elements (double array)\n"); 139 _printf_(true," nodecon nodal connectivity array (double array, may be empty)\n"); 140 _printf_(true," lat nodal latititudes (double vector)\n"); 141 _printf_(true," long nodal longitudes (double vector)\n"); 142 _printf_(true," part nodal partitions (double vector, may be empty)\n"); 143 _printf_(true," data nodal or element data (double vector, may be empty)\n"); 144 _printf_(true," cmap color map (double nx3 array, may be empty)\n"); 145 _printf_(true," kmlfile KML file name (string)\n"); 136 _printf_(true," kmlfile KML or KMZ file name (string)\n"); 137 _printf_(true,"\n"); 138 _printf_(true," lataxis latitude axis (double vector [south north], required)\n"); 139 _printf_(true," longaxis longitude axis (double vector [west east], required)\n"); 140 _printf_(true," images relative or http image file names (string or array of strings or cell array of strings, required)\n"); 141 _printf_(true," zip flag to zip the doc.kml and image files into kmzfile (double, non-zero for kmz)\n"); 146 142 _printf_(true,"\n"); 147 143 _printf_(true," ierror error flag (double, non-zero for error)\n"); 148 144 _printf_(true,"\n"); 149 145 _printf_(true," Example:\n"); 150 _printf_(true," KML MeshWrite(md.name,md.notes,md.elements,md.nodeconnectivity,md.lat,md.long,md.part,md.fm_criterion,options.cmap,filekml);\n");146 _printf_(true," KMLOverlay(kmlfile,'lataxis',[south north],'longaxis',[west east],'images',{'file1.png','http://issm/file2.png'},'zip',1);\n"); 151 147 _printf_(true,"\n"); 152 148 }
Note:
See TracChangeset
for help on using the changeset viewer.