[Java-collab] Simple system for designating units.

Francisco José Peñarrubia fjp at scolab.es
Mon Jun 29 19:04:50 EDT 2009


Maybe this links can help:

https://jsr-275.dev.java.net/
http://jscience.org/

although they seem a bit old :-(

Also, have a look to this packages:
http://www.unidata.ucar.edu/software/netcdf-java/v4.0/javadoc/index.html
http://www.unidata.ucar.edu/software/netcdf-java/v2.2.20/javadocAll/ucar/units/package-summary.html

And you may find interesting also UCUM:
http://unitsofmeasure.org/
http://www.javaworld.com/javaworld/jw-10-2007/jw-10-jsr275.html (4 
pages, very interesting).

Hope it helps.

Cheers.

Fran Peñarrubia

Sunburned Surveyor escribió:
> In OpenJUMP I've got a class that represents information on a simple
> feature attribute. One of the methods to this class returns a String
> identifying the unit of the attribute value. I'd like to tweak this
> class so that it uses members of an Enum or some similar mechanism
> instead of strings.
>
> I was wondering if it would be possible for our community to share
> unit definitions for common physical quantities like length, area,
> angle/direction, volume...
>
> Perhaps JSR 108 would be a good starting point:
>
> http://jsr-108.sourceforge.net/
>
> I'm not looking for anything terribly complex to start, but having a
> standard list of units might allow us to share some unit conversion
> and metadata tools in the future.
>
> Landon
> _______________________________________________
> Java-collab mailing list
> Java-collab at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/java-collab
>   



More information about the Java-collab mailing list