Re: [Geotools-devel] Proposal: Allow usage of expressions in SelectChannelName

2018-06-12 Thread Ben Caradoc-Davies

+1. That looks quite useful.

Kind regards,
Ben.

On 07/06/18 02:38, Andrea Aime wrote:

We already discussed in on the mailing list a bit, here is the format
proposal:

https://github.com/geotools/geotools/wiki/Allow-usage-of-expressions-in-SelectChannelName

Votes welcomed (and discussion too, in case you missed it previously) :-)

Cheers
Andrea


== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel



--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Build failed in Jenkins: geotools-19.x #49

2018-06-12 Thread monitor
See 


Changes:

[nuno.oliveira] Update GeoSolutions support link

--
[...truncated 1.72 MB...]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ docs 
---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ docs ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ docs ---
[INFO] Building jar: 

[INFO] 
[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) > generate-sources @ 
docs >>>
[INFO] 
[INFO] --- git-commit-id-plugin:2.1.15:revision (default) @ docs ---
[INFO] 
[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) < generate-sources @ 
docs <<<
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ docs ---
[INFO] Building jar: 

[INFO] 
[INFO] --- fmt-maven-plugin:2.4.0:check (default) @ docs ---
[warn] Test source directory 
' does 
not exist, ignoring.
[debug] Using AOSP style
[INFO] Processed 92 files (0 non-complying).
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ docs ---
[INFO] Installing 

 to 
/var/jenkins/.m2/repository/org/geotools/docs/19-SNAPSHOT/docs-19-SNAPSHOT.jar
[INFO] Installing 
 to 
/var/jenkins/.m2/repository/org/geotools/docs/19-SNAPSHOT/docs-19-SNAPSHOT.pom
[INFO] Installing 

 to 
/var/jenkins/.m2/repository/org/geotools/docs/19-SNAPSHOT/docs-19-SNAPSHOT-sources.jar
2018-06-12T18:49:58.335+  SEVERE  Failed to execute request 
https://sampleserver6.arcgisonline.com/arcgis/rest/services/Toronto/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml?REQUEST=GetCapabilities=1.0.0=WMTS
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 32.183 sec <<< 
FAILURE! - in org.geotools.data.wmts.client.WMTSServiceTest
testDefaultStyleRequired(org.geotools.data.wmts.client.WMTSServiceTest)  Time 
elapsed: 30.505 sec  <<< ERROR!
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at 
org.geotools.data.ows.SimpleHttpClient$SimpleHTTPResponse.(SimpleHttpClient.java:169)
at org.geotools.data.ows.SimpleHttpClient.get(SimpleHttpClient.java:98)
at 
org.geotools.data.ows.AbstractOpenWebService.internalIssueRequest(AbstractOpenWebService.java:443)
at 
org.geotools.data.ows.AbstractOpenWebService.issueRequest(AbstractOpenWebService.java:462)
at 
org.geotools.data.ows.AbstractOpenWebService.negotiateVersion(AbstractOpenWebService.java:273)
at 
org.geotools.data.ows.AbstractOpenWebService.(AbstractOpenWebService.java:117)
at 
org.geotools.data.ows.AbstractOpenWebService.(AbstractOpenWebService.java:94)
at 
org.geotools.data.ows.AbstractOpenWebService.(AbstractOpenWebService.java:74)
at 
org.geotools.data.wmts.WebMapTileServer.(WebMapTileServer.java:95)
at 
org.geotools.data.wmts.client.WMTSServiceTest.testDefaultStyleRequired(WMTSServiceTest.java:198)

Running 

Re: [Geotools-devel] FeatureCollection parser bug

2018-06-12 Thread Jesper Steen Møller
Hi Maurizio + list

I’ve submitted a fix for this exact thing, but it hasn’t been applied since it 
breaks some GeoServer feature.

I’ll look and see if I can get it fixed some time this week.

-Jesper

