Skip to content

Commit 8f497d2

Browse files
CherylCheryl
authored andcommitted
Update bbox formatter to print out at least 1 digit
1 parent 84dc111 commit 8f497d2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/asascience-open/ncSOS.png?branch=master)](https://travis-ci.org/asascience-open/ncSOS)
44

5-
Stable version: **v1.4.1** for THREDDS version 4.5+
5+
Stable version: **v1.4.2** for THREDDS version 4.5+
66

77
Stable version: **v1.1.1** for all other THREDDS versions
88

@@ -11,7 +11,7 @@ NcSOS adds an OGC SOS service to datasets in your existing [THREDDS](http://www.
1111
NcSOS acts like other THREDDS services (such an OPeNDAP and WMS) where as there are individual service endpoints for each dataset. It is best to aggregate your files and enable the NcSOS service on top of the aggregation. i.e. The NcML aggregate of hourly files from an individual station would be a good candidate to serve with NcSOS. Serving the individual hourly files with NcSOS would not be as beneficial.
1212

1313
_You will need a working THREDDS installation of at least version **4.3.16** to run NcSOS v1.1.1 or ealrier_
14-
_You will need a working THREDDS installation of at least version **4.5** to run NcSOS v1.4.1_
14+
_You will need a working THREDDS installation of at least version **4.5** to run NcSOS v1.4.2_
1515

1616
# Quick Links
1717
1. *Mailing list*: https://groups.google.com/forum/#!forum/ncsos
@@ -25,10 +25,10 @@ _You will need a working THREDDS installation of at least version **4.5** to run
2525
| ------------- | ---------------------- | ----------------------------------------------- |
2626
| [v1.1.1](https://github.com/asascience-open/ncSOS/releases/tag/v1.1.1) (release) | 4.3.20 (20131125.1409) | http://sos.maracoos.org/stable/catalog.html |
2727
| [master](https://github.com/asascience-open/ncSOS/tree/master) (branch) | 4.6.3 | http://sos.maracoos.org/pre/catalog.html |
28-
| [v1.4.1](https://github.com/asascience-open/ncSOS/releases/tag/v1.4.1) (release) | 4.5.4 (20141008.1804) | http://sos.maracoos.org/dev/catalog.html |
28+
| [v1.4.2](https://github.com/asascience-open/ncSOS/releases/tag/v1.4.2) (release) | 4.5.4 (20141008.1804) | http://sos.maracoos.org/dev/catalog.html |
2929

3030
## ChangeLog
31-
### v1.4.1
31+
### v1.4.2
3232
* Added response formats to return data in CSV or JSON
3333
* Get observations for GRID feature type when latitude/longitude is specified
3434
* Addresses all issue from Milestone 1.4

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.asascience</groupId>
66
<artifactId>ncsos</artifactId>
77

8-
<version>1.4.1</version>
8+
<version>1.4.2</version>
99

1010
<packaging>jar</packaging>
1111

src/main/java/com/asascience/ncsos/outputformatter/gc/GetCapsFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private Element getBoundedBy(LatLonRect rect) {
322322
Namespace gmlns = this.getNamespace("gml");
323323
Element bb = new Element("boundedBy", gmlns);
324324
Element env = new Element("Envelope", gmlns);
325-
DecimalFormat df = new DecimalFormat("#.0##");
325+
DecimalFormat df = new DecimalFormat("0.0##");
326326
env.setAttribute("srsName", handler.getCrsName());
327327
String lc = null;
328328
String uc = null;

0 commit comments

Comments
 (0)