Repast uses the JScience Units API in multiple projects, and the GeoTools library also depends on it. The latest version of GeoTools uses the new Units 2.0 API, which is the official Java spec JSR-385. We should remove dependencies on JScience and update to Units 2.0. However, we need to carefully check how the Units API is used, for example we have an 'Amount' class that appears to have been customized to work with Groovy. It seems that the Amount class was mostly used for unit conversions and quantities in the old visual agent behavior editor, and so we may be able to remove it completely.
See https://schneide.blog/tag/unit-api-2-0/
Repast uses the JScience Units API in multiple projects, and the GeoTools library also depends on it. The latest version of GeoTools uses the new Units 2.0 API, which is the official Java spec JSR-385. We should remove dependencies on JScience and update to Units 2.0. However, we need to carefully check how the Units API is used, for example we have an 'Amount' class that appears to have been customized to work with Groovy. It seems that the Amount class was mostly used for unit conversions and quantities in the old visual agent behavior editor, and so we may be able to remove it completely.