> On 12 Jun 2018, at 16.19, Maurizio Nagni  wrote:
> 
> Hello,
> 
> I have problem to extract a FeatureColleciton using 
> FeatureJSON.readFeatureCollection(featureCollectionJson)
> 
> The reason for this is that in FeatureHandler.startObjectEntry(String key) it 
> is assumed that the "properties" element is only an ArrayList: however 
> according to geoJSON specification 
> (https://tools.ietf.org/html/rfc7946#page-12) can be any JSON object (and in 
> my case is another JSONObject).
> 
> Sample data can be found from this freely available NASA service
> 
> https://power.larc.nasa.gov/cgi-bin/v1/DataAccess.py?request=execute=JSON=compass=DAILY=AG=12=34=SinglePoint=0=ALLSKY_TOA_SW_DWN%2CALLSKY_SFC_SW_DWN%2CALLSKY_SFC_LW_DWN%2CT2M%2CT2M_MIN%2CT2M_MAX%2CRH2M%2CT2MDEW%2CPRECTOT%2CWS10M=20170101=20171201
> 
> For the moment the only trick I can use is to transform the JSONObject before 
> use readFeatureCollection but I hope it could be a quick fix in some future 
> release (actually I use 19.1). 
> 
> Maurizio Nagni
> Software Engineer 
>  
> 
>  
> We have relocated to our brand new global headquarters.
> 
> Rezatec Limited: Quad One, Becquerel Avenue, Harwell, Didcot, Oxfordshire 
> OX11 0RA, United Kingdom
> Switchboard: +44 (0)1865 817500
> maurizio.na...@rezatec.com
> www.rezatec.com
>  
> Image of building: Courtesy of Harwell Campus | Map image: Google
> This e-mail and any attachments are confidential and may contain information 
> that is privileged. If you are not the named recipient, or responsible for 
> delivering the message to the named recipient, you must not use this e-mail 
> or its attachments in any manner. If you have received this communication in 
> error, please inform the sender and immediately delete this message. Thank 
> you. 
> 
> Although this e-mail and its attachments have been checked by an up-to-date 
> virus-checking program before transmission, it is your responsibility as 
> recipient to ensure they are actually virus free when received. 
> 
> Rezatec Limited is a private limited company registered in England, with 
> registered number 07940023 and registered office at Rezatec Limited, Quad 
> One, Becquerel Avenue, Harwell, Didcot, Oxfordshire OX11 0RA, United Kingdom.
> 
>  
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] FeatureCollection parser bug

2018-06-12 Thread Jesper Steen Møller
Here’s the link: https://github.com/geotools/geotools/pull/1837

-Jesper

> On 12 Jun 2018, at 19.07, Jesper Steen Møller  wrote:
> 
> Hi Maurizio + list
> 
> I’ve submitted a fix for this exact thing, but it hasn’t been applied since 
> it breaks some GeoServer feature.
> 
> I’ll look and see if I can get it fixed some time this week.
> 
> -Jesper
> 
>> On 12 Jun 2018, at 16.19, Maurizio Nagni  wrote:
>> 
>> Hello,
>> 
>> I have problem to extract a FeatureColleciton using 
>> FeatureJSON.readFeatureCollection(featureCollectionJson)
>> 
>> The reason for this is that in FeatureHandler.startObjectEntry(String key) 
>> it is assumed that the "properties" element is only an ArrayList: however 
>> according to geoJSON specification 
>> (https://tools.ietf.org/html/rfc7946#page-12) can be any JSON object (and in 
>> my case is another JSONObject).
>> 
>> Sample data can be found from this freely available NASA service
>> 
>> https://power.larc.nasa.gov/cgi-bin/v1/DataAccess.py?request=execute=JSON=compass=DAILY=AG=12=34=SinglePoint=0=ALLSKY_TOA_SW_DWN%2CALLSKY_SFC_SW_DWN%2CALLSKY_SFC_LW_DWN%2CT2M%2CT2M_MIN%2CT2M_MAX%2CRH2M%2CT2MDEW%2CPRECTOT%2CWS10M=20170101=20171201
>> 
>> For the moment the only trick I can use is to transform the JSONObject 
>> before use readFeatureCollection but I hope it could be a quick fix in some 
>> future release (actually I use 19.1). 
>> 
>> Maurizio Nagni
>> Software Engineer 
>>  
>> 
>>  
>> We have relocated to our brand new global headquarters.
>> 
>> Rezatec Limited: Quad One, Becquerel Avenue, Harwell, Didcot, Oxfordshire 
>> OX11 0RA, United Kingdom
>> Switchboard: +44 (0)1865 817500
>> maurizio.na...@rezatec.com
>> www.rezatec.com
>>  
>> Image of building: Courtesy of Harwell Campus | Map image: Google
>> This e-mail and any attachments are confidential and may contain information 
>> that is privileged. If you are not the named recipient, or responsible for 
>> delivering the message to the named recipient, you must not use this e-mail 
>> or its attachments in any manner. If you have received this communication in 
>> error, please inform the sender and immediately delete this message. Thank 
>> you. 
>> 
>> Although this e-mail and its attachments have been checked by an up-to-date 
>> virus-checking program before transmission, it is your responsibility as 
>> recipient to ensure they are actually virus free when received. 
>> 
>> Rezatec Limited is a private limited company registered in England, with 
>> registered number 07940023 and registered office at Rezatec Limited, Quad 
>> One, Becquerel Avenue, Harwell, Didcot, Oxfordshire OX11 0RA, United Kingdom.
>> 
>>  
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] FeatureCollection parser bug

