Put a raster into a feature property

Put a raster into a feature property. The feature property must be of type RASTER.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
featureTypeExternalId
required
string <= 32 characters ^[A-Za-z][A-Za-z0-9_]{0,31}$

External Id of the feature type provided by client. Must be unique among all feature type external ids within a CDF project.

Example: ocean_measures
featureExternalId
required
string <= 256 characters ^[A-Za-z][A-Za-z0-9_]{0,255}$

External Id of the type provided by client. Must be unique among all feature external ids within a CDF project and feature type.

Example: ocean_measure_W87H62
rasterPropertyName
required
string <= 32 characters ^[A-Za-z][A-Za-z0-9_]{0,31}$

Raster Id of the raster property provided by client. Must be unique among all feature property names within a feature type.

Example: bathymetry
query Parameters
srid
required
integer [ 1 .. 999999 ]

mandatory parameter that specifies the SRID of the coordinate reference system of a raster.

Example: srid=3857
format
required
string

mandatory parameter that specifies the format of the input raster.

Value: "XYZ"
Example: format=XYZ
scaleX
number <double>

optional parameter that specifies the pixel scale x in storage. If not specified, the pixel scale remains the same as the input raster.

Example: scaleX=2
scaleY
number <double>

optional parameter that specifies the pixel scale y in storage. If not specified, the pixel scale remains the same as the input raster.

Example: scaleY=2
allowCrsTransformation
boolean

Optional parameter indicating if the input raster coordinates should be transformed into the Coordinate Reference Systems defined for the raster property in the feature type specification. The transformation will typically impact the pixel values. When the parameter is false, requests with rasters in Coordinate Reference System different from the ones defined in the feature type will result in bad request response code.

Example: allowCrsTransformation=true
Request Body schema: application/octet-stream
any <binary>
Responses
200

The raster metadata.

400

Failed request reponse.

put/geospatial/featuretypes/{featureTypeExternalId}/features/{featureExternalId}/rasters/{rasterPropertyName}
Request samples
Response samples
application/json
{
  • "srid": 3857,
  • "width": 4,
  • "height": 5,
  • "numBands": 1,
  • "scaleX": 1,
  • "scaleY": 1,
  • "skewX": 0,
  • "skewY": 0,
  • "upperLeftX": -0.5,
  • "upperLeftY": -0.5
}