[GRASS-user] Unable to create new project with Grass 6.2.2 in Ubuntu 7.1

I am unable to create a new location/project in Grass. Since I am new to both Linux/Ubuntu and Grass there are a nearly infinite ways to go wrong. I have Ubuntu 7.10 installed. I used Synaptic to install Grass 6.2.2 . I have been able to start Grass and play with the Spearfish and North Carolina datasets. I’ve made it to page 37 in “Open Source GIS A Grass GIS Approach, 3rd ed.” As interesting as North Carolina is, I yearn to create a map of western New York. But when I try to create a new project closer to home, I get nowhere. All the tutorials I’ve come across treat this as trivial, but I’m stuck!

Starting Grass from the “Run Application” applet (“run in terminal” box checked), starts Grass in the terminal window and a Grass Startup GUI window appears. Using the Browse button I enter “/home/matt/grass/grassdata” in the GIS Data Directory box. The previous created directory map1 appears in the project location box and the Accessible Mapsets window is empty. At this point I’ve tried several things. If before starting Grass I put a Tiger shp file ( tgr36029lkA.shp) into map1, I’m unable to use it. If I click on EPSG codes and select 4326 and click “Define Location” it tells me to restart Grass to find the created location. When restarted the location is not there.

Any ideas? Especially how to start a new project using a Tiger shape file? (Remember, novice).

Thanks,
Matt

On Thu, 10 Jan 2008 22:27:20 -0500
Matt <mlpublic42@gmail.com> wrote:

I am unable to create a new location/project in Grass.
Since I am new to
both Linux/Ubuntu and Grass there are a nearly infinite
ways to go wrong. I
have Ubuntu 7.10 installed. I used Synaptic to install
Grass 6.2.2. I have
been able to start Grass and play with the Spearfish and
North Carolina
datasets. I've made it to page 37 in "Open Source GIS A
Grass GIS Approach,
3rd ed." As interesting as North Carolina is, I yearn to
create a map of
western New York. But when I try to create a new project
closer to home, I
get nowhere. All the tutorials I've come across treat
this as trivial, but
I'm stuck!

Starting Grass from the "Run Application" applet ("run in
terminal" box
checked), starts Grass in the terminal window and a Grass
Startup GUI window
appears. Using the Browse button I enter
"/home/matt/grass/grassdata" in
the GIS Data Directory box. The previous created
directory map1 appears in
the project location box and the Accessible Mapsets
window is empty. At
this point I've tried several things. If before starting
Grass I put a
Tiger shp file (tgr36029lkA.shp) into map1, I'm unable to
use it. If I
click on EPSG codes and select 4326 and click "Define
Location" it tells me
to restart Grass to find the created location. When
restarted the location
is not there.

Any ideas? Especially how to start a new project using a
Tiger shape
file? (Remember, novice).

Thanks,
Matt

Hi Matt!

I am also new in GRASS.

If you have the Book you mention it shouldn't be that hard.

But, (for my own practice as well) I try to describe
step-by-step.

So, try it the "hard" way:

1. Open a Terminal and start grass in text mode:

grass -text

2. Describe the LOCATION ( e.g. CloseToHome), the MAPSET
(e.g. Matt) and the directory in which you want to store
your GIS data base (that is: /wherever/you/store/your/data)

3. AFTER COMPLETING ALL ANSWERS, HIT <ESC><ENTER> TO
CONTINUE

4. Probably you get the message(s):
LOCATION <loseToHome> - doesn't exist
[...]
Would you like to create location <loseToHome> ? (y/n) [y]

Of course you hit the "Enter"

5. Then you get the message(s):

To create a new LOCATION, you will need the following
information:
[...]
Do you have all this information? (y/n) [y]

(a) *** If you don't have them search in the web!

(useful webpage: http://spatialreference.org/)

You can also look after a specific EPSG code and get the
necessary parameters in "proj" format

(b) Once you got the info you continue... (hit "Enter"!)

( Now in your case, since you mentioned EPSG:4326 -
http://spatialreference.org/ref/epsg/4326/proj4/ - which is
actually the WGS84 Datum, you just choose "B", the
Latitude-Longitude coordinate system and verify (again)
your option with "Enter" )

6. Give a description to your project

7. Specify "wgs84" as a geodetic datum

8. type "list" to see available Transformation Parameters
(there is only 1 option) and give "1" when asked).

