[Geotools-devel] PMC meeting notes, February 27th 2024

2024-02-27 Thread Andrea Aime
GeoTools / GeoServer PMC meeting - 2024-02-27Attending

   -

   Peter Smythe
   -

   Jody Garnett
   -

   Torben Barsballe
   -

   Andrea Aime
   -

   Jukka Rahkonen
   -

   Kevin Smith


Actions from prior meetings:

   -

   [Done] Peter: create a sed script to fix email addresses in sourceforge
   lists export
   -

   [Blocked] Jody: setup a github workflow to use dependency submission API
   


Agenda

   -

   Discourse
   -

   2.25-RC Release coordination
   -

   Markdown migration update
   -

   Coordinated Vulnerability Disclosure stuffs
   -

   WFS GetFeatureResponse API change
   -

   Making ENTITY_RESOLUTION_ALLOWLIST default

Actions

   -


Discourse

Peter was able to send an updated mbox to Vicky, we await a test instance.

Wider OSGeo response has been:

   -

   finally!
   -

   huh why I like lots and lots of email

2.25-RC Release coordination

Jody is set to release this week - thanks for everyone reviewing.

Anything waiting:

   -

   Jody owes Niels a review
   -

   Gabe large catalog load improvement is almost ready:
   https://github.com/geoserver/geoserver/pull/7421
   -

   Entity Resolution Allow below
   -

   GetFeatureResponse API
   -

   Stream of MapML pull-requests coming including vector tiles coming in


Q: Is the mkdocs change needed for the release candidate?
A: It would be nice to complete this and push out along side 2.25.0 release.


Q: Can alex help?

A: Release candidate is a poor introduction, but Jody will ask for help
writing the release announcement.
Markdown migration update

Status and collaboration opportunities here:

https://docs.google.com/spreadsheets/d/1HMqUpTirEwwSQfeNYikPjU0aFMl0-W4Xj44cg8V_VJA/edit#gid=0


List-table issue, Jody working on it. Looking good according to Andrea:
https://jodygarnett.github.io/geoserver/data/raster/imagemosaic/configuration/#index-and-configuration-file-creation


If you want to see markdown check branch (not a space for collaboration,
just a way to check the current progress in markdown syntax):

Checkout:

   -

   https://github.com/jodygarnett/geoserver/tree/mkdocs-preflight-test


   -

   Follow instructions here
   https://jodygarnett.github.io/translate/translate/migrate/
   -

   todo: Jody can un gitignore the docs folder so people can see

Coordinated Vulnerability Disclosure stuffs

Peter needs access to the vulnerabilities page (done)


Set to announce along side 2.25.0 release.

Making ENTITY_RESOLUTION_ALLOWLIST default

See https://github.com/geoserver/geoserver/pull/7444

Jody would like this for release, contains update instruction note.
WFS GetFeatureResponse API change

https://github.com/geoserver/geoserver/pull/7428

Andrea has some feedback:

   -

   if you do not return the supplier the api change will be minimal
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] Running geotools Quickstart without Maven

2024-02-27 Thread Ian Turton
If you use maven it walks the dependency tree and finds all the jars it
needs.

Ian

On Tue, 27 Feb 2024, 14:10 Amirhossein Nikfal,  wrote:

> Yes, the problem was due to the missing of apache.commons.lang3. Thank you
> very much.
>
> But how could I know about this dependency before the compilation? Neither
> in the pom file, nor in the contents of the jar file
> (gt-swing-31-SNAPSHOT.jar), there was no name regarding
> apache.commons.lang3. Also "*mvn dependency:tree
> -Dincludes=org.geotools:gt-swing:**" could not be helpful.
>
> Best,
> Amir
>
> On Fri, Feb 23, 2024 at 4:37 PM Ian Turton  wrote:
>
>> it looks like you haven't added (at least) the apache.commons.lang3 jar.
>> This is what maven excels at so you should probably let it do it's magic
>> rather than trying to muddle along with out it.
>>
>> Ian
>>
>> On Fri, 23 Feb 2024 at 14:49, Amirhossein Nikfal 
>> wrote:
>>
>>> The short code below can be compiled and run successfully, but *after
>>> loading the shapefile*, shows error in line: FileDataStore store =
>>> FileDataStoreFinder.getDataStore(file);
>>>
>>> This is the way I compile and run it:
>>> java -d . Quickstart.java
>>> java org.geotools.tutorial.quickstart.Quickstart
>>>
>>> Code:
>>> package org.geotools.tutorial.quickstart;
>>>
>>> import java.io.File;
>>> import org.geotools.api.data.FileDataStore;
>>> import org.geotools.api.data.FileDataStoreFinder;
>>> import org.geotools.swing.data.JFileDataStoreChooser;
>>>
>>> public class Quickstart {
>>> public static void main(String[] args) throws Exception {
>>> File file = JFileDataStoreChooser.showOpenFile("shp", null);
>>> if (file == null) {
>>> return;
>>> }
>>> FileDataStore store = FileDataStoreFinder.getDataStore(file);
>>> }
>>> }
>>>
>>> The errors:
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Feb 23, 2024 3:31:29 PM org.geotools.api.data.FileDataStoreFinder
>>> getDataStoreWARNING: Could not aquire ESRI(tm) Shapefiles
>>> (*.shp):java.lang.NoClassDefFoundError:
>>> org/apache/commons/lang3/SystemUtilsjava.lang.NoClassDefFoundError:
>>> org/apache/commons/lang3/SystemUtilsat
>>> org.geotools.data.shapefile.files.ShpFiles.init(ShpFiles.java:189)
>>> at org.geotools.data.shapefile.files.ShpFiles.(ShpFiles.java:147)
>>> at
>>> org.geotools.data.shapefile.ShapefileDataStoreFactory.createDataStore(ShapefileDataStoreFactory.java:260)
>>>   at
>>> org.geotools.data.shapefile.ShapefileDataStoreFactory.createDataStore(ShapefileDataStoreFactory.java:417)
>>>   at
>>> org.geotools.api.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:78)
>>>   at
>>> org.geotools.api.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:55)
>>>   at Quickstart.main(Quickstart.java:31)Caused by:
>>> java.lang.ClassNotFoundException: org.apache.commons.lang3.SystemUtils
>>>   at
>>> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
>>>   at
>>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>>>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
>>> ... 7 more*
>>>
>>> However, it can load the shapefile without problem when it's run by
>>> maven:
>>> mvn exec:java
>>> -Dexec.mainClass=org.geotools.tutorial.quickstart.Quickstart
>>>
>>>
>>> Any comment would be appreciated.
>>> ___
>>> GeoTools-Devel mailing list
>>> GeoTools-Devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>>
>>
>>
>> --
>> Ian Turton
>>
>
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] Running geotools Quickstart without Maven

