Search in sources :

Example 1 with Process

use of org.opengis.observation.Process in project geotoolkit by Geomatys.

the class ObservationTemplate method setProcedure.

@Override
public void setProcedure(final Process id) {
    if (id != null && observation != null) {
        ProcessType proc;
        if (id instanceof ProcessType) {
            proc = (ProcessType) id;
        } else {
            proc = new ProcessType((org.geotoolkit.observation.xml.Process) id);
        }
        observation.setProcedure(proc);
    }
}
Also used : ProcessType(org.geotoolkit.observation.xml.v100.ProcessType) Process(org.opengis.observation.Process)

Aggregations

ProcessType (org.geotoolkit.observation.xml.v100.ProcessType)1 Process (org.opengis.observation.Process)1