Re: [GRASS-dev] [GRASS-user] r.to.vect stats

2017-05-05 Thread Martin Landa
Hi,

2017-05-05 9:43 GMT+02:00 Moritz Lennert :
> Markus is probably right: working with an intermediate file solves all
> this and I don't think it would imply a serious speed decrease.

I would tend to agree. BTW, meanwhile I changed in r71022 default
method from 'mean' (module was calculating mean value of categories)
to 'n' (number of points in cell). I also added new parameters
`column` and `method`. Later I will update examples.

Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] new addon: i.variance

2017-05-05 Thread Moritz Lennert
Le Thu, 4 May 2017 19:26:12 +0200,
Markus Neteler  a écrit :

> Hi Moritz,
> 
> On Tue, Mar 21, 2017 at 1:49 PM, Moritz Lennert
>  wrote:
> > Hi all,
> >
> > FYI, I uploaded a simple new addon, i.variance [1], which
> > calculates local variance in an image for successively degraded
> > resolution in order to detect whether there are certain scales
> > corresponding to specific, well-represented objects in that image.
> > It is based on [2].  
> 
> 
> Very interesting!
> 
> Would you mind to add a note on how to interprete the "peak values of
> variance" in the examples?
> Say, what to deduce from it in terms of the size of detectable
> objects?

Does r71023 correspond to what you are after ?

Moritz
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] new addon: i.variance

2017-05-05 Thread Markus Neteler
On Fri, May 5, 2017 at 10:37 AM, Moritz Lennert
 wrote:
> Le Thu, 4 May 2017 19:26:12 +0200, > Markus Neteler  a 
> écrit :
...
>> Would you mind to add a note on how to interprete the "peak values of
>> variance" in the examples?
>> Say, what to deduce from it in terms of the size of detectable
>> objects?
>
> Does r71023 correspond to what you are after ?

Perfetto!

Thanks,
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Fwd: [OSGeo-Discuss] OSGeo welcomes 15 GSoC students!

2017-05-05 Thread Markus Neteler
Hi,

great, GRASS GIS in GSoC 2017:

https://summerofcode.withgoogle.com/organizations/4660070039158784/?sp-page=2#5183583818874880

* Zechariah Krautwurst: GRASS GIS Locations Created From Public Data

* Paul Schrum: Integration of PDAL into GRASS GIS

* Ondřej Pešek: SOS tools in GRASS GIS

Congratulations!

Markus


-- Forwarded message --
From: Margherita Di Leo 
Date: Fri, May 5, 2017 at 10:20 AM
Subject: [OSGeo-Discuss] OSGeo welcomes 15 GSoC students!
To: OSGeo Discussions , OSGeo-SoC 


Dear OSGeo community,

we are proud to announce that 15 students were selected to work on
GSoC at OSGeo this year!

Browse the projects at:
https://summerofcode.withgoogle.com/organizations/4660070039158784/

Congratulations to all of our students and welcome!

--
Margherita Di Leo
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release] GRASS 7.2.1

2017-05-05 Thread Markus Neteler
On Thu, May 4, 2017 at 7:22 AM, Markus Neteler  wrote:
> On Tue, May 2, 2017 at 10:55 PM, Markus Neteler  wrote:
>> On Fri, Apr 28, 2017 at 11:48 AM, Martin Landa  
>> wrote:
>>> Hi,
>>>
>>> we are close to GRASS 7.2.1 release which should come one week after
>>> RC2 (22.4.). The release date could be around 30.4., if you have any
>>> bugfixes uncommitted please do it ASAP.
>>
>> I plan to prepare the relase by tomorrow, 3rd May 2017.
>
> Done, the source code is here:
>
> https://grass.osgeo.org/grass72/source/grass-7.2.1.tar.gz
> https://grass.osgeo.org/grass72/source/grass-7.2.1.md5sum

Fedora/EPEL6+7 RPMs are ready:

https://copr.fedorainfracloud.org/coprs/neteler/grass72/

https://copr.fedorainfracloud.org/coprs/neteler/grass72_epel6/

