[GRASS-dev] v.spline??

After r.to.vect I want to make my lines a little bit smoother. But I'm not satisfied with the options of v.clean (prune,...).
So I found the attached thread in another GRASS-list. Maybe anyone knows something about the process of the mentioned new tool for clean?

I'm also happy with an helpful other solution for genaeralizing my lines to get a nice boundary for my interpolated areas.

lg
michaela

----------------

On Mon, 19 Jun 2006 11:07:07 +0300

orkun <temiz@deprem.gov.tr> wrote:

hello

I wonder how I can smooth polygon lines ?
   
I don't think it is possible in Grass 6. In Grass 5 there was such a
function in the v.digit. It'd be nice to have it in Grass 6 too, as a
standalone module (for nice cartography eg.).

Maciek

Yes, it would be nice to get the function
  src/mapdev/v.digit/spline.c
migrated from GRASS 5-CVS to GRASS 6 as
  lib/vect/Vlib/spline.c
and add that as tool to v.clean or a new command v.smooth.

Markus

------------------

--
Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartografie und Geoinformation

Departement of Geography and Regional Research
University of Vienna
Cartography and GIS

Universitaetstr. 7, A-1010 Wien, AUSTRIA

Tel: (+43 1) 4277 48646
Fax: (+43 1) 4277 48649
E-mail: kinb@atlas.gis.univie.ac.at

WWW: http://www.gis.univie.ac.at/karto

hi,
try

v.clean tool=prune

jachym

On Thu, Sep 21, 2006 at 04:00:31PM +0200, Michaela Kinberger wrote:

After r.to.vect I want to make my lines a little bit smoother. But I'm
not satisfied with the options of v.clean (prune,...).
So I found the attached thread in another GRASS-list. Maybe anyone knows
something about the process of the mentioned new tool for clean?

I'm also happy with an helpful other solution for genaeralizing my lines
to get a nice boundary for my interpolated areas.

lg
michaela

----------------

On Mon, 19 Jun 2006 11:07:07 +0300
>orkun <temiz@deprem.gov.tr> wrote:
>
>
>

>>>hello
>>>
>>>I wonder how I can smooth polygon lines ?
>>>
>>>
>
>
>I don't think it is possible in Grass 6. In Grass 5 there was such a
>function in the v.digit. It'd be nice to have it in Grass 6 too, as a
>standalone module (for nice cartography eg.).
>
>Maciek
>
>
>

Yes, it would be nice to get the function
src/mapdev/v.digit/spline.c
migrated from GRASS 5-CVS to GRASS 6 as
lib/vect/Vlib/spline.c
and add that as tool to v.clean or a new command v.smooth.

Markus

------------------

--
Institut fuer Geographie und Regionalforschung
Universitaet Wien
Kartografie und Geoinformation

Departement of Geography and Regional Research
University of Vienna
Cartography and GIS

Universitaetstr. 7, A-1010 Wien, AUSTRIA

Tel: (+43 1) 4277 48646
Fax: (+43 1) 4277 48649
E-mail: kinb@atlas.gis.univie.ac.at

WWW: http://www.gis.univie.ac.at/karto

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

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky@gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507

sorry,
I was too fast

jachym

On Thu, Sep 21, 2006 at 04:08:57PM +0200, Jachym Cepicky wrote:

hi,
try

v.clean tool=prune

jachym

On Thu, Sep 21, 2006 at 04:00:31PM +0200, Michaela Kinberger wrote:
> After r.to.vect I want to make my lines a little bit smoother. But I'm
> not satisfied with the options of v.clean (prune,...).
> So I found the attached thread in another GRASS-list. Maybe anyone knows
> something about the process of the mentioned new tool for clean?
>
> I'm also happy with an helpful other solution for genaeralizing my lines
> to get a nice boundary for my interpolated areas.
>
> lg
> michaela
>
> ----------------
>
> On Mon, 19 Jun 2006 11:07:07 +0300
> >orkun <temiz@deprem.gov.tr> wrote:
> >
> >
> >
>
>
> >>>hello
> >>>
> >>>I wonder how I can smooth polygon lines ?
> >>>
> >>>
> >
> >
> >I don't think it is possible in Grass 6. In Grass 5 there was such a
> >function in the v.digit. It'd be nice to have it in Grass 6 too, as a
> >standalone module (for nice cartography eg.).
> >
> >Maciek
> >
> >
> >
>
>
> Yes, it would be nice to get the function
> src/mapdev/v.digit/spline.c
> migrated from GRASS 5-CVS to GRASS 6 as
> lib/vect/Vlib/spline.c
> and add that as tool to v.clean or a new command v.smooth.
>
> Markus
>
> ------------------
>
> --
> Institut fuer Geographie und Regionalforschung
> Universitaet Wien
> Kartografie und Geoinformation
>
> Departement of Geography and Regional Research
> University of Vienna
> Cartography and GIS
>
> Universitaetstr. 7, A-1010 Wien, AUSTRIA
>
> Tel: (+43 1) 4277 48646
> Fax: (+43 1) 4277 48649
> E-mail: kinb@atlas.gis.univie.ac.at
>
> WWW: http://www.gis.univie.ac.at/karto
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky@gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507

--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------
OFFICE:
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky@gdf-hannover.de
URL: http://gdf-hannover.de
Tel.: +49 511-39088507

On Thu, Sep 21, 2006 at 04:08:57PM +0200, Jachym Cepicky wrote:
> hi,
> try
>
> v.clean tool=prune
>
> jachym
>
> On Thu, Sep 21, 2006 at 04:00:31PM +0200, Michaela Kinberger wrote:
> > After r.to.vect I want to make my lines a little bit smoother. But I'm
> > not satisfied with the options of v.clean (prune,...).
> > So I found the attached thread in another GRASS-list. Maybe anyone knows
> > something about the process of the mentioned new tool for clean?
> >
> > I'm also happy with an helpful other solution for genaeralizing my lines
> > to get a nice boundary for my interpolated areas.
> >
> > lg
> > michaela

It would be great to add the Douglas-Peucker algorithm in
lib/vector/Vlib/line.c (as derivate of Vect_line_prune() ).

The DP algorithms is available here:
http://www.ngdc.noaa.gov/mgg/shorelines/data/gshhs/version1.3/
-> gshhs_dp.c (in the package there)

Markus