git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngineGeoSpatialExtension@75003 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c881102f11
commit
7de046d42c
|
@ -2,7 +2,7 @@ package org.gcube.dataanalysis.geo.meta;
|
|||
|
||||
public class OGCFormatter {
|
||||
public static String getWfsUrl(String geoServerUrl, String layerName, String bbox, int limit, String format) {
|
||||
return geoServerUrl + "/wfs?service=wfs&version=1.1.0&REQUEST=GetFeature" + "&TYPENAME=" + layerName + "&BBOX=" + bbox + (limit == 0 ? "" : "&MAXFEATURES=" + limit) + (format == null ? "" : "&OUTPUTFORMAT=" + format);
|
||||
return geoServerUrl + "/wfs?service=wfs&version=1.1.0&REQUEST=GetFeature" + "&TYPENAME=" + layerName + (bbox==null? "":"&BBOX=" + bbox) + (limit == 0 ? "" : "&MAXFEATURES=" + limit) + (format == null ? "" : "&OUTPUTFORMAT=" + format);
|
||||
}
|
||||
|
||||
public static String getWmsUrl(String geoServerUrl, String layerName, String style, String bbox) {
|
||||
|
|
Loading…
Reference in New Issue