/usr/share/doc/gdl-coyote/html/cgcliptomap.html is in gdl-coyote 2016.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | <html>
<head>
<TITLE>coyote: CGCLIPTOMAP</TITLE>
<style>
dt {font-weight: bold;}
</style>
</head>
<body>
<H1><a href="index.html">coyote</a>: CGCLIPTOMAP</H1>
<ul>
<li><a href=Map_Utilities.html>coyote/Map Utilities</a></li>
<li><a href="/usr/share/gnudatalanguage/coyote/cgcliptomap.pro">[Source code]</a></li>
</ul>
<dl>
<dt>Description</dt>
<dd><pre>
Allows an image or geoTiff file to be clipped or subset to a map projected boundary.
</pre></dd>
</dl>
<dl>
<dt>Categories</dt>
<dd><pre>
Map Utilities
</pre></dd>
</dl>
<dl>
<dt>Returns</dt>
<dd><pre>
The clipped or subsetted image is returned.
</pre></dd>
</dl>
<dl>
<dt>Params</dt>
<dd><pre>
imageIn: in, required, type=varies
Either a 2D or true-color image (in which, in both cases, a map coordinate object must be provided with the
MAP keyword) or the name of the GeoTiff file from which an image and a map coordinate object
can be obtained.
boundary: in, required, type=fltarr
A four-element array containing the map boundary to which the image should be clipped.
</pre></dd>
</dl>
<dl>
<dt>Keywords</dt>
<dd><pre>
latlonbox: out, optional, type=fltarr
A four-element array representing the boundary of the output image in
the Google Map preferred form of [north, south, east, west] in decimal
degrees.
map: in, required, type=object
A map coordinate object (cgMap) that maps or georeferences the input image.
outboundary: out, optional, type=fltarr
A four-element array containing the final map boundary of the clipped image.
The boundary will be in XY coordinates (projected meters).
outmap: out, optional, type=object
An output map coordinate object (cgMap) that describes the output image.
outposition: out, optional, type=intarr
A four-element array containing the pixel locations of the output image
in the input image pixel coordinate system: [x0,y0,x1,y1]. In other words,
these are the values used to subset the input image.
</pre></dd>
</dl>
<dl>
<dt>Author</dt>
<dd><pre>
FANNING SOFTWARE CONSULTING::
David W. Fanning
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: david@idlcoyote.com
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
</pre></dd>
</dl>
<dl>
<dt>History</dt>
<dd><pre>
Change History::
Written, 16 August 2012. DWF.
If the absolute value of the maximum of the boundary is LE 360, assume you need to convert
from lat/lon space to projected meter space. 23 Aug 2012. DWF.
Added MAPOUT and LATLONBOX keywords. 1 Nov 2012. DWF.
Added OUTPOSITION keywords. 29 Nov 2012. DWF.
I have reason to believe the way I was creating the location vectors and
and image subset in this program was causing me to be 1 pixel off in
creating the image subset. The algorithm has been tweaked to correct this. 12 Dec 2012. DWF.
Duh! Changed the name of MapOut keyword to OutMap to make it work, but forgot to change
the variable name. Output map coordinate object now returning properly. 20 May 2014. DWF.
</pre></dd>
</dl>
<dl>
<dt>Copyright</dt>
<dd><pre>
Copyright (c) 2012, Fanning Software Consulting, Inc.
</pre></dd>
</dl>
</body>
</html>
|