Re: [GRASS-user] Building GRASS on Windows

2009-05-01 Thread Darren Cope
I finally found some time to get back at this.  I now have Grass 6.5.0
running in Windows using the process at:
http://trac.osgeo.org/grass/wiki/CompileOnWindows  Thanks to those who have
been maintaining that information!

v.net.iso now runs lightening fast (I can finish in 5 minutes what did not
finish in several *days* in 6.4.0) so I will be continuing my work with that
soon!

Cheers, and thanks again!

Darren Cope
http://dmcope.freeshell.org
http://bluesignweekly.blogspot.com/


On Thu, Mar 19, 2009 at 8:31 AM, Colin Nielsen wrote:

> A MinGW package was missing on the wiki page, my fault not yours. I've
> added it, get "mingw-runtime" and get "bin-utils" too while you're at
> it. Both are now on the wiki. Sorry for the error.
>
> -Colin
>
> On Wed, Mar 18, 2009 at 8:37 PM, Darren Cope  wrote:
> > Hi all,
> >
> > I'm following along with the instructions here:
> > http://trac.osgeo.org/grass/wiki/CompileOnWindows
> > and am getting stuck at Step 5 under PDCurses.  When running:
> >
> > make -f mingwin32.mak DLL=Y all
> >
> > The following error occurs:
> >
> > $ make -f mingwin32.mak DLL=Y all
> > gcc -c -O2 -Wall -I.. -DPDC_DLL_BUILD ../pdcurses/addch.c
> > In file included from ../curspriv.h:25,
> >  from ../pdcurses/addch.c:14:
> > ../curses.h:50:57: stdio.h: No such file or directory
> > In file included from ../curspriv.h:25,
> >  from ../pdcurses/addch.c:14:
> > ../curses.h:928: error: syntax error before '*' token
> > ../curses.h:1010: error: syntax error before "FILE"
> > ../curses.h:1027: error: syntax error before "FILE"
> > make: *** [addch.o] Error 1
> >
> > Any thoughts?  I'd really like to get a new version built so I can play
> with
> > v.net.iso improvements, but am struggling!
> >
> > Darren Cope
> > http://dmcope.freeshell.org
> > http://bluesignweekly.blogspot.com/
> >
> > ___
> > 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] Building GRASS on Windows

2009-03-18 Thread Darren Cope
Hi all,

I'm following along with the instructions here:
http://trac.osgeo.org/grass/wiki/CompileOnWindows
and am getting stuck at Step 5 under PDCurses.  When running:

make -f mingwin32.mak DLL=Y all

The following error occurs:

$ make -f mingwin32.mak DLL=Y all
gcc -c -O2 -Wall -I.. -DPDC_DLL_BUILD ../pdcurses/addch.c
In file included from ../curspriv.h:25,
 from ../pdcurses/addch.c:14:
../curses.h:50:57: stdio.h: No such file or directory
In file included from ../curspriv.h:25,
 from ../pdcurses/addch.c:14:
../curses.h:928: error: syntax error before '*' token
../curses.h:1010: error: syntax error before "FILE"
../curses.h:1027: error: syntax error before "FILE"
make: *** [addch.o] Error 1

Any thoughts?  I'd really like to get a new version built so I can play with
v.net.iso improvements, but am struggling!

Darren Cope
http://dmcope.freeshell.org
http://bluesignweekly.blogspot.com/
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.net.iso Performance

2009-03-18 Thread Darren Cope
Hi all,

Was unsuccessful in building Grass 6.5 on Windows (new at this!) and thus
haven't been able to test v.net.iso.  I will try again at some point on an
Ubuntu machine, and report back.  However, it may be a while!  When will 6.5
or newer be available as a package in OSGeo4W?

Cheers,

Darren Cope
http://dmcope.freeshell.org
http://bluesignweekly.blogspot.com/


On Fri, Mar 13, 2009 at 3:32 AM, Markus Neteler  wrote:

> On Thu, Mar 12, 2009 at 2:34 PM, Markus Metz
>  wrote:
> >
> > Darren Cope wrote:
> ...
> >> My question--is the fix outlined in the thread above implemented in
> GRASS
> >> 6.4.0RC3-2 via OSGeo4W?
> >
> > Not yet, waiting for more testing. Currently it is only fixed in grass65
> and
> > grass7.
> >>
> >> If so, how long should such a process expect to take?
> >
> > Rather minutes than hours:-)
>
> I have made more tests today with LRS
> http://www.grassbook.org/examples3rd_chapter6.php
> and the results are identical to the pre-fix times.
> So also the v.lrs.* which I suppose to use the dblib are
> ok. And pretty fast now!
>
> +1 for backporting of the dglib cache fix.
>
> Markus
>
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] v.net.iso Performance

2009-03-11 Thread Darren Cope
Hi all,

I'm using v.net.iso on a very large dataset (National Road Network for
Ontario, Canada - 497879 lines) to determine drive-time 'rings.'  I'm
experiencing extremely long calculation times.  Since it's a very large
dataset, I'm not entirely surprised.  However, my initial tests were done
using GRASS 6.3.0 under QGIS 0.11.0 and I stopped the process after 5 full
days of running.  After these 5 days, it was still at the "Building Graph"
stage.  I did a search, and found a thread here:
http://trac.osgeo.org/grass/ticket/224 which seemed like a good fit.

Hoping that this was the solution, I downloaded GRASS 6.4.0RC3-2 via
OSGeo4W, and ran the same command on the same dataset--this time it quickly
proceeded to "Build Graphs" but got hung up on "Registering Arcs" where it
sat for for 24 hours with no progress.  Instead of waiting endlessly, I
stopped the process, and am writing this in hopes of another solution.

My question--is the fix outlined in the thread above implemented in GRASS
6.4.0RC3-2 via OSGeo4W?  If so, how long should such a process expect to
take?  If not, what is the easiest way to get the code with this fix?  I'm
not very experienced with building from source, versioning, etc. but willing
to learn if necessary.

Current system:
Windowx XP Pro
Pentium 4 3.00GHz
2.49 GB of RAM

Darren Cope
http://dmcope.freeshell.org
http://bluesignweekly.blogspot.com/
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] v.net.iso usage - including speed as factor

2009-02-12 Thread Darren Cope
Hi all,

I'm trying to calculate drive time 'zones' using v.net.iso.  I've
worked through the examples using spearfish data, and seem to get
suitable results using only the line 'distance' as the factor.
However, I'd like to include the speed limit as another factor in the
calculation, and can't seem to find any examples of how to do this.

I've looked through the examples here:
http://grass.itc.it/grass64/manuals/html64_user/v.net.iso.html
and here:
http://www.dinama.gub.uy/grass/grass57/tutorial/network.html (which
mentions "This calculates the reachability map based on the vector
length for 1km, 2.5km, 5km and 10km. Another option were to use vector
line attributes from a DBMS table which may contain velocity, street
types etc." - so it appears to be possible!

Can anyone point out what I'm missing, and/or the appropriate command or switch?

Cheers,

Darren Cope
http://dmcope.freeshell.org
http://bluesignweekly.blogspot.com/
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user