9. Now you need to DEFINE THE DEFAULT REGION
(geographically of course) so you need the coordinates of
your "Study Area" let's say (Highest & Lowest Latitude &
Longitude values)

and the GRID RESOLUTION (depends on the resolution of the
data with which you want to work -- Notice that in WGS84
you don't define meters but degrees...)

10. You check and accept and hit <ESC><ENTER> and <ENTER>

You should be ready to take off...

** Of course the process of creating a LOCATION is
different depending on the coordinate system you need to
work with.

Try to browse through the GRASS user mailing list and
search for how to import TIGER data. There are already a
couple of answers upon this.

FFfff... it's kind of late... so don't shout if I passed
some wrong info about creating a new project! ;-p

Hi, list
I installed GRASS 6.2.3 in about 14 computers with i368 architecture and Ubuntu 7.10 (Les-ejk repositorios). The only way to create a new Location is using QGIS.
Using GRASS the error explained by Matt occurs.
¿Any ideas?

Thanks,
Jan

2008/1/11, Matt <mlpublic42@gmail.com>:

I am unable to create a new location/project in Grass. Since I am new to both Linux/Ubuntu and Grass there are a nearly infinite ways to go wrong. I have Ubuntu 7.10 installed. I used Synaptic to install Grass 6.2.2 . I have been able to start Grass and play with the Spearfish and North Carolina datasets. I’ve made it to page 37 in “Open Source GIS A Grass GIS Approach, 3rd ed.” As interesting as North Carolina is, I yearn to create a map of western New York. But when I try to create a new project closer to home, I get nowhere. All the tutorials I’ve come across treat this as trivial, but I’m stuck!

Starting Grass from the “Run Application” applet (“run in terminal” box checked), starts Grass in the terminal window and a Grass Startup GUI window appears. Using the Browse button I enter “/home/matt/grass/grassdata” in the GIS Data Directory box. The previous created directory map1 appears in the project location box and the Accessible Mapsets window is empty. At this point I’ve tried several things. If before starting Grass I put a Tiger shp file ( tgr36029lkA.shp) into map1, I’m unable to use it. If I click on EPSG codes and select 4326 and click “Define Location” it tells me to restart Grass to find the created location. When restarted the location is not there.

Any ideas? Especially how to start a new project using a Tiger shape file? (Remember, novice).

Thanks,

Matt


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Thanks for the help. Starting grass with -text worked and I was able to create a new location.

Hi Matt,
but does the GUI work now as well?
I’m using Ubuntu 7.10 and GRASS 6.2.3 and have no problems starting the GIS.
If it doesn’t work have a look to the database directory entry. The last word inside hast to be /home/user/grassdata. In my case the browser button does not work as I want to, so I have to type the path instead of using the browser.

Have luck
cheers
Philipp

Matt wrote:

Matt,

to me both work, the -text mode and the -gui mode as well. And with the
EPSG code's, it's so easy to define a LOCATION.

just wondering if you added the following repositories in your
sources.list file:

deb http://les-ejk.cz/ubuntu gutsy multiverse
deb-src http://les-ejk.cz/ubuntu gutsy multiverse

I don't suggest that there is a problem with any version! Just
curious... !

Cheers,

Nikos.

On Tue, 2008-01-15 at 07:52 +0100, opopanax wrote:

Hi Matt,
but does the GUI worknow as well?
I'm using Ubuntu 7.10 and GRASS 6.2.3 and have no problems starting
the GIS.
If it doesn't work have a look to the database directory entry. The
last word inside hast to be /home/user/grassdata. In my case the
browser button does not work as I want to, so I have to type the path
instead of using the browser.

Have luck
cheers
Philipp

Matt wrote:
> Thanks for the help. Starting grass with -text worked and I was
> able to create a new location.
>
>
>
> ____________________________________________________________________
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Nikos Alexandris
.
Department of Remote Sensing & Landscape Information Systems
Faculty of Forestry & Environmental Sciences, Albert-Ludwigs-University Freiburg
.
Tel. +49 (0) 761 203 3697 / Fax. +49 (0) 761 203 3701 / Skype: Nikos.Alexandris
.
Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany