Search in sources :

Example 1 with PointValueLists

use of org.n52.shetland.ogc.om.values.MultiPointCoverage.PointValueLists in project arctic-sea by 52North.

the class AbstractMultiPointCoverageTypeEncoder method encodeMultiPointCoverageType.

/**
 * Encode {@link MultiPointCoverage} to {@link DiscreteCoverageType}
 *
 * @param dct
 *            {@link DiscreteCoverageType} to add values to
 * @param multiPointCoverage
 *            {@link MultiPointCoverage} to encode
 * @return {@link DiscreteCoverageType}
 * @throws EncodingException
 *             If an error occurs
 */
protected DiscreteCoverageType encodeMultiPointCoverageType(DiscreteCoverageType dct, MultiPointCoverage multiPointCoverage) throws EncodingException {
    dct.setId(multiPointCoverage.getGmlId());
    PointValueLists pointValues = multiPointCoverage.getPointValue();
    encodeMultiPointDomain(dct, pointValues);
    encodeRangeSet(dct, multiPointCoverage);
    return dct;
}
Also used : PointValueLists(org.n52.shetland.ogc.om.values.MultiPointCoverage.PointValueLists)

Aggregations

PointValueLists (org.n52.shetland.ogc.om.values.MultiPointCoverage.PointValueLists)1