[GRASS-user] Query regarding r.horizon in GRASS GIS

Helmut Kudrnovsky hellik at web.de
Wed Mar 7 02:21:49 PST 2018


[never send private mail, always use the GRASS GIS user list]

 >>Gesendet: Mittwoch, 07. März 2018 um 10:52 Uhr
>>Von: "Johnn Wani" <johnn.nith at gmail.com>
>>Betreff: Query regarding r.horizon in GRASS GIS
>>
>>Dear sir,
>>Greetings from India,
>> 
>>I am a student from India. I am using GRASS GIS 7.2.2 as a standalone in Windows 10 operating system.
>> 
>>My aim is to use r.horizon module to calculate horizon at a point in my study area and save it to a .csv file. As I run the following command in the console window on GRASS GIS:
>> 
>>r.horizon -d --overwrite elevation=n34_e077_1arc_v3 at PERMANENT direction=90 step=22.5 coordinates=741302,3793829 file=C:\Users\user\horizon.csv
>> 
>>But I am receiving an error message as attached herewith. Earlier also I got the same error message but it was due to non-alignment of my DEM.
>>This time my DEM is aligned here is the output of g.region -p command:
>> 
>> g.region -p                                                                     
>>projection: 3 (Latitude-Longitude)
>>zone:       0
>>datum:      wgs84
>>ellipsoid:  wgs84
>>north:      35:00:00.5N
>>south:      33:59:59.5N
>>west:       76:59:59.5E
>>east:       78:00:00.5E
>>nsres:      0:00:01
>>ewres:      0:00:01
>>rows:       3601
>>cols:       3601
>>cells:      12967201
>>(Wed Mar 07 15:15:14 2018) Command finished (0 sec) 
>> 
>>Please help
>>Sorry for any inconvenience caused by this mail
>> 
>>With sincere regards--
>>
>>JOHN MOHD WANIPh.D. Research Scholar 
>>Department of Civil EngineeringIIT Roorkee, Uttarakhand, INDIA-247667
>>Mail: johnn.nith at gmail.com[mailto:johnn.nith at gmail.com]
>>(M): +91-8126910585
 
please post wich winGRASS version, standalone or OSGeo4W?

have a look into the manual of r.horizon:
https://grass.osgeo.org/grass74/manuals/r.horizon.html

there is an example with the NC sample data set.

test this example on your computer and see if it works.

kind regards
Helmut


More information about the grass-user mailing list