[GRASSLIST:1558] GRASS 5.7: Vector networking tutorial

Hi,
I'm practicing on this tutorial, it's so good for me
to know more about GRASS 5.7.
but I have some problems with it:
1. In reachability of schools section:
I did all till
  d.vect schools disp=attr attr=pointName
bgcolor=white bcolor=black
but I get this error message:
  Cannot select attributes from cat 39.
Does anybody know what is this error and what should I
do?

Thank you so much

Maliheh

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

On Sunday 26 October 2003 14:20, Maliheh wrote:

Hi,
I'm practicing on this tutorial, it's so good for me
to know more about GRASS 5.7.
but I have some problems with it:
1. In reachability of schools section:
I did all till
  d.vect schools disp=attr attr=pointName
bgcolor=white bcolor=black
but I get this error message:
  Cannot select attributes from cat 39.
Does anybody know what is this error and what should I
do?

Area you sure that db connection and table is ok? Does d.what.vect works?
Try g.gisenv set=DEBUG=2 and try last printed SQL query with db.select.
(use driver/database the same as printed by v.db.connect -p map=schools).

Radim

Hello Radim,

Thank you so much for your responses, my last two
problems have been solved by your hints.

Now in continuing tutorial, another problem:

when I use this command:

v.clean in=schools_net out=schools_net_clean
tool=svtlx,break thresh=1

this error is occurred:

Error: value <svtlx> out of range for parameter <tool>
       Legal range:
break,rmdupl,rmdangle,chdangle,rmbridge,chbridge,snap,rmdac,bpol

would you please help me again and do you let me to
ask you my other problems in this tutorial?

Regards
Maliheh

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

On Monday 27 October 2003 11:59, Maliheh wrote:

Hello Radim,

Thank you so much for your responses, my last two
problems have been solved by your hints.

Now in continuing tutorial, another problem:

when I use this command:

v.clean in=schools_net out=schools_net_clean
tool=svtlx,break thresh=1

this error is occurred:

Error: value <svtlx> out of range for parameter <tool>
       Legal range:
break,rmdupl,rmdangle,chdangle,rmbridge,chbridge,snap,rmdac,bpol

Use 'snap'.

Radim

Hi Radim,
Again thanks.
and again another problem:

g.rename vect=schools_net_clean,schools_net

--> WARNING: Vectors are not supported by g.rename

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

On Monday 27 October 2003 13:39, Maliheh wrote:

Hi Radim,
Again thanks.
and again another problem:

g.rename vect=schools_net_clean,schools_net

--> WARNING: Vectors are not supported by g.rename

There was never support for vectors in g.rename (5.1/7).

Radim

On Mon, Oct 27, 2003 at 03:11:57PM +0100, Radim Blazek wrote:

On Monday 27 October 2003 13:39, Maliheh wrote:
> Hi Radim,
> Again thanks.
> and again another problem:
>
> g.rename vect=schools_net_clean,schools_net
>
> --> WARNING: Vectors are not supported by g.rename

There was never support for vectors in g.rename (5.1/7).

g.copy vect=schools_net_clean,schools_net
g.remove vect=schools_net_clean

should do the same.

Markus

Hello all,
Thank you for everything!
Don't you think it's better to edit it in GRASS5.7:
Vector networking tutorial ?

and another really hard problem :

v.net.iso input=schools_net output=schools_iso
ccats=200-201 costs=1000

It goes into an infinite loop (16 hours)

Now what should I do? If I should don't think about
this module now? :frowning:

> > g.rename vect=schools_net_clean,schools_net
> >
> > --> WARNING: Vectors are not supported by
g.rename
>
> There was never support for vectors in g.rename
(5.1/7).

g.copy vect=schools_net_clean,schools_net
g.remove vect=schools_net_clean

should do the same.

Markus

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

On Tuesday 28 October 2003 11:19, Maliheh wrote:

Hello all,
Thank you for everything!
Don't you think it's better to edit it in GRASS5.7:
Vector networking tutorial ?

and another really hard problem :

v.net.iso input=schools_net output=schools_iso
ccats=200-201 costs=1000

It goes into an infinite loop (16 hours)

Now what should I do? If I should don't think about
this module now? :frowning:

It may take a long time.
Find the bug. Try to use v.net.iso with various data and options
so that you can tell me when it works and when it doesn't.
Try also 'g.gisenv set=DEBUG=3' before v.net.iso to see a debug output.

Radim

On Tue, Oct 28, 2003 at 02:19:01AM -0800, Maliheh wrote:

Hello all,
Thank you for everything!
Don't you think it's better to edit it in GRASS5.7:
Vector networking tutorial ?

It's already updated :slight_smile:

and another really hard problem :

v.net.iso input=schools_net output=schools_iso
ccats=200-201 costs=1000

It goes into an infinite loop (16 hours)

