![]() ![]() ![]() | Dimap 1.1.3 SPOTView Profile |
<PIXEL_ORIGIN> | Dimap_Generic 1.0 |
Raster Coordinate System pixel count start
Description :The raster pixel array can start from 0 or 1 depending on the production context and the habits.
This has a direct consequence on the interpretation of pixel coordinates keywords. If PIXEL_ORIGIN is set to 0 (which is the default), the first pixel starts from 0.0. Therefore if RASTER_CS_TYPE is CELL, then the 0.0, 0.0 raster coordinates relate to the top-left corner of the top-left cell of the pixel array (in this case 0.5,0.5 is the center of the top-left raster pixel). Usually, if RASTER_CS_TYPE is POINT then PIXEL_ORIGIN is set to 1 (this is not systematic but the way it is generally done); as a consequence, in that latter case, the 1.0,1.0 pixel coordinate points to the center of the top-left corner pixel.
By default (when not cited) PIXEL_ORIGIN = 0.
Example :
<Raster_CS> <RASTER_CS_TYPE>CELL</RASTER_CS_TYPE> <PIXEL_ORIGIN>0</PIXEL_ORIGIN> </Raster_CS>
Datatype : t_PIXEL_ORIGIN
(based on Pixel_Origins)
Pixel_Origins
(based on xsd:integer)
Range : [0
,1]
Possible parent(s)