2018-06-12 Thread Maurizio Nagni
Thanks for your reply and I understand your suggestion.
As soon I have less pressure from my actual tasks I will be happy to look 
deeper in this issue.

Regards,
Maurizio

From: andrea.a...@gmail.com  on behalf of Andrea Aime 

Sent: 12 June 2018 16:15:22
To: Ian Turton
Cc: Maurizio Nagni; Geotools-Devel list
Subject: Re: [Geotools-devel] FeatureCollection parser bug

On Tue, Jun 12, 2018 at 5:10 PM, Ian Turton 
mailto:ijtur...@gmail.com>> wrote:
The only way to guarantee that this is a quick fix is to 
contribute
 the fix yourself or contract someone 
 to do it for 
you .

Especially considering the gt-geojson module is an un-supported one:
https://github.com/geotools/geotools/tree/master/modules/unsupported

But, pull requests are indeed very welcomed (from you, or someone doing the 
work on your behalf).

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions 
S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: 
+39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it 
http://twitter.com/geosolutions_it 
--- Con riferimento alla 
normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento 
generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza 
inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è 
un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, 
ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia. This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or 
the information herein by anyone other than the intended recipient is 
prohibited. If you have received this email by mistake, please notify us 
immediately by telephone or e-mail.

This e-mail and any attachments are confidential and may contain information 
that is privileged. If you are not the named recipient, or responsible for 
delivering the message to the named recipient, you must not use this e-mail or 
its attachments in any manner. If you have received this communication in 
error, please inform the sender and immediately delete this message. Thank you.

Although this e-mail and its attachments have been checked by an up-to-date 
virus-checking program before transmission, it is your responsibility as 
recipient to ensure they are actually virus free when received.

Rezatec Limited is a private limited company registered in England, with 
registered number 07940023 and registered office at Rezatec Limited, Quad One, 
Becquerel Avenue, Harwell, Didcot, Oxfordshire OX11 0RA, United Kingdom.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] GeoTools / GeoServer Meeting 2018-06-12

2018-06-12 Thread Torben Barsballe
*AttendingTorben BarsballeAndrea AimeJukka RahkonenIan TurtonJim HughesJody
GarnettAgenda - Proposal: Allow usage of expressions in SelectChannelName-
SLD/QGIS interaction (donation from OSGeo-UK)- OGR store- GeoTools PMC
activity- Hush hush news on jai-ext new features- OWASP maven scanActions -
Contact “inactive“ members, see what they think.Previous Meetings Actions -
Ben: investigate at the persistent failure of Jenkins
geotools-master-online-postgis on Jenkins build slaves only [DONE]-
Everyone: Configure a forwarding email
 for
