Re: [GRASS-dev] move v.polytoline?

2014-01-13 Thread Luca Delucchi
On 11 December 2013 22:45, Markus Metz  wrote:
> On Tue, Dec 10, 2013 at 11:14 AM, Luca Delucchi  wrote:
>> Hi devs,
>>
>> Some days ago I create a really simple script to convert polygon to line [0].
>> I would like to know what do you think to move it to main code?
>> I'm not sure if it could be useful for end user or not let me know
>
> A suggestion for a small improvement: it would be nice if the
> information to which areas the lines belong to would be kept as
> attributes (v.to.db option=sides).
>

done in r58698

> Markus M
>

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] move v.polytoline?

2013-12-11 Thread Markus Metz
On Tue, Dec 10, 2013 at 11:14 AM, Luca Delucchi  wrote:
> Hi devs,
>
> Some days ago I create a really simple script to convert polygon to line [0].
> I would like to know what do you think to move it to main code?
> I'm not sure if it could be useful for end user or not let me know

A suggestion for a small improvement: it would be nice if the
information to which areas the lines belong to would be kept as
attributes (v.to.db option=sides).

Markus M

>
> Thanks
>
> [0] 
> http://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.polytoline
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] move v.polytoline?

2013-12-10 Thread Helmut Kudrnovsky
Hi Martin,


Martin Landa wrote
> Hi Luca,
> 
> 2013/12/10 Luca Delucchi <

> lucadeluge@

> >:
>> Some days ago I create a really simple script to convert polygon to line
>> [0].
>> I would like to know what do you think to move it to main code?
>> I'm not sure if it could be useful for end user or not let me know
> 
> I think it's useful. Anyway I would keep it in addons at this stage of
> development. The module should be installable via g.extension without
> no problem.
> 
> Speaking about addons, we should focus on easy-way how to install
> them. Beside that, there are still open issues on Windows, eg. calling
> python script from python. Thanks to Glynn's revert [1,2] this problem
> is still unsolved. This is the blocker. I wonder if it remains blocker
> forever. It's easy to revert non-perfect solutions, but hard for most
> of us to find a time for better fix - apparently including the person
> who did this revert.
> 
> It would be also good to put AddOns manual pages online. Will take a
> look at this issue.
> 
> Martin
> 
> [1] http://trac.osgeo.org/grass/changeset/57911
> [2] http://lists.osgeo.org/pipermail/grass-dev/2013-October/065904.html

regarding python-addon-scripts (and calling python script from python) in
wingrass6, have a look at 

http://trac.osgeo.org/grass/ticket/2138

Hamish has done improvements for this issue in grass6dev which are steps
forward IMHO.

missing step is commented in
http://trac.osgeo.org/grass/ticket/2138#comment:4

%GISBASE% isn't replaced by %GRASS_ADDON_PATH%

having a quick look over the replacing code, no idea at the moment why it
doesn't work.

maybe testing on other windows boxes may help ...




-
best regards
Helmut
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/move-v-polytoline-tp5093487p5093670.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] move v.polytoline?

2013-12-10 Thread Martin Landa
Hi Luca,

2013/12/10 Luca Delucchi :
> Some days ago I create a really simple script to convert polygon to line [0].
> I would like to know what do you think to move it to main code?
> I'm not sure if it could be useful for end user or not let me know

I think it's useful. Anyway I would keep it in addons at this stage of
development. The module should be installable via g.extension without
no problem.

Speaking about addons, we should focus on easy-way how to install
them. Beside that, there are still open issues on Windows, eg. calling
python script from python. Thanks to Glynn's revert [1,2] this problem
is still unsolved. This is the blocker. I wonder if it remains blocker
forever. It's easy to revert non-perfect solutions, but hard for most
of us to find a time for better fix - apparently including the person
who did this revert.

It would be also good to put AddOns manual pages online. Will take a
look at this issue.

Martin

[1] http://trac.osgeo.org/grass/changeset/57911
[2] http://lists.osgeo.org/pipermail/grass-dev/2013-October/065904.html

-- 
Martin Landa  * http://geo.fsv.cvut.cz/~landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


[GRASS-dev] move v.polytoline?

2013-12-10 Thread Luca Delucchi
Hi devs,

Some days ago I create a really simple script to convert polygon to line [0].
I would like to know what do you think to move it to main code?
I'm not sure if it could be useful for end user or not let me know

Thanks

[0] http://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.polytoline

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev