[GRASS-user] Using v.surf.rst

Jaros?aw Jasiewicz jarekj at amu.edu.pl
Fri Apr 9 03:44:05 EDT 2010


Eric pisze:
>
> 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.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>   
It simply menas that data are outside your region

try:

g.region vect=secondTry

HTH
J.


More information about the grass-user mailing list