>> Please (all) be so kind to
>> - check https://trac.osgeo.org/grass/wiki/Release/7.2.1-News
>> - donate a screenshot with 7.2.1 version on it
>
> I have written a draft announcement in the CMS, a screenshot would be
> great! Due to travelling I cannot create it myself at time.

... still wanted...

> Official announcement forthcoming as soon as binaries are ready.

Martin, could you please crosscheck the announcement in the CMS?

thanks,
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] Broken: GRASS-GIS/grass-ci#2145 (master - d37fa7c)

2017-05-05 Thread Travis CI
Build Update for GRASS-GIS/grass-ci
-

Build: #2145
Status: Broken

Duration: 33 seconds
Commit: d37fa7c (master)
Author: Markus Neteler
Message: help_loc_struct.png: updated from doc/help_loc_structure.odg master 
file

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@71024 
15284696-431f-4ddb-bdfa-cd5b030d7da7

View the changeset: 
https://github.com/GRASS-GIS/grass-ci/compare/19d633c7a66a...d37fa7c57916

View the full build log and details: 
https://travis-ci.org/GRASS-GIS/grass-ci/builds/229071027?utm_source=email&utm_medium=notification

--

You can configure recipients for build notifications in your .travis.yml file. 
See https://docs.travis-ci.com/user/notifications

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release] GRASS 7.2.1

2017-05-05 Thread Martin Landa
Hi,

2017-05-05 12:10 GMT+02:00 Markus Neteler :
>> Official announcement forthcoming as soon as binaries are ready.
>
> Martin, could you please crosscheck the announcement in the CMS?

I already did, unfortunately I do not have any nice screenshot ... Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS-user] r.to.vect stats

2017-05-05 Thread Vaclav Petras
On Fri, May 5, 2017 at 3:55 AM, Martin Landa  wrote:

> BTW, meanwhile I changed in r71022 default
> method from 'mean' (module was calculating mean value of categories)
> to 'n' (number of points in cell).
>

Before it gave expected result for points with Z, e.g. in full NC loc:

r.vect.stats in=elev_lid792_bepts out=ground

Now it gives error (likely due to column=options['column']), but more
importantly, other binning modules (r.in.lidar, r.in.xyz) have mean as
default, so we need to be careful not to be inconsistent and produce
expected results. Can this have no default? Or perhaps the "use" paradigm
as with other modules such as v.to.rast is appropriate here
(use=attr|cat|z), then again we have the issue of default value versus no
value for default, but at least it is general enough to accommodate both
XYZ point clouds and points with attributes.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS-user] r.to.vect stats

2017-05-05 Thread Martin Landa
Hi,

2017-05-05 15:23 GMT+02:00 Vaclav Petras :
> Before it gave expected result for points with Z, e.g. in full NC loc:
>
> r.vect.stats in=elev_lid792_bepts out=ground
>
> Now it gives error (likely due to column=options['column']), but more

right, it needs to be fixed (checking if input is 2D or 3D).

> importantly, other binning modules (r.in.lidar, r.in.xyz) have mean as
> default, so we need to be careful not to be inconsistent and produce
> expected results. Can this have no default? Or perhaps the "use" paradigm as

Mean value of cats if input is 2D is misleading in any case.

> with other modules such as v.to.rast is appropriate here (use=attr|cat|z),
> then again we have the issue of default value versus no value for default,
> but at least it is general enough to accommodate both XYZ point clouds and
> points with attributes.

Would make sense to me. Thanks for staring this module. I was
surprised that such tool did not exists in GRASS. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS-user] r.to.vect stats

2017-05-05 Thread Vaclav Petras
On Fri, May 5, 2017 at 3:43 AM, Moritz Lennert  wrote:

> Markus is probably right: working with an intermediate file solves all
> this and I don't think it would imply a serious speed decrease.
>

I have tested r.vect.stats (with pipe) and compared it with pipe in shell -
the time is the same (expected behavior). Here is the test with pipe in
shell for 19693050 (almost 20 million) points:

time sh -c "v.out.ascii input=points layer=-1 format=point sep=pipe |
r.in.xyz input=- output=bin2 method=mean sep=pipe --o"
real1m5.982s
user1m39.120s
sys0m1.740s

