The reproject tool allows you to reproject, resample, and rescale imagery products to a new projected coordinate system and resolution.
The reproject tool supports all Basemaps, and all scene item types and bundle types except for those with non-orthorectified images (basic_* bundles). For scenes, the item type REScene is also disallowed.
- projection (string):A coordinate system in the form EPSG:n (for example, EPSG:4326 for WGS84, EPSG:32611 for UTM 11 North (WGS84), or EPSG:3857 for Web Mercator). Well known text CRS values are also supported (for example, WGS84).
- resolution (float): The pixel width and height in the output file. If not provided, the default is the resolution of the input item. This value is in meters unless the coordinate system is geographic (such as EPSG:4326), in which case, it is pixel size in decimal degrees.
- kernel (string): The resampling kernel used. If not provided, the default is "near". UDM files always use "near". This parameter also supports "bilinear", "cubic", "cubicspline", "lanczos", "average", "mode", "min", "max", "med", "q1", and "q3" (see the gdalwarp "resampling_method" docs for details).
{
"name": "reproject_example",
"products": [
{
"item_ids": [
"20200710_172116_0e19"
],
"item_type": "PSScene",
"product_bundle": "analytic_udm2"
}
],
"tools": [
{
"reproject": {
"projection": "EPSG:4326",
"kernel": "cubic"
}
}
]
}
One imagery output file reprojected to the target configuration is produced for each product bundle. Udm files are also reprojected to the target configuration. These file outputs will have “_reproject” appended to their file names.
The tool passes through xml files.
Comments
Article is closed for comments.