Skip to content

Commit

Permalink
Update bbox formatter to print out at least 1 digit
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheryl authored and Cheryl committed Mar 10, 2017
1 parent 84dc111 commit 8f497d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

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

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

Expand All @@ -11,7 +11,7 @@ NcSOS adds an OGC SOS service to datasets in your existing [THREDDS](http://www.
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.

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

# Quick Links
1. *Mailing list*: https://groups.google.com/forum/#!forum/ncsos
Expand All @@ -25,10 +25,10 @@ _You will need a working THREDDS installation of at least version **4.5** to run
| ------------- | ---------------------- | ----------------------------------------------- |
| [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 |
| [master](https://github.com/asascience-open/ncSOS/tree/master) (branch) | 4.6.3 | http://sos.maracoos.org/pre/catalog.html |
| [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 |
| [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 |

## ChangeLog
### v1.4.1
### v1.4.2
* Added response formats to return data in CSV or JSON
* Get observations for GRID feature type when latitude/longitude is specified
* Addresses all issue from Milestone 1.4
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.asascience</groupId>
<artifactId>ncsos</artifactId>

<version>1.4.1</version>
<version>1.4.2</version>

<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ private Element getBoundedBy(LatLonRect rect) {
Namespace gmlns = this.getNamespace("gml");
Element bb = new Element("boundedBy", gmlns);
Element env = new Element("Envelope", gmlns);
DecimalFormat df = new DecimalFormat("#.0##");
DecimalFormat df = new DecimalFormat("0.0##");
env.setAttribute("srsName", handler.getCrsName());
String lc = null;
String uc = null;
Expand Down

0 comments on commit 8f497d2

Please sign in to comment.