Marco Volpini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNzQ2YzQxOTBmNjBiNDEwOGE0NzE2YTI1MGU4OWY0MWQiLCJwIjoiaiJ9 ) / Improvement ( https://osgeo-org.atlassian.net/browse/GEOS-10028?atlOrigin=eyJpIjoiNzQ2YzQxOTBmNjBiNDEwOGE0NzE2YTI1MGU4OWY0MWQiLCJwIjoiaiJ9 ) GEOS-10028 ( https://osgeo-org.atlassian.net/browse/GEOS-10028?atlOrigin=eyJpIjoiNzQ2YzQxOTBmNjBiNDEwOGE0NzE2YTI1MGU4OWY0MWQiLCJwIjoiaiJ9 ) Allow to customize ComplexGeoJsonWriter encoding of nested element and non mandatory attributes ( https://osgeo-org.atlassian.net/browse/GEOS-10028?atlOrigin=eyJpIjoiNzQ2YzQxOTBmNjBiNDEwOGE0NzE2YTI1MGU4OWY0MWQiLCJwIjoiaiJ9 ) Issue Type: Improvement Assignee: Marco Volpini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480 ) Created: 19/Apr/21 12:34 PM Priority: Medium Reporter: Marco Volpini ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5a129c3cb35ed9014cf6b480 ) Currently the ComplexGeoJsonWriter allows to encode nested Feature as complex property only if their type is NonFeatureTypeProxy. That is a concept strictly related to AppSchema and indeed the NonFeatureTypeProxy requires a[ FeatureTypeMapping to be passed to the constructor|https://github.com/geotools/geotools/blob/f397555ae183955411154b521f1e3442c9865d2e/modules/extension/app-schema/app-schema/src/main/java/org/geotools/data/complex/config/NonFeatureTypeProxy.java#L43]. Moreover when a nested Feature is encoded as a property the type name is encoded as "@dataType" attribute which is not mandatory for the GeoJSON standard. The goal is to add an extension point so that other plug-in that serve complex features (eg. schemaless-features community module) can have control over this encoding behaviour. The current encoding suited for AppSchema complex features will be mantained as default. ( https://osgeo-org.atlassian.net/browse/GEOS-10028#add-comment?atlOrigin=eyJpIjoiNzQ2YzQxOTBmNjBiNDEwOGE0NzE2YTI1MGU4OWY0MWQiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-10028#add-comment?atlOrigin=eyJpIjoiNzQ2YzQxOTBmNjBiNDEwOGE0NzE2YTI1MGU4OWY0MWQiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100157- sha1:a901420 )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