2024-02-27 Thread Amirhossein Nikfal
Yes, the problem was due to the missing of apache.commons.lang3. Thank you
very much.

But how could I know about this dependency before the compilation? Neither
in the pom file, nor in the contents of the jar file
(gt-swing-31-SNAPSHOT.jar), there was no name regarding
apache.commons.lang3. Also "*mvn dependency:tree
-Dincludes=org.geotools:gt-swing:**" could not be helpful.

Best,
Amir

On Fri, Feb 23, 2024 at 4:37 PM Ian Turton  wrote:

> it looks like you haven't added (at least) the apache.commons.lang3 jar.
> This is what maven excels at so you should probably let it do it's magic
> rather than trying to muddle along with out it.
>
> Ian
>
> On Fri, 23 Feb 2024 at 14:49, Amirhossein Nikfal 
> wrote:
>
>> The short code below can be compiled and run successfully, but *after
>> loading the shapefile*, shows error in line: FileDataStore store =
>> FileDataStoreFinder.getDataStore(file);
>>
>> This is the way I compile and run it:
>> java -d . Quickstart.java
>> java org.geotools.tutorial.quickstart.Quickstart
>>
>> Code:
>> package org.geotools.tutorial.quickstart;
>>
>> import java.io.File;
>> import org.geotools.api.data.FileDataStore;
>> import org.geotools.api.data.FileDataStoreFinder;
>> import org.geotools.swing.data.JFileDataStoreChooser;
>>
>> public class Quickstart {
>> public static void main(String[] args) throws Exception {
>> File file = JFileDataStoreChooser.showOpenFile("shp", null);
>> if (file == null) {
>> return;
>> }
>> FileDataStore store = FileDataStoreFinder.getDataStore(file);
>> }
>> }
>>
>> The errors:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Feb 23, 2024 3:31:29 PM org.geotools.api.data.FileDataStoreFinder
>> getDataStoreWARNING: Could not aquire ESRI(tm) Shapefiles
>> (*.shp):java.lang.NoClassDefFoundError:
>> org/apache/commons/lang3/SystemUtilsjava.lang.NoClassDefFoundError:
>> org/apache/commons/lang3/SystemUtilsat
>> org.geotools.data.shapefile.files.ShpFiles.init(ShpFiles.java:189)
>> at org.geotools.data.shapefile.files.ShpFiles.(ShpFiles.java:147)
>> at
>> org.geotools.data.shapefile.ShapefileDataStoreFactory.createDataStore(ShapefileDataStoreFactory.java:260)
>>   at
>> org.geotools.data.shapefile.ShapefileDataStoreFactory.createDataStore(ShapefileDataStoreFactory.java:417)
>>   at
>> org.geotools.api.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:78)
>>   at
>> org.geotools.api.data.FileDataStoreFinder.getDataStore(FileDataStoreFinder.java:55)
>>   at Quickstart.main(Quickstart.java:31)Caused by:
>> java.lang.ClassNotFoundException: org.apache.commons.lang3.SystemUtils
>>   at
>> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
>>   at
>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>>   at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
>> ... 7 more*
>>
>> However, it can load the shapefile without problem when it's run by maven:
>> mvn exec:java -Dexec.mainClass=org.geotools.tutorial.quickstart.Quickstart
>>
>>
>> Any comment would be appreciated.
>> ___
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
>
> --
> Ian Turton
>
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel