Re: [GRASS-user] RE:How to find shortest distances from the investigation point to the shoreline

2009-05-14 Thread SGW00412
Dear all:

I solved this problem at last !

Well, I found the method of installing grass6.4 on ubuntu 9.04.

http://les-ejk.cz/2009/05/grass-64-rc4-for-ubuntu-904/

I want to say the reward to you. Thank you !

However, I have the relating question... I am also linux- beginner user.

#db.select point_data fs=,  result.csv
#bash: result.csv: Permission denied

Why does this occur?
It was not generated in the old version.

Yasuo shimada
-
sgw00...@nifty.comさん:
 Dear Hamish and Milton:
 
 Thank you good advice and kind message.
 
 I intend to install (compile) a new version, 6.3 or more.
 
 Best
 
 Yasuo shimada
 --
 Hamish hamis...@yahoo.comさん:
  
  sgw00412 wrote:
   I tested by two kinds of geographical coordinate systems by
   using the same data.
   
   One of the geographical coordinate systems is UTM54, and
   the remainder is wgs84. 
   
   data :point vector data (10 points) and a line vector data
   OS: grass 6.2.3 on Cygwin.
   
   As a result, the case of UTM54 obtained the distance of meter.
   On the other hand, wgs84 obtained the distance of decimal value.
   
   So, I guess that the decimal value of wgs84 is a degree of
   latitude longitude.

   
   Grass manual wrote that ...In lat-long locations v.distance gives
   distances (dist and to_along) in meters not in degrees calculated as
   geodesic distances on a sphere..
   http://www.ces.iisc.ernet.in/grass/grass64/manuals/html64_user/v.distance.html
   
   Though this manual is version 6.4, the manual of version
   6.2 is not written it.
   
   Is this interpretation correct?
   
   If it is so, please teach me the method of converting the
   decimal value into the meter. 
  
  
  Yes, version 6.2.3 is giving distances in (useless) degree units. This
  was fixed in Jan 2008 by Martin to use geodesic distance in meters, so
  GRASS 6.3.0 and the upcoming 6.4 do return meters. But 6.2.3 was
  released in Nov 2007 and so is too old to have that fix.
  
  
  Hamish
  
  
  

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


Re: [GRASS-user] RE:How to find shortest distances from the investigation point to the shoreline

2009-05-14 Thread Hamish

Yasuo shimada wrote:
 However, I have the relating question... I am also linux-
 beginner user.
 
 #db.select point_data fs=,  result.csv
 #bash: result.csv: Permission denied
 
 Why does this occur?

probably because you are trying to write a file to the disk in the
current directory, and you are in a read-only directory such as /.
do cd ~ or cd /tmp/ and try again.


Hamish



  

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


Re: [GRASS-user] RE:How to find shortest distances from the investigation point to the shoreline

2009-05-14 Thread SGW00412
Dear milton and Hamish

mitton wrote:
 db.select point_data fs=,  /home/YOURNORMALUSER/result.csv

Hamish wrote:
 probably because you are trying to write a file to the disk in the
 current directory, and you are in a read-only directory such as /.
 do cd ~ or cd /tmp/ and try again.

Great !!

All my problems were completely solved. 

I think that the mailing list of grass is wonderful. 

Thank you !! 

Best

yasuo shimada
---

Hamish hamis...@yahoo.comさん:
 
 Yasuo shimada wrote:
  However, I have the relating question... I am also linux-
  beginner user.
  
  #db.select point_data fs=,  result.csv
  #bash: result.csv: Permission denied
  
  Why does this occur?
 
 probably because you are trying to write a file to the disk in the
 current directory, and you are in a read-only directory such as /.
 do cd ~ or cd /tmp/ and try again.
 
 
 Hamish
 
 
 
   
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] RE:How to find shortest distances from the investigation point to the shoreline

2009-05-13 Thread Hamish

sgw00412 wrote:
 I tested by two kinds of geographical coordinate systems by
 using the same data.
 
 One of the geographical coordinate systems is UTM54, and
 the remainder is wgs84. 
 
 data :point vector data (10 points) and a line vector data
 OS: grass 6.2.3 on Cygwin.
 
 As a result, the case of UTM54 obtained the distance of meter.
 On the other hand, wgs84 obtained the distance of decimal value.
 
 So, I guess that the decimal value of wgs84 is a degree of
 latitude longitude.
  
 
 Grass manual wrote that ...In lat-long locations v.distance gives
 distances (dist and to_along) in meters not in degrees calculated as
 geodesic distances on a sphere..
 http://www.ces.iisc.ernet.in/grass/grass64/manuals/html64_user/v.distance.html
 
 Though this manual is version 6.4, the manual of version
 6.2 is not written it.
 
 Is this interpretation correct?
 
 If it is so, please teach me the method of converting the
 decimal value into the meter. 


