<div>Hello!</div><div><br></div><div>My name is Ivan.</div><div>I have been trying to import a GIS raster flie to GRASS64.</div><div>I do the next proucedure in Ubuntu 10.04:</div><div><br></div><div>-I run grass64</div><div>
-I define a new location using the EPSG code: 32161 (based in the information at the end of this email)</div><div>-When Grass asks me: Select datum transformation parameters, </div><div> I choose the second one: (Used in whole nad83 region. towgs84 = 0.000, 0.000, 0.000)</div>
<div>-Then I enter in the PERMANENT folder.</div><div><br></div><div>And then I do this:</div><div><div><br></div><div><font class="Apple-style-span" color="#33CCFF">r.in.gdal input=/home/ivan/grassdata/prgap_landcover.img output=puertoRico</font></div>
<div><font class="Apple-style-span" color="#33CCFF">Projection of input dataset and current location appear to match</font></div><div><font class="Apple-style-span" color="#33CCFF">r.in.gdal complete. Raster map &lt;puertoRico&gt; created.</font></div>
<div><font class="Apple-style-span" color="#33CCFF">d.rast map=puertoRico@PERMANENT -o</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: GRASS_TRUECOLOR status: TRUE</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: collecting to file: /home/ivan/grassdata/pr/PERMANENT/.tmp/ivan-laptop/6771.0.ppm,</font></div>
<div><font class="Apple-style-span" color="#33CCFF">     GRASS_WIDTH=642, GRASS_HEIGHT=482</font></div><div><font class="Apple-style-span" color="#33CCFF">g.pnmcomp in=6771.2.ppm mask=6771.2.pgm opacity=1.0 background=255:255:255 width=642 height=482 output=6771.1.ppm</font></div>
<div><font class="Apple-style-span" color="#33CCFF">d.rast map=puertoRico@PERMANENT -o</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: GRASS_TRUECOLOR status: TRUE</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: collecting to file: /home/ivan/grassdata/pr/PERMANENT/.tmp/ivan-laptop/6771.0.ppm,</font></div>
<div><font class="Apple-style-span" color="#33CCFF">     GRASS_WIDTH=482, GRASS_HEIGHT=482</font></div><div><font class="Apple-style-span" color="#33CCFF">g.pnmcomp in=6771.2.ppm mask=6771.2.pgm opacity=1.0 background=255:255:255 width=482 height=482 output=6771.1.ppm</font></div>
<div><font class="Apple-style-span" color="#33CCFF">g.region n=18.529654 s=17.874067 e=-65.218506 w=-67.957335 rows=4793 cols=19279 nsres=15 ewres=15 tbres=1</font></div><div><font class="Apple-style-span" color="#33CCFF">d.rast map=puertoRico@PERMANENT -o</font></div>
<div><font class="Apple-style-span" color="#33CCFF">PNG: GRASS_TRUECOLOR status: TRUE</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: collecting to file: /home/ivan/grassdata/pr/PERMANENT/.tmp/ivan-laptop/6771.0.ppm,</font></div>
<div><font class="Apple-style-span" color="#33CCFF">     GRASS_WIDTH=482, GRASS_HEIGHT=482</font></div><div><font class="Apple-style-span" color="#33CCFF">g.pnmcomp in=6771.2.ppm mask=6771.2.pgm opacity=1.0 background=255:255:255 width=482 height=482 output=6771.1.ppm</font></div>
<div><font class="Apple-style-span" color="#33CCFF">g.pnmcomp in=6771.2.ppm mask=6771.2.pgm opacity=1.0 background=255:255:255 width=482 height=482 output=6771.1.ppm</font></div><div><font class="Apple-style-span" color="#33CCFF">d.rast map=puertoRico@PERMANENT -o</font></div>
<div><font class="Apple-style-span" color="#33CCFF">PNG: GRASS_TRUECOLOR status: TRUE</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: collecting to file: /home/ivan/grassdata/pr/PERMANENT/.tmp/ivan-laptop/6771.0.ppm,</font></div>
<div><font class="Apple-style-span" color="#33CCFF">     GRASS_WIDTH=482, GRASS_HEIGHT=482</font></div><div><font class="Apple-style-span" color="#33CCFF">g.pnmcomp in=6771.2.ppm mask=6771.2.pgm opacity=1.0 background=255:255:255 width=482 height=482 output=6771.1.ppm</font></div>
<div><font class="Apple-style-span" color="#33CCFF">d.rast map=puertoRico@PERMANENT -o</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: GRASS_TRUECOLOR status: TRUE</font></div><div><font class="Apple-style-span" color="#33CCFF">PNG: collecting to file: /home/ivan/grassdata/pr/PERMANENT/.tmp/ivan-laptop/6771.3.ppm,</font></div>
<div><font class="Apple-style-span" color="#33CCFF">     GRASS_WIDTH=642, GRASS_HEIGHT=154</font></div><div><font class="Apple-style-span" color="#33CCFF">g.pnmcomp in=6771.5.ppm mask=6771.5.pgm opacity=1.0 background=255:255:255 width=642 height=154 output=6771.4.ppm</font></div>
<div><br></div><div>The problem is that the Map Display is in blank.</div><div><br></div><div>If you want to try it, you can donwload the file from <a href="ftp://ftp.gap.uidaho.edu/products/Puerto_Rico/GISdata/Landcover/1_Land_cover_grid/">ftp://ftp.gap.uidaho.edu/products/Puerto_Rico/GISdata/Landcover/1_Land_cover_grid/</a></div>
<div>the file is <span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><a class="icon file" href="ftp://ftp.gap.uidaho.edu/products/Puerto_Rico/GISdata/Landcover/1_Land_cover_grid/prgap_landcover.zip" style="padding-left: 1.5em; text-decoration: underline; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAABnRSTlMAAAAAAABupgeRAAABHUlEQVR42o2RMW7DIBiF3498iHRJD5JKHurL+CRVBp+i2T16tTynF2gO0KSb5ZrBBl4HHDBuK/WXACH4eO9/CAAAbdvijzLGNE1TVZXfZuHg6XCAQESAZXbOKaXO57eiKG6ft9PrKQIkCQqFoIiQFBGlFIB5nvM8t9aOX2Nd18oDzjnPgCDpn/BH4zh2XZdlWVmWiUK4IgCBoFMUz9eP6zRN75cLgEQhcmTQIbl72O0f9865qLAAsURAAgKBJKEtgLXWvyjLuFsThCSstb8rBCaAQhDYWgIZ7myM+TUBjDHrHlZcbMYYk34cN0YSLcgS+wL0fe9TXDMbY33fR2AYBvyQ8L0Gk8MwREBrTfKe4TpTzwhArXWi8HI84h/1DfwI5mhxJamFAAAAAElFTkSuQmCC); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0% 0%; background-repeat: no-repeat no-repeat; ">prgap_landcover.zip</a>, and inside you will find the a .img file</span></div>
</div><div><font class="Apple-style-span" face="&#39;Times New Roman&#39;"><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: medium;"><br>
</span></font></div>Here I add more Information:<div><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">Spatial_Domain:
    Bounding_Coordinates:
      West_Bounding_Coordinate: -67.957335
      East_Bounding_Coordinate: -65.218506
      North_Bounding_Coordinate: 18.529654
      South_Bounding_Coordinate: 17.874067</pre></span><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre style="word-wrap: break-word; white-space: pre-wrap; "><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; white-space: normal; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">
