Get a raster from a feature property

Get a raster from 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
Request Body schema: application/json
One of:

XYZ specification for the output raster

srid
integer (GeospatialReferenceId) [ 0 .. 1000000 ]

EPSG code, e.g. 4326. Only valid for geometry types. See https://en.wikipedia.org/wiki/Spatial_reference_system

scaleX
number <double>
scaleY
number <double>
format
required
string
Value: "XYZ"
object
Responses
200

The binary file of the raster in the specified format

400

Failed request reponse.

post/geospatial/featuretypes/{featureTypeExternalId}/features/{featureExternalId}/rasters/{rasterPropertyName}
Request samples
application/json
{
  • "srid": 4326,
  • "scaleX": 0,
  • "scaleY": 0,
  • "format": "GTiff",
  • "options": {
    • "JPEG_QUALITY": 1
    }
}
Response samples
application/json
{
  • "error": {
    • "code": 401,
    • "message": "Could not authenticate.",
    • "missing": [
      ],
    • "duplicated": [
      ],
    • "invalid": [
      ],
    • "dependencies": [
      ]
    }
}