[GRASS-user] importing a rotated grid

Markus Neteler neteler at osgeo.org
Wed May 11 06:56:22 PDT 2016


On Tue, May 10, 2016 at 11:59 PM, Ken Mankoff <mankoff at gmail.com> wrote:
> Hi GRASS list,
>
> I've been provided a raster in CSV format with the following projection information:
>
>> Lower left:     1335118.12   -183634.6
>> Upper left:      1830084.71   776119.12
>> Upper right:    2184807.4    593180.76
>> Lower right:   1689841.11  -366572.96
>>
>> All coordinates are in Albers NAD83. Coordinates of the upper left
>> hand corner of the model represent row 1, column 1. The model angle of
>> rotation is -27.28 degrees.
>
> Can anyone suggest how to import this into GRASS? "Albers NAD83" isn't a unique description, but more importantly, I'm not sure how to import rotated data in GRASS.

I see two options:
* import as is, then i.rotate
  https://grass.osgeo.org/grass70/manuals/addons/i.rotate.html

* using GDAL tools, convert into eg GeoTIFF along with proper
projection information, then gdalwarp.
  Perhaps through Python calling the "geotransform" functions.
  Random links:
   - http://www.digital-geography.com/python-for-geospatial-data-analysis-part-iv/
   - http://gis.stackexchange.com/questions/131465/gdal-rotate-dem

Maybe this gets you into the right direction (other solutions may exist).

Best
Markus


More information about the grass-user mailing list