Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2008-2013 LimeTri. All rights reserved. AgroSense is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. There are special exceptions to the terms and conditions of the GPLv3 as it is applied to this software, see the FLOSS License Exception <>. AgroSense is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with AgroSense. If not, see <>.
 package eu.agrosense.api.observations;

TEMPORARY list based on old enums (client-util / mapviewer-api), use until jsr275 replacement is ready. though the new api will probably pass around strings like these and hide the jsr275 impl.

 enum UOM {
     NOT_SPECIFIED(""),//"Not specified" TODO: see if we can use null to distinguish unknown from true dimensionless units.
1/m2 - Amount per area unit
1/second - Amount per time unit
1 - Amount/Count
square meter
ml - Capacity large
L - Capacity count
mm2/s - Area per time unit
mm3/second - Flow
Liter per Hectare
ml/m2 - Capacity per area large
ml/s - Float large
Milligram per square meter
Milligram per Kilogram
Milligram per 100 gram
     MG_PER_100G("mg/100g"),//FIXME: the '100' won't likely parse; "mg/dag" (per decagram) won't be clear (espacially with dutch users
Milligram per second = Mass flow
mg/l - Mass per capacity unit
g - Mass large
Milli second
ppm - Parts per million
° - Angle
Acidity pH Pondus hydrogenii
Percentage of CLAY Humus CEC
    CEC_PERCENTAGE("%-CEC"),// TODO: check parser!
Percentage available in soil
Milli Moles per Kilogram
Range for bodenpunkte rages from 1 to 100
    private final String symbol;
    private UOM(String symbol) {
        this. = symbol;
    public String getSymbol() {
        return ;
    public String toString() {
        return ;
New to GrepCode? Check out our FAQ X