For several years now, r.cost, r.drain, and now r.walk have continued to use the adapted sites library instead of the vector library. This means that they all fail if you enter vector points as starting points. It sure would be nice if this feature actually worked on these so that you could 1) use a vector map for start points rather than having to manually enter coordinates and 2) use multiple starting points.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
I'm not sure what version you are using but those modules run fine for
me using a vector file, with multiple points (I've been using v6.3
compiled in windows with msys/mingw). They just put up a warning
message about the sites library being deprecated. Honestly, I
attempted but failed to update r.walk to the vector library. My
programming skills are not quite up to par, yet.
-Colin
On Tue, Nov 18, 2008 at 2:17 PM, Michael Barton <michael.barton@asu.edu> wrote:
For several years now, r.cost, r.drain, and now r.walk have continued to use
the adapted sites library instead of the vector library. This means that
they all fail if you enter vector points as starting points. It sure would
be nice if this feature actually worked on these so that you could 1) use a
vector map for start points rather than having to manually enter coordinates
and 2) use multiple starting points.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
Thanks Colin,
I'll need to try more to see what is going on.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On Nov 18, 2008, at 12:26 PM, Colin Nielsen wrote:
I'm not sure what version you are using but those modules run fine for
me using a vector file, with multiple points (I've been using v6.3
compiled in windows with msys/mingw). They just put up a warning
message about the sites library being deprecated. Honestly, I
attempted but failed to update r.walk to the vector library. My
programming skills are not quite up to par, yet.
-Colin
On Tue, Nov 18, 2008 at 2:17 PM, Michael Barton <michael.barton@asu.edu> wrote:
For several years now, r.cost, r.drain, and now r.walk have continued to use
the adapted sites library instead of the vector library. This means that
they all fail if you enter vector points as starting points. It sure would
be nice if this feature actually worked on these so that you could 1) use a
vector map for start points rather than having to manually enter coordinates
and 2) use multiple starting points.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
Michael Barton wrote:
For several years now, r.cost, r.drain, and now r.walk have continued
to use the adapted sites library instead of the vector library. This
means that they all fail if you enter vector points as starting
points. It sure would be nice if this feature actually worked on these
so that you could 1) use a vector map for start points rather than
having to manually enter coordinates and 2) use multiple starting
points.
Those modules use the sites library, but they use the G_sites_*
functions, which are wrappers around the vector library.
The functions which read legacy sites files are named G_oldsites_*,
and the only module which uses those functions is v.in.sites.
--
Glynn Clements <glynn@gclements.plus.com>
Hi Colin,
It looks like this works fine with my system even though it is not working with another one. I suspect some local problem in that case.
Michael
____________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
On Nov 18, 2008, at 12:26 PM, Colin Nielsen wrote:
I'm not sure what version you are using but those modules run fine for
me using a vector file, with multiple points (I've been using v6.3
compiled in windows with msys/mingw). They just put up a warning
message about the sites library being deprecated. Honestly, I
attempted but failed to update r.walk to the vector library. My
programming skills are not quite up to par, yet.
-Colin
On Tue, Nov 18, 2008 at 2:17 PM, Michael Barton <michael.barton@asu.edu> wrote:
For several years now, r.cost, r.drain, and now r.walk have continued to use
the adapted sites library instead of the vector library. This means that
they all fail if you enter vector points as starting points. It sure would
be nice if this feature actually worked on these so that you could 1) use a
vector map for start points rather than having to manually enter coordinates
and 2) use multiple starting points.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
I figured out what the 'problem' is with r.walk.
If you use a null map for the friction map (because a friction map is required even if you don't want to use it), it creates raster support files but no map (i.e., no cell/fcell map).
This is a minor bug as it should either give an error or create something (null map, ignore the friction map, but something). But it is an easy workaround and is not critical. Still, people should be aware of this.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On Nov 18, 2008, at 12:31 PM, Michael Barton wrote:
Thanks Colin,
I'll need to try more to see what is going on.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On Nov 18, 2008, at 12:26 PM, Colin Nielsen wrote:
I'm not sure what version you are using but those modules run fine for
me using a vector file, with multiple points (I've been using v6.3
compiled in windows with msys/mingw). They just put up a warning
message about the sites library being deprecated. Honestly, I
attempted but failed to update r.walk to the vector library. My
programming skills are not quite up to par, yet.
-Colin
On Tue, Nov 18, 2008 at 2:17 PM, Michael Barton <michael.barton@asu.edu> wrote:
For several years now, r.cost, r.drain, and now r.walk have continued to use
the adapted sites library instead of the vector library. This means that
they all fail if you enter vector points as starting points. It sure would
be nice if this feature actually worked on these so that you could 1) use a
vector map for start points rather than having to manually enter coordinates
and 2) use multiple starting points.
Michael
______________________________
C. Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton