[GRASS-user] Re: Using v.surf.rst
madi
diregola at gmail.com
Fri Apr 9 02:27:39 EDT 2010
Hi Eric,
I think the problem is that you have to set you region with g.region
http://grass.itc.it/gdp/html_grass64/g.region.html
Cheers,
Margherita
> ------------------------------
>
> Message: 5
> Date: Thu, 8 Apr 2010 18:31:09 -0700
> From: "Eric" <temp at johannsen.us>
> Subject: [GRASS-user] Using v.surf.rst
> To: <grass-user at lists.osgeo.org>
> Message-ID: <00a501cad784$54f5f2e0$fee1d8a0$@us>
> Content-Type: text/plain; charset="us-ascii"
>
> I'm very new to GRASS and an experienced programmer.
>
>
>
> My goal is to import isolines (elevation lines) as well as elevation points
> from another mapping program into GRASS and then interpolate a raster based
> on the vector data and then export as a DEM file.
>
>
>
> To that end I have reviewed
>
>
>
> http://grass.osgeo.org/grass64/manuals/html64_user/v.in.ascii.html
>
> http://grass.osgeo.org/grass64/manuals/html64_user/v.surf.rst.html
>
>
>
> I think I understand the principals but am getting stuck on several details.
>
>
>
> As a simple test I attempted to create an ASCII file with X Y Z coordinates:
>
>
>
> myFile.txt
>
> 593493|4914730|123
>
> 591950|4923000|222
>
> 589860|4922000|232
>
> 590400|4922820|143
>
> 593549|4925500|442
>
> 600375|4925235|342
>
>
>
> import with
>
>
>
> v.in.ascii -z input=myFile.txt output=secondTry z=3
>
>
>
> I get v.in.ascii complete (no error messages)
>
>
>
> and then
>
>
>
> run v.surf.rst input=secondTry at PERMANENT elev=secondTryRaster
>
>
>
> This yields the error
>
>
>
> some points outside of region -- will ignore...
>
> there are points outside specified 2D/3D region--ignored 6 points
>
> ERROR2: zero points in the given region!
>
> ERROR: Input failed
>
>
>
> Keeping in mind I'm completely new to GRASS (and don't understand a lot of
> the jargon), can you explain what I'm doing wrong?
>
>
>
> Also, can you recommend a tutorial that covers this type of conversion
> oriented toward beginners?
>
>
>
> Thanks!
>
>
>
> Eric
>
>
>
>
>
> After importing the data points, I do not see anything at all visually in
> GRASS GIS Map Display.
>
>
--
Eng. Margherita Di Leo
Ph.D. Candidate
Methods and Technologies for Environmental Monitoring
Department of Environmental Engineering and Physics (DIFA)
University of Basilicata
Campus Macchia Romana
85100 - Potenza
Italy
Office: +39-0971205363
Fax: +39-0971205160
More information about the grass-user
mailing list