And here is the same test but using temporary file (similar result with and
without SSD):

time sh -c "v.out.ascii input=points layer=-1 format=point sep=pipe
output=tmp.txt --o; r.in.xyz input=tmp.txt output=bin3 method=mean sep=pipe
--o"
real1m32.933s
user1m30.472s
sys0m1.796s

According to this, using temporary file requires 1.4 more time.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release] GRASS 7.2.1

2017-05-05 Thread Markus Neteler
On Fri, May 5, 2017 at 1:45 PM, Martin Landa  wrote:
> Hi,
>
> 2017-05-05 12:10 GMT+02:00 Markus Neteler :
>>> Official announcement forthcoming as soon as binaries are ready.
>>
>> Martin, could you please crosscheck the announcement in the CMS?
>
> I already did, unfortunately I do not have any nice screenshot ... Ma

I have now create one with the openNRW LiDAR data and published the
announcement.

Will email it to the lists later,

Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] Batch modify: #498, #3308, #2055, #2363, #2626, #2951, ...

2017-05-05 Thread GRASS GIS
Batch modification to #498, #3308, #2055, #2363, #2626, #2951, #335, #2426, 
#2435, #2699, #2788, #3193, #3235, #3255, #3330, #761, #790, #1219, #1471, 
#1735, #1761, #1852, #1910, #2004, #2226, #2248, #2249, #2282, #2301, #2302, 
#2307, #2321, #2328, #2329, #2333, #2345, #2347, #2348, #2356, #2361, #2362, 
#2368, #2378, #2379, #2383, #2399, #2412, #2418, #2424, #2428, #2433, #2444, 
#2446, #2447, #2459, #2464, #2465, #2467, #2483, #2487, #2511, #2516, #2523, 
#2526, #2545, #2555, #2564, #2566, #2567, #2569, #2571, #2587, #2589, #2595, 
#2600, #2604, #2615, #2627, #2628, #2631, #2639, #2655, #2679, #2685, #2698, 
#2729, #2739, #2749, #2750, #2764, #2766, #2767, #2768, #2774, #2791, #2799, 
#2840, #2842, #2847, #2857 by martinl:
milestone to 7.2.2

--
Tickets URL: 

GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] Batch modify: #2858, #2875, #2877, #2885, #2896, #2922, ...

2017-05-05 Thread GRASS GIS
Batch modification to #2858, #2875, #2877, #2885, #2896, #2922, #2923, #2930, 
#2935, #2957, #2967, #2977, #2983, #2987, #2990, #2998, #3007, #3054, #3055, 
#3064, #3065, #3076, #3077, #3084, #3090, #3092, #3099, #3101, #3110, #3113, 
#3116, #3119, #3120, #3124, #3137, #3145, #3149, #3153, #3154, #3155, #3157, 
#3160, #3164, #3169, #3170, #3171, #3173, #3174, #3182, #3188, #3194, #3195, 
#3200, #3202, #3204, #3206, #3211, #3215, #3218, #3220, #3226, #3228, #3231, 
#3234, #3240, #3243, #3246, #3248, #3252, #3253, #3258, #3259, #3265, #3269, 
#3271, #3273, #3278, #3282, #3284, #3285, #3286, #3288, #3289, #3300, #3301, 
#3303, #3304, #3307, #3309, #3317, #3318, #3320, #3323, #3326, #3328, #3329, 
#3331, #3332, #3335, #3339 by martinl:
milestone to 7.2.2

--
Tickets URL: 

GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] Batch modify: #3344, #2142, #2370, #2515, #2762, #2830, ...

2017-05-05 Thread GRASS GIS
Batch modification to #3344, #2142, #2370, #2515, #2762, #2830, #2910, #2970, 
#2982, #3005, #3297, #3322, #3341, #26, #1173, #2242, #2309, #2754, #3150, 
#3251, #3290, #290, #1938, #2059, #2294, #2336, #3117, #3294, #2247, #3209 by 
martinl:
milestone to 7.2.2

--
Tickets URL: 

GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev