[GRASS-user] r.to.vect peculiarity

Hello,

I did a svn update and wanted to run r.to.vect as usual but when it failed I
received this info:

r.to.vect --h

Description:
Converts a raster map into a vector map layer.

Keywords:
raster

Usage:
r.to.vect [-svzbq] [column=name] output=name feature=string
   [--overwrite] [--verbose] [--quiet]

Flags:
  -s Smooth corners
  -v Use raster values as categories instead of unique sequence (CELL only)
  -z Write raster values as z coordinate. Table is not created. Currently
supported only for points.
  -b Do not build vector topology (use with care for massive point export)
  -q Quiet - Do not show progress
--o Allow output files to overwrite existing files
--v Verbose module output
--q Quiet module output

Parameters:
   column Name of attribute column
   output Name for output raster3d map
  feature Feature type
            options: point,line,area
            default: line

How do I convert my raster to vector now?

Or is this an intermediate state of r.to.vect change?

with confused regards, Martin

Hi,

run make distclean before re-compilation...

Martin

2007/10/26, Martin Wegmann <wegmann@biozentrum.uni-wuerzburg.de>:

Hello,

I did a svn update and wanted to run r.to.vect as usual but when it failed I
received this info:

r.to.vect --h

Description:
Converts a raster map into a vector map layer.

Keywords:
raster

Usage:
r.to.vect [-svzbq] [column=name] output=name feature=string
   [--overwrite] [--verbose] [--quiet]

Flags:
  -s Smooth corners
  -v Use raster values as categories instead of unique sequence (CELL only)
  -z Write raster values as z coordinate. Table is not created. Currently
supported only for points.
  -b Do not build vector topology (use with care for massive point export)
  -q Quiet - Do not show progress
--o Allow output files to overwrite existing files
--v Verbose module output
--q Quiet module output

Parameters:
   column Name of attribute column
   output Name for output raster3d map
  feature Feature type
            options: point,line,area
            default: line

How do I convert my raster to vector now?

Or is this an intermediate state of r.to.vect change?

with confused regards, Martin

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *

Hello,

On Friday 26 October 2007 12:28:16 Martin Landa wrote:

Hi,

run make distclean before re-compilation...

I did run make distclean before svn update;.configure;make;make install

but is it normal that
...
cvs server: Updating grass6/visualization/xganim
cvs server: Updating grass6/visualization/xganim/bitmaps
cvs server: Updating grass6/visualization/ximgview

appears also when I execute 'cvs update -dP grass6' a second time?

I thought it just tells me that no updates are available after the second try.

Perhaps it is a local problem, I might give it a try to update in a fresh
folder and copy all my modules into this new grass6 folder.

Martin

Martin

2007/10/26, Martin Wegmann <wegmann@biozentrum.uni-wuerzburg.de>:
> Hello,
>
> I did a svn update and wanted to run r.to.vect as usual but when it
> failed I received this info:
>
> r.to.vect --h
>
> Description:
> Converts a raster map into a vector map layer.
>
> Keywords:
> raster
>
> Usage:
> r.to.vect [-svzbq] [column=name] output=name feature=string
> [--overwrite] [--verbose] [--quiet]
>
> Flags:
> -s Smooth corners
> -v Use raster values as categories instead of unique sequence (CELL
> only) -z Write raster values as z coordinate. Table is not created.
> Currently supported only for points.
> -b Do not build vector topology (use with care for massive point
> export) -q Quiet - Do not show progress
> --o Allow output files to overwrite existing files
> --v Verbose module output
> --q Quiet module output
>
> Parameters:
> column Name of attribute column
> output Name for output raster3d map
> feature Feature type
> options: point,line,area
> default: line
>
>
> How do I convert my raster to vector now?
>
> Or is this an intermediate state of r.to.vect change?
>
> with confused regards, Martin
>
> _______________________________________________
> grassuser mailing list
> grassuser@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

Martin Wegmann wrote:

> run make distclean before re-compilation...

I did run make distclean before svn update;.configure;make;make install

"cvs update", right?

but is it normal that
...
cvs server: Updating grass6/visualization/xganim
cvs server: Updating grass6/visualization/xganim/bitmaps
cvs server: Updating grass6/visualization/ximgview

appears also when I execute 'cvs update -dP grass6' a second time?

Yes. FWIW, I normally use:

  cvs update 2>&1 | fgrep -v 'cvs server: Updating '

so that important messages aren't lost amongst the noise.

I thought it just tells me that no updates are available after the second try.

Perhaps it is a local problem, I might give it a try to update in a fresh
folder and copy all my modules into this new grass6 folder.

The fact that the --help output says:

> > output Name for output raster3d map

indicates that the r.to.vect module was compiled with a different
version of gis.h than was used for libgis.

This usually means that one of the two has been recompiled after an
update while the other hasn't, but it can also occur if compilation
uses an installed version of gis.h rather than the local copy.

It's also conceivable that it could end up using an old version of
libgis via GDAL, although I have no confirmation of this happening in
practice.

--
Glynn Clements <glynn@gclements.plus.com>

Glynn wrote:

Yes. FWIW, I normally use:

  cvs update 2>&1 | fgrep -v 'cvs server: Updating '

so that important messages aren't lost amongst the noise.

How about:
  cvs -q update -dP

?

(or -Q for errors only)

Hamish

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

On Friday 26 October 2007 23:27:47 Glynn Clements wrote:

Martin Wegmann wrote:
> > run make distclean before re-compilation...
>
> I did run make distclean before svn update;.configure;make;make install

"cvs update", right?

> but is it normal that
> ...
> cvs server: Updating grass6/visualization/xganim
> cvs server: Updating grass6/visualization/xganim/bitmaps
> cvs server: Updating grass6/visualization/ximgview
>
> appears also when I execute 'cvs update -dP grass6' a second time?

Yes. FWIW, I normally use:

  cvs update 2>&1 | fgrep -v 'cvs server: Updating '

so that important messages aren't lost amongst the noise.

> I thought it just tells me that no updates are available after the second
> try.
>
> Perhaps it is a local problem, I might give it a try to update in a fresh
> folder and copy all my modules into this new grass6 folder.

The fact that the --help output says:
> > > output Name for output raster3d map

indicates that the r.to.vect module was compiled with a different
version of gis.h than was used for libgis.

This usually means that one of the two has been recompiled after an
update while the other hasn't, but it can also occur if compilation
uses an installed version of gis.h rather than the local copy.

It's also conceivable that it could end up using an old version of
libgis via GDAL, although I have no confirmation of this happening in
practice.

I created a new folder and redid the whole procedure - now it works again - no
idea where I messed up the cvs update.

Martin