Re: [GRASS-user] r.stream.order export to shapefile

2012-09-04 Thread Markus Metz
On Mon, Sep 3, 2012 at 9:53 AM, Micha Silver wrote: > Hi Markus: > Again, many thanks for the detailed explanation. > > I am using your suggestion: v.db.connect -o to overwrite and connect the > r.streams.order table to the streams vector thru layer 1, overwriting the > original connection. Works

Re: [GRASS-user] r.stream.order export to shapefile

2012-09-04 Thread Markus Metz
On Tue, Sep 4, 2012 at 8:33 AM, Micha Silver wrote: > On 09/03/2012 11:24 PM, Markus Neteler wrote: > > On Mon, Sep 3, 2012 at 9:53 AM, Micha Silver wrote: > > BTW: I missed the section you quoted from the man page, because I got no man > page when compiling the extensions. The error was: > > sud

Re: [GRASS-user] r.stream.order export to shapefile

2012-09-03 Thread Micha Silver
On 09/03/2012 11:24 PM, Markus Neteler wrote: On Mon, Sep 3, 2012 at 9:53 AM, Micha Silver wrote: BTW: I missed the section you quoted from the man page, because I got no man page when compiling the extensions. The error was: sudo make MODULE_TOPDIR=/usr/loca

Re: [GRASS-user] r.stream.order export to shapefile

2012-09-03 Thread Markus Neteler
On Mon, Sep 3, 2012 at 9:53 AM, Micha Silver wrote: > BTW: I missed the section you quoted from the man page, because I got no man > page when compiling the extensions. The error was: > > sudo make MODULE_TOPDIR=/usr/local/grass-6.4.2/ > > > > GRASS_PERL=/usr/bin/perl VERSION_NUMBER=6.4

Re: [GRASS-user] r.stream.order export to shapefile

2012-09-03 Thread Micha Silver
Hi Markus: Again, many thanks for the detailed explanation. I am using your suggestion: v.db.connect -o to overwrite and connect the r.streams.order table to the streams vector thru layer 1, overwriting the original connection. Works fine. I guess if I had used layer=3 from the start it would

Re: [GRASS-user] r.stream.order export to shapefile

2012-09-02 Thread Markus Metz
On Wed, Aug 29, 2012 at 1:28 PM, Micha Silver wrote: > Hi Markus, > Thanks for responding. I still can't seem to get this to work. > Here are my steps: > >> r.stream.extract elev=dtm thresh=50 stream_rast=stream_500 >> stream_vect=stream_500 dir=fdir_500 >> r.stream.order stream=stream_500 dir

Re: [GRASS-user] r.stream.order export to shapefile

2012-08-29 Thread Micha Silver
Hi Markus, Thanks for responding. I still can't seem to get this to work. Here are my steps: > r.stream.extract elev=dtm thresh=50 stream_rast=stream_500 stream_vect=stream_500 dir=fdir_500 > r.stream.order stream=stream_500 dir=fdir_500 table=stream_order > v.db.connect map=stream_500 driv

Re: [GRASS-user] r.stream.order export to shapefile

2012-08-28 Thread Markus Metz
On Tue, Aug 28, 2012 at 9:05 PM, Micha Silver wrote: > A few more details regarding v.out.ogr when layer=2 > I see this ticket, possibly similar: http://trac.osgeo.org/grass/ticket/991 > > I tried to export to PostGIS, and again, all attribute fields are created > but all values are NULL. I also t

Re: [GRASS-user] r.stream.order export to shapefile

2012-08-28 Thread Micha Silver
A few more details regarding v.out.ogr when layer=2 I see this ticket, possibly similar: http://trac.osgeo.org/grass/ticket/991 I tried to export to PostGIS, and again, all attribute fields are created but all values are NULL. I also tried with the layer 2 databa

[GRASS-user] r.stream.order export to shapefile

2012-08-28 Thread Micha Silver
I'm having two problems when exporting the output of r.stream.order to a shapefile. I have attached the created table (saved in my setup in sqlite) to the 'streams' map thru layer 2. Then v.db.select streams layer=2 shows all the details of strahler order, prev_str,