Dear list,
 I've a multidimensional mosaic of geotiffs with different unit of
measurement for each granule (but same SRS) and it works quite well.

Now when I ask for a granule using WMS with DIM_*** the getFeatureInfo
returns a feature with the value of the data in the following form:
GRAY_INDEX
{VALUE}

I'd like to show the unit of measurement of the granule pixel value into
the feature but geoserver may read the UOM somewhere so I'm wondering:
which is the best way to accomplish that result?

1. Keep the UOM into the metadata:
 I'm trying to see if there's a standard way to compose CSW or OpenSearch
informations with the feature coming from the WMS getFeatureInfo, no luck
for now but it's the preferred way since the data owner knows the data and
the uom.

We were doing that using jsonP on the client side call to custom services
but this is not so standard and I don't really like it.

2. Move UOM close to the data (into the geotiff):
 Not sure if the geotools readed is able to read the geotiff metadata
adding information to the returned feature
GRAY_INDEX, UOM
{VALUE}, {STRING}

That would be interesting but probably leverages too much on the specific
CoverageReader capabilities.
Maybe netcdf has better support but I'd like to find an agnostic solution
(not leveraging on a specific the data format reader).

3. Other options?

Any help would be appreciated.

Regards,
Carlo

-- 
Mr. Carlo Cancellieri
*skype*: ccancellieri
*Twitter*: @cancellieric
*LinkedIn*: http://it.linkedin.com/in/ccancellieri/
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to