Spatial_Data_Organization_Information:
  Direct_Spatial_Reference_Method: Raster
  Raster_Object_Information:
    Raster_Object_Type: Pixel
    Row_Count: 4793
    Column_Count: 19279
    Vertical_Count: 1
Spatial_Reference_Information:
  Horizontal_Coordinate_System_Definition:
    Planar:
      Map_Projection:
        Map_Projection_Name: Lambert Conformal Conic
        Lambert_Conformal_Conic:
          Standard_Parallel: 18.033333
          Standard_Parallel: 18.433333
          Longitude_of_Central_Meridian: -66.433333
          Latitude_of_Projection_Origin: 17.833333
          False_Easting: 200000.000000
          False_Northing: 200000.000000
      Planar_Coordinate_Information:
        Planar_Coordinate_Encoding_Method: row and column
        Coordinate_Representation:
          Abscissa_Resolution: 15
          Ordinate_Resolution: 15
        Planar_Distance_Units: meters
    Geodetic_Model:
      Horizontal_Datum_Name: North American Datum of 1983
      Ellipsoid_Name: Geodetic Reference System 80
      Semi-major_Axis: 6378137.000000
      Denominator_of_Flattening_Ratio: 298.257222
Entity_and_Attribute_Information:
  Detailed_Description:
    Entity_Type:
      Entity_Type_Label: Layer_1
    Attribute:
      Attribute_Label: ObjectID
      Attribute_Definition: Internal feature number.
      Attribute_Definition_Source: ESRI
      Attribute_Domain_Values:
        Unrepresentable_Domain: Sequential unique whole numbers that are automatically generated.
    Attribute:
      Attribute_Label: Value
      Attribute_Definition: A number assigned to each specific land cover class or type.
    Attribute:
      Attribute_Label: Red
    Attribute:
      Attribute_Label: Green
    Attribute:
      Attribute_Label: Blue
    Attribute:
      Attribute_Label: Class_names
      Attribute_Definition: Land cover types
    Attribute:
      Attribute_Label: Opacity
    Attribute:
      Attribute_Label: Count
      Attribute_Definition: Number of pixels of each land cover type.</pre><pre style="word-wrap: break-word; white-space: pre-wrap; "><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; white-space: normal; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">
Standard_Order_Process:
    Digital_Form:
      Digital_Transfer_Information:
        Format_Name: ERDAS
        Format_Version_Date: November 03, 2006.
        Format_Specification: This landcover was developed using ERDAS IMAGINE 8.7.
        Format_Information_Content: This raster dataset represent the landcover for Puerto Rico and it&#39;s adyacent islands.
        File_Decompression_Technique: no compression applied
        Transfer_Size: 0.000</pre></span></pre></span></pre></span><span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: medium; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">
<br></pre><pre style="word-wrap: break-word; white-space: pre-wrap; ">Thanks for your help!</pre><pre style="word-wrap: break-word; white-space: pre-wrap; "><span class="Apple-style-span" style="font-family: arial; white-space: normal; font-size: small; ">-- </span></pre>
</span></div><div>Iván Henríquez<br><br>
</div>