Gianpaolo Coro 2015-11-02 14:47:30 +00:00
parent bfd581bd3f
commit 70e7c1a2ef
1 changed files with 2 additions and 2 deletions

View File

@ -62,9 +62,9 @@ public class OGCFormatter {
return wcsURL;
}
public static String getWmsNetCDFUrl(String fileUrl, String layerName, String bbox) {
return fileUrl.replace("dodsC", "wms") + "?service=wms&version=1.3.0" + "&request=GetMap&layers=" + layerName + "&bbox=" + bbox + "&styles=&width=676&height=330&srs=EPSG:4326&CRS=EPSG:4326&format=image/png";
return fileUrl.replace("dodsC", "wms") + "?service=wms&version=1.3.0" + "&request=GetMap&layers=" + layerName + "&bbox=" + bbox + "&styles=&width=676&height=330&srs=EPSG:4326&CRS=EPSG:4326&format=image/png&COLORSCALERANGE=auto";
}
public static String getWcsNetCDFUrl(String fileUrl, String layerName, String bbox) {