[GRASSLIST:1733] realtime_gps

Dear Hamish,

As you said I changed -q to -w in your script and now it works

But I don’t know what should I write in “USER_PROJ” ?

Would you please explain it for me in simple language?

Thanks a lot

Maliheh


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

As you said I changed -q to -w in your script and now it works

http://bambi.otago.ac.nz/hamish/m.realtime_gps.sh
[turns out Debian's netcat isn't standard, it has a -q timeout flag]

But I don't know what should I write in "USER_PROJ" ?

Would you please explain it for me in simple language?

$USER_PROJ is the projection parameters used by PROJ.4's cs2cs.
(i.e. everything after the +to)

That is the projection parameters for your current location.
You might look at g.projinfo for some ideas.

see:
http://www.remotesensing.org/proj/gen_parms.html

It's probably better to rewrite the script to use 5.3's m.proj2..

Watch this space, more code is on the way ...

Hamish

$USER_PROJ is the projection parameters used by
PROJ.4's cs2cs.
(i.e. everything after the +to)

That is the projection parameters for your current
location.
You might look at g.projinfo for some ideas.

Thank you so much Hamish for your help.
but in grass5.7 when I use g.projinfo it shows:
can't read "opttype(1)":no such element in array
Now what should I do?

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

Hello

On Sat, 15 Nov 2003, Maliheh wrote:

Thank you so much Hamish for your help.
but in grass5.7 when I use g.projinfo it shows:
can't read "opttype(1)":no such element in array
Now what should I do?

Don't use g.projinfo in 5.7; use the newer g.proj. Specifically,
"g.proj -jf" will give you the projection parameters for your current
location in PROJ.4 format. Type "g.proj help" to see the other options
(there is no man page yet).

Paul