|
@@ -89,7 +89,6 @@ match current location</tt>) and then report the PROJ_INFO parameters of
|
|
|
the source dataset.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
If the user wishes to ignore the difference between the apparent coordinate
|
|
|
system of the source data and the current location, they may pass the
|
|
|
<b>-o</b> flag to override the projection check.
|
|
@@ -105,7 +104,6 @@ created (with only a PERMANENT mapset), and the raster will have been
|
|
|
imported with the indicated <b>output</b> name into the PERMANENT mapset.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
Support for GCPs: In case the image contains GCPs they are written to a
|
|
|
POINTS file within an imagery group. They can directly be used for
|
|
|
<a href=i.rectify.html>i.rectify</a>. The <b>target</b> option allows to
|
|
@@ -119,7 +117,6 @@ Planned improvements to <em>r.in.gdal</em> in the future include support for
|
|
|
reporting everything known about a dataset if the <b>output</b> parameter is not set.
|
|
|
|
|
|
<p>
|
|
|
-
|
|
|
The <em>r.in.gdal</em> comand does support the following features, as long as
|
|
|
the underlying format driver supports it:
|
|
|
|
|
@@ -190,9 +187,34 @@ gdalwarp rotated.tif northup.tif
|
|
|
<i>"ERROR: Projection of dataset does not appear to match the current location."</i><br>
|
|
|
|
|
|
You need to create a location whose projection matches the data you
|
|
|
-wish to import. Try using <b>location</b> parameter to create a new location based
|
|
|
-upon the projection information in the file. If desired, you can then re-project
|
|
|
-it to another location with <em>r.proj</em>.
|
|
|
+wish to import. Try using <b>location</b> parameter to create a new
|
|
|
+location based upon the projection information in the file. If desired,
|
|
|
+you can then re-project it to another location with <em>r.proj</em>.
|
|
|
+Alternatively you can override this error by using the <b>-o</b> flag.
|
|
|
+
|
|
|
+<p>
|
|
|
+<i>"WARNING: G_set_window(): Illegal latitude for North"</i><br>
|
|
|
+
|
|
|
+Latitude/Longitude locations in GRASS can not have regions which exceed
|
|
|
+90° North or South. Non-georeferenced imagery will have coordinates
|
|
|
+based on the images's number of pixels: 0,0 in the bottom left; cols,rows
|
|
|
+in the top right. Typically imagery will be much more than 90 pixels tall
|
|
|
+and so the GIS refuses to import it. If you are sure that the data is
|
|
|
+appropriate for your Lat/Lon location and intentd to reset the map's
|
|
|
+bounds with the <em>r.region</em> module directly after import you may
|
|
|
+use the <b>-l</b> flag to constrain the map coordinates to legal values.
|
|
|
+
|
|
|
+While the resulting bounds and resolution will likely be wrong for your
|
|
|
+map the map's data will be unaltered and safe. After resetting to known
|
|
|
+bounds with <em>r.region</em> you should double check them with
|
|
|
+<em>r.info</em>, paying special attention to the map resolution. In most
|
|
|
+cases you will want to import into the datafile's native projection, or
|
|
|
+into a simple XY location and use the Georectifaction tools
|
|
|
+(<em>i.rectify</em> et al.) to properly project into the target location.
|
|
|
+The <b>-l</b> flag should <i>only</i> be used if you know the projection
|
|
|
+is correct but the internal georeferencing has gotten lost, and you know
|
|
|
+the what the map's bounds and resolution should be beforehand.
|
|
|
+
|
|
|
|
|
|
<h2>EXAMPLES</h2>
|
|
|
|
|
@@ -240,6 +262,7 @@ r.in.gdal HDF4_EOS:EOS_GRID:"MOD15A2.A2003153.h18v04.004.2003171141042.hdf":MOD_
|
|
|
# ... likewise for other HDF bands in the file.
|
|
|
</pre></div>
|
|
|
|
|
|
+
|
|
|
<h2>SEE ALSO</h2>
|
|
|
<em>
|
|
|
<a href="r.colors.html">r.colors</a>,
|
|
@@ -249,12 +272,16 @@ r.in.gdal HDF4_EOS:EOS_GRID:"MOD15A2.A2003153.h18v04.004.2003171141042.hdf":MOD_
|
|
|
<a href="r.null.html">r.null</a>
|
|
|
</em>
|
|
|
|
|
|
+
|
|
|
<h2>REFERENCES</h2>
|
|
|
|
|
|
GDAL Pages: <a href="http://www.gdal.org">http://www.gdal.org/</a><br>
|
|
|
|
|
|
+
|
|
|
<h2>AUTHOR</h2>
|
|
|
|
|
|
-<a href="http://home.gdal.org/warmerda/">Frank Warmerdam</a> (<a href="mailto:warmerdam AT pobox dot com">email</a>).
|
|
|
+<a href="http://home.gdal.org/warmerda/">Frank Warmerdam</a>
|
|
|
+ (<a href="mailto:warmerdam AT pobox dot com">email</a>).
|
|
|
|
|
|
-<p><i>Last changed: $Date$</i>I
|
|
|
+<p>
|
|
|
+<i>Last changed: $Date$</i>
|