@Override public FeatureCollectionDTO getAllFeature(String serverUrl, String typeName, int maxFeatures) throws GeoPlatformException { try { return geoPlatformWFSClient.getAllFeatureDirect(serverUrl, typeName, maxFeatures); } catch (Exception ex) { logger.error( "\n\n@@@@@@@@@@@@@@@@@@@ WFSLayerService#getAllFeature " + "Error {} @@@@@@@@@@@@@", ex.getMessage()); throw new GeoPlatformException(ex.getMessage()); } }
@Override public LayerSchemaDTO describeFeatureType(String serverUrl, String typeName) throws GeoPlatformException { try { return geoPlatformWFSClient.describeFeatureType(serverUrl, typeName); } catch (Exception ex) { logger.error( "\n\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ " + "WFSLayerService#describeFeatureType Error {} @@@@@@@@@@@@@", ex.getMessage()); throw new GeoPlatformException(ex.getMessage()); } }