j...@osgeo-org.atlassian.net  so we can debug
GeoTools JIRA notifications (Forwarding email TBD - discuss further on
mailing list)Proposal: Allow usage of expressions in
SelectChannelNameProposal available:
https://github.com/geotools/geotools/wiki/Allow-usage-of-expressions-in-SelectChannelName

Please vote!tSLD/QGIS interaction (donation from OSGeo-UK)Donation
available, improving interaction, away ago, no plan so far. - Plan A:
Combine with GeoSolutions’ QGIS grant request to implement RasterSymbolizer
export from QGIS to GeoServer/GeoTools (grants yet to be assigned, we’ll
know later)- Plan B: using only OSGeo UK, either do a really basic raster
symbolizer export in QGIS (risk, parsing SE 1.1 raster symbolizer in
GeoTools is untested afaik), or find something else to work on, like bug
fixingOGR storeThere is a slight chance that we’ll be able to support it,
but we’ll know later in the month, and the build is still complaining. For
the moment, kick out of the build and enable with a profile without moving
to community, while we wait (to avoid moving it back and forth).GeoTools
PMC activityWe have some inactive members. What to do? Do we have
replacements?Rules: after two months of inactivity, step down.Proposals:
https://github.com/geotools/geotools/wiki/Proposals
 Probably need two
replacements. Possible candidates: Torben, Nuno, Daniele?Action: contact
“inactive“ members, see what they think.Hush hush news on jai-ext new
featuresHillshading soon to be landed in jai-ext:
https://github.com/geosolutions-it/jai-ext/pull/191
Wiring it with SLD
RasterSymbolizer has proved less than trivial, but we’ll eventually get
there.Resurrection of Jiffle: https://github.com/mbedward/jiffle
Need upgrade from Antlr3 to Antlr4,
amounts to a rewrite, and upgrade Janino, remove StringTemplate usage… all
in all, it’s a rewrite. Michael did start it, Andrea is trying to finish
it.JTS Upgrade - JAI-Ext ← some functionality from JAI Tools migrating
here- Q: Worth making a JAI Tools with JTS 1.15? A: Perhaps, not sure how
to make a release…Upcoming Releases:June: Ian, KevinJuly: Jody, AndreaGT 20
/ GS 2.14 RC release scheduled for August.OWASP maven scanGood idea, where
to do we get resources to act on the results of the checks though? - Quick
version flipping: no problem- Some code updates needed (not many): do we
use the monthly code sprint for that- Larger upgrades: duh? Dedicated code
sprint, and we look for funding as we go?*
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


[Geotools-devel] Missing JIRA notifications

2018-06-12 Thread Torben Barsballe
*JIRA notifications have been absent from GeoTools Devel since
mid-2017.This was discussed during the PMC meeting a two weeks ago but
didn't go anywhere, so bringing it up as its own topic.Last successful
notification I could find was from August 2017:*

*[Geotools-devel] [JIRA] (GEOT-5795) WARNING:
java.lang.ClassNotFoundException:
org.geotools.data.wfs.v1_0_0.xml.WFSSchema*








*So this has been broken for awhile.Notification settings are here

and everything seems to be properly configured.It is possible the sending
email address ( j...@osgeo-org.atlassian.net 
) needs to accept the new privacy terms from lists.sourceforge.com
, similar to the issue we were having with
Jenkins notifications.Who has access to the  j...@osgeo-org.atlassian.net
 mailbox? - currently no one.It looks like we
can configure jira to forward emails it recieves:
https://osgeo-org.atlassian.net/secure/admin/IncomingMailServers.jspa
This
would at least allow us to view incoming mails and debug further.The only
remaining thing we need to do this is an email to forward to.Torben*
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] FeatureCollection parser bug

2018-06-12 Thread Andrea Aime
On Tue, Jun 12, 2018 at 5:10 PM, Ian Turton  wrote:

> The only way to guarantee that this is a quick fix is to contribute
> 
> the fix yourself or contract someone
> to do it
> for you .
>

Especially considering the gt-geojson module is an un-supported one:
https://github.com/geotools/geotools/tree/master/modules/unsupported

But, pull requests are indeed very welcomed (from you, or someone doing the
work on your behalf).

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
--- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel