Jesse Eichar a écrit :
Being the new Shapefile Datastore module maintainer I'm curious as to
1. what jscience and jsr-275 is.
2. Is it specific to Shapefile or more for all of geotools or geoapi.
JSR-108 was an old attempt to creates a standard library for the handling of units. This is the
"javax.units" package, used in Geotools and GeoAPI but never really adopted as an official package.
JSR-108 has been withdrawn because of the lack of progress and the project died for a while. One of
the JSR-108 expert group member (Jean-Marie Dautelle) created his own project, called JScience, in
which he provide a units library based on the JSR-108 discussion.
A little bit later, the former JSR-108 group wanted to try to restart the project again. We created
JSR-275, which is exactly JSR-108 with two difference:
1) We now have JScience (http://jscience.org/) material as a starting point.
2) The license is less restrictive (BSD-like). One reason why JSR-108 failed
was licensing issue.
However, Geotools still depends on the legacy JSR-108 package for now. We will need to switch to
JSR-275 at some point in the future. For most users, the transition should not be too painful since
the most important class name is exactly the same (javax.units.Unit) and the API quite similar.
So neither JSR-275 or JScience is used at this time. The Shapefile module uses only the legacy
JSR-108, like all other Geotools modules. But replacing JSR-108 by JSR-275 will be necessary at some
point in the future. I will take care of making the switch for the whole Geotools project when the
time will come.
Martin.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel