geoscript / geoscript-groovy

A Groovy implementation of GeoScript.
https://geoscript.net/groovy
MIT License
46 stars 22 forks source link

Move OrbisGIS to GeoScript-Groovy #63

Open ebocher opened 3 years ago

ebocher commented 3 years ago

At OrbisGIS team we think about using GeoScript-Groovy and contribute to the project. We have successfully made the link with H2GIS ;-) Before taking this decision, we would like to know if it is possible to consider to organise Geoscript in modules. e.g a module for data access, a module for map, plot... Indeed, our apps don't require all the geoscript modules each time. Thanks

jericks commented 3 years ago

Very cool! I would love to see the H2GIS integration.

A while ago, I worked on converting GeoScript Groovy to modules. I have an old branch https://github.com/geoscript/geoscript-groovy/tree/modules that is extremely out of date but it reflects what I was thinking at the time. I think I ended up with too many modules though.

ebocher commented 3 years ago

Excellent ! I will send a first PR to link H2GIS as a Workspace and then check your modules organization.

ebocher commented 3 years ago

Some news about H2GIS integration. I have a first implementation that works but due to the last change in geotools, H2GIS needs some important changes to be compliant. Indeed, H2GIS is based on JTS 1.16.1 and geotools on 1.17.1. This upgrade is planned with a new H2 snapshot version (https://github.com/orbisgis/h2gis/issues/1100).

About GeoScript Groovy to modules, we propose to fork the master, build on our side a new architecture (based on your approach) and then send to you a proposal.

@SPalominos

ebocher commented 2 years ago

Hi @jericks ,

I have compiled a version of geoscript that integrates H2GIS : https://github.com/ebocher/geoscript-groovy/releases

For now it is not possible to deploy H2GIS with the geoscript master because geotools uses a very old version of H2.

We have some discussions with the geotools community to use a more recent version of H2.

We are working on a H2GIS-Geotools driver that is aligned with GT unit tests. https://github.com/orbisgis/h2gis-geotools/pull/39

I hope we will finish it quickly, and then propose an integration to geotools developers.

jericks commented 2 years ago

This looks really nice. I would love to see H2GIS in GeoScript and GeoTools!