Skip to content

Commit

Permalink
Merge pull request #9 from twhiteaker/master
Browse files Browse the repository at this point in the history
Replace axis with bounds for coordinate variables related to geometry…
  • Loading branch information
dblodgett-usgs committed May 9, 2018
2 parents f15f449 + 64bde66 commit 033cc25
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ch07.adoc
Expand Up @@ -676,7 +676,7 @@ For example, polygon geometries could include single part geometries like the St

The **`node_coordinates`** attribute contains the blank-separated names of the variables that contain geometry node coordinates (one variable for each spatial dimension).
The geometry node coordinate variables must each have an **`axis`** attribute whose allowable values are __X__, __Y__, and __Z__.
If a **`coordinates`** attribute is carried by the geometry container variable, then those coordinate variables which correspond to node coordinate variables must also have the **`axis`** attribute.
If a **`coordinates`** attribute is carried by the geometry container variable or its parent data variable, then those coordinate variables which correspond to node coordinate variables must have a **`bounds`** attribute that names the corresponding node coordinate.

This comment has been minimized.

Copy link
@JonathanGregory

JonathanGregory Jun 25, 2018

Contributor

Have you made corresponding additions to the conformance document?

The geometry node coordinate variables must all have the same single dimension, which is the total number of nodes in all the geometries.
The nodes must be stored consecutively for each geometry and in the order of the geometries, and within each multipart geometry the nodes must be stored consecutively for each part and in the order of the parts.
Polygon exterior rings must be put in anticlockwise order (viewed from above) and polygon interior rings in clockwise order.
Expand Down Expand Up @@ -733,11 +733,11 @@ variables:
double lat(instance) ;
lat:units = "degrees_north" ;
lat:standard_name = "latitude" ;
lat:axis = "Y" ;
lat:bounds = "y" ;
double lon(instance) ;
lon:units = "degrees_east" ;
lon:standard_name = "longitude" ;
lon:axis = "X" ;
lon:bounds = "x" ;
float geometry_container ;
geometry_container:geometry_type = "polygon" ;
geometry_container:node_count = "node_count" ;
Expand Down
6 changes: 6 additions & 0 deletions history.adoc
Expand Up @@ -186,3 +186,9 @@ Replaced first para in Section 9.6. "Missing Data". Added verbiage to Section 2.

.24 January 2018
. Ticket #164, Remove geometry attribute from lat/lon variables in examples.

.20 April 2018
. Ticket #164, Add Tim Whiteaker and Dave Blodgett at authors.

.09 May 2018
. Ticket #164, Replace axis with bounds for coordinate variables related to geometry node variables.

0 comments on commit 033cc25

Please sign in to comment.