It is probably (not sure) related to the disabled cache
in DGLib (it was disabled due to a bug). So v.net.iso might
deliver a result after 17 hours or 1 week.

Maybe the upcoming network library from Greg Sepesi is
way faster?

Or you track down the bug in DGLib cache...

Markus Neteler

It’s already updated :slight_smile:

would you please send me the url of updated tutorial?

It is probably (not sure) related to the disabled cache
in DGLib (it was disabled due to a bug). So v.net.iso might
deliver a result after 17 hours or 1 week.

Maybe the upcoming network library from Greg Sepesi is
way faster?

Or you track down the bug in DGLib cache…

thanks for your help

Maliheh


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

Hello all,
I want to ask a mapping company that prepare for me some vector maps of street network of our city.
they gave me a sample but in “dwg” format, I think that the library for using this format has an expensive license, so I want to know, in which format I should tell them, give me the maps, that I could use them in GRASS and do some analysis on them.
Would you please help me?
thanks a lot
Maliheh


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

On Tuesday 04 November 2003 11:17, Maliheh wrote:

Hello all,
I want to ask a mapping company that prepare for me some vector maps of
street network of our city. they gave me a sample but in "dwg" format, I
think that the library for using this format has an expensive license, so I
want to know, in which format I should tell them, give me the maps, that I
could use them in GRASS and do some analysis on them. Would you please help
me?
thanks a lot
Maliheh

DWG files can be imported by v.in.dwg in version 5.1/7. To compile this
module, you need OpenDWG library. You can use this library for free in
your organization but you cannot sell products (SW) using this library
(until you become "Commercial Associate Member").
See http://www.opendwg.org/membership/join.htm
We cannot distribute binary version of v.in.dwg via Web, because
GRASS license does not allow it.

Radim

Radim & Hamish,
Thank you so much for your responses, but I want to know if there is another format that be suitable for network analysis or not?
i.e. what is the format of frida dataset roads?

Best Regards

Maliheh


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

Hello again,
I convert my "dwg" file into "dxf" but
in grass5.7 : v.in.dxf is an invalid command,
and in grass5.1 : v.in.dxf is done 100% but when I use
v.info it says: Could not find vector file

Please help me, really I don't know what should I do
and its so important for me :~(

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maliheh wrote:

Hello again,
I convert my "dwg" file into "dxf" but
in grass5.7 : v.in.dxf is an invalid command,
and in grass5.1 : v.in.dxf is done 100% but when I use
v.info it says: Could not find vector file

Please help me, really I don't know what should I do
and its so important for me :~(

I use grass-5.0.x and grass57 myself, and have imported DXF files (from
Garmin Mapsource) with no problems in 5.0.x.

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/r3+DrJK6UGDSBKcRAnEVAJ9lQDHomw4HuNh5OPx2J/rDCXdX1ACgvpgM
M5t/kReIA+4ndn/9CdrH6kY=
=Ai3/
-----END PGP SIGNATURE-----

On Monday 10 November 2003 11:43, Maliheh wrote:

Hello again,
I convert my "dwg" file into "dxf" but
in grass5.7 : v.in.dxf is an invalid command,
and in grass5.1 : v.in.dxf is done 100% but when I use
v.info it says: Could not find vector file

Please help me, really I don't know what should I do
and its so important for me :~(

v.in.dwg reads both DWG and DXF, you have to compile it using OpenDWG libraries,
configure options:
  --with-opendwg support openDWG functionality (default: no)
  --with-opendwg-includes=DIRS
  --with-opendwg-libs=DIRS

Radim

On Mon, Nov 10, 2003 at 02:10:30PM +0100, Radim Blazek wrote:

On Monday 10 November 2003 11:43, Maliheh wrote:
> I convert my "dwg" file into "dxf" but
> in grass5.7 : v.in.dxf is an invalid command,
> and in grass5.1 : v.in.dxf is done 100% but when I use
> v.info it says: Could not find vector file
>
> Please help me, really I don't know what should I do
> and its so important for me :~(

v.in.dwg reads both DWG and DXF, you have to compile it using OpenDWG libraries,

But be warned that the opendwg libraries are proprietary software
and you violate GRASS' license if you give those binaries to anybody else.

Hi Buchan,
Thank you so much for your response,
But, would you please tell me how you have done that? (step by step in details)
Sorry for bothering you!
Regards
Maliheh

Buchan Milne bgmilne@cae.co.za wrote:

I use grass-5.0.x and grass57 myself, and have imported DXF files (from
Garmin Mapsource) with no problems in 5.0.x.

Regards,
Buchan


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

Hello dear Andreas,
I have read your paper with the subject of this mail.
I want to use of grass for developing a navigator in cars with routing feature.
Now I want to ask you, do you think your modules are suitable for my goal?
Did you implement the “gps-track.tcl”?
I’m new in this field. Would you please tell me some hints?
Your responses will be so appreciated.
Best Regards
Maliheh


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