]>
git.argeo.org Git - gpl/argeo-suite.git/blob - org.argeo.app.geo/src/org/argeo/api/app/geo/FeatureAdapter.java
1 package org
.argeo
.api
.app
.geo
;
3 import javax
.xml
.namespace
.QName
;
5 import org
.argeo
.api
.acr
.Content
;
6 import org
.argeo
.api
.acr
.search
.AndFilter
;
7 import org
.locationtech
.jts
.geom
.Geometry
;
9 import jakarta
.json
.stream
.JsonGenerator
;
11 /** Transform a {@link Content} to an OGC feature. */
12 public interface FeatureAdapter
{
13 Geometry
getDefaultGeometry(Content c
, QName targetFeature
);
15 void writeProperties(JsonGenerator g
, Content content
, QName targetFeature
);
17 void addConstraintsForFeature(AndFilter filter
, QName targetFeature
);