| Issue 5: | problem parsing datablock with referenced size | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? in DataIterator, when the encoding is binary, the processNextElement() method does not handle blocks when the size is referenced instead of being in the <swe:value> What is the expected output? What do you see instead? the parsing therefore fails Please use labels and text to provide additional information. |
to clarify: the size of the DataComponent that will host the block for example the following would not be parsed: <swe:DataArray> <swe:elementCount/> <swe:elementType name="data"> <swe:DataRecord> <swe:field name="imageTime"> <swe:Time definition="urn:ogc:phenomenon:time:iso8601"> <swe:uom code="s"/> </swe:Time> </swe:field> <swe:field name="imageRowNumber"> <swe:Count gml:id="ROW"/> </swe:field> <swe:field name="imageColumnNumber"> <swe:Count gml:id="COLUMN"/> </swe:field> <swe:field name="frame"> <swe:DataArray gml:id="IMAGE" definition="urn:ogc:def:property:frame"> <swe:elementCount ref="COLUMN"/> <swe:elementType name="acrossTrackLine"> <swe:DataArray definition="urn:ogc:def:property:horizontalLine"> <swe:elementCount ref="ROW"/> <swe:elementType name="radiance"> <swe:DataRecord> <swe:field name="red"> <swe:Count definition="urn:ogc:def:property:color:red"/> </swe:field> <swe:field name="green"> <swe:Count definition="urn:ogc:def:property:color:green"/> </swe:field> <swe:field name="blue"> <swe:Count definition="urn:ogc:def:property:color:blue"/> </swe:field> </swe:DataRecord> </swe:elementType> </swe:DataArray> </swe:elementType> </swe:DataArray> </swe:field> </swe:DataRecord> </swe:elementType> <swe:encoding> <swe:BinaryBlock byteEncoding="raw" byteOrder="bigEndian"> <swe:member> <swe:Component ref="data/imageTime" dataType="urn:ogc:data:double"/> </swe:member> <swe:member> <swe:Block ref="data/frame" compression="JPEG2000"/> </swe:member> </swe:BinaryBlock> </swe:encoding> <!-- Result Values --> <swe:values xlink:href="http://www.image.com"/ </swe:DataArray>