GRESB / api-docs

http://gresb.github.io/api-docs/
4 stars 0 forks source link

Unit specification for area fields #5

Closed brunogirin closed 10 years ago

brunogirin commented 10 years ago

The way I read the spec, fields that represent an area can be specified in square meters or square feet: for example, field EN_[pt]_MAN_BCF_COV2014 specifies m2/sq ft., which seems to indicate the value can be in either unit. However, there is no way to specify what unit is used for a given field so I could conceivably send data for asset 1 in sq.m. and data for asset 2 in sq.ft. The same problem exists for the ASSET_SIZE value that can be either in meters or feet.

One way to address this could be to include an additional field for each asset that specifies whether the data uses the metric or imperial system.

amichal commented 10 years ago

We've decided to use metric only for the API for now -- this greatly simplifies our data handling and validation