Yes, version 6.2.3 is giving distances in (useless) degree units. This
was fixed in Jan 2008 by Martin to use geodesic distance in meters, so
GRASS 6.3.0 and the upcoming 6.4 do return meters. But 6.2.3 was
released in Nov 2007 and so is too old to have that fix.


Hamish



  

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


Re: [GRASS-user] RE:How to find shortest distances from the investigation point to the shoreline

2009-05-13 Thread Milton Cezar Ribeiro
Hi all,

May be our friend Yasuo shimada
are suffering for the absence of
binary version newest than 6.2 on linux?
regards,

milton
2009/5/13 Hamish hamis...@yahoo.com


 sgw00412 wrote:
  I tested by two kinds of geographical coordinate systems by
  using the same data.
 
  One of the geographical coordinate systems is UTM54, and
  the remainder is wgs84.
 
  data :point vector data (10 points) and a line vector data
  OS: grass 6.2.3 on Cygwin.
 
  As a result, the case of UTM54 obtained the distance of meter.
  On the other hand, wgs84 obtained the distance of decimal value.
 
  So, I guess that the decimal value of wgs84 is a degree of
  latitude longitude.
 
 
  Grass manual wrote that ...In lat-long locations v.distance gives
  distances (dist and to_along) in meters not in degrees calculated as
  geodesic distances on a sphere..
 
 http://www.ces.iisc.ernet.in/grass/grass64/manuals/html64_user/v.distance.html
 
  Though this manual is version 6.4, the manual of version
  6.2 is not written it.
 
  Is this interpretation correct?
 
  If it is so, please teach me the method of converting the
  decimal value into the meter.


 Yes, version 6.2.3 is giving distances in (useless) degree units. This
 was fixed in Jan 2008 by Martin to use geodesic distance in meters, so
 GRASS 6.3.0 and the upcoming 6.4 do return meters. But 6.2.3 was
 released in Nov 2007 and so is too old to have that fix.


 Hamish





 ___
 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


[GRASS-user] RE:How to find shortest distances from the investigation point to the shoreline

2009-05-12 Thread sgw00412
Hi all

I'm sorry for repeating the same question.

I tested by two kinds of geographical coordinate systems by using the same dat
a.

One of the geographical coordinate systems is UTM54, and the remainder is wgs8
4. 

data :point vector data (10 points) and a line vector data
OS: grass 6.2.3 on Cygwin.

As a result, the case of UTM54 obtained the distance of meter. On the other ha
nd, wgs84 obtained the distance of decimal value. 

So, I guess that the decimal value of wgs84 is a degree of latitude longitude.
 

Grass manual wrote that ...In lat-long locations v.distance gives distances (
dist and to_along) in meters not in degrees calculated as geodesic distances o
n a sphere..
http://www.ces.iisc.ernet.in/grass/grass64/manuals/html64_user/v.distance.html

Though this manual is version 6.4, the manual of version 6.2 is not written it
.

Is this interpretation correct?

If it is so, please teach me the method of converting the decimal value into t
he meter. 


---
PROJCS[Transverse Mercator,
GEOGCS[unnamed,
DATUM[unknown,
SPHEROID[unnamed,6378137,298.257222101],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,141],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1]]

cat,UserID,distance
1,0,324.231475
2,0,170.339585
3,0,338.095708
4,0,347.756189
5,0,143.91159
6,0,156.702461
7,0,336.369666
8,0,178.761379
9,0,163.440513
10,0,122.997484
---
GEOGCS[wgs84,
DATUM[WGS_1984,
SPHEROID[wgs84,6378137,298.257223563]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433]]

cat,UserID,distance
1,0,0.003779
2,0,0.00198
3,0,0.003937
4,0,0.004053
5,0,0.001677
6,0,0.001826
7,0,0.003048
8,0,0.002084
9,0,0.001484
10,0,0.001113
-

Yasuo shimada

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