assign-projection
Assigns a coordinate reference system (CRS) to a LAS/LAZ dataset that carries no valid projection metadata. The step stamps the dataset with the specified EPSG code without transforming any coordinates. After assignment, DATASET_INFO runs on the projected output to capture updated metadata. Fires a webhook on completion.
Recipe name: assign-projectionVersion: 1.0.0Reprojection: No (CRS assignment only — coordinates are not transformed) Output format: LAS/LAZ with assigned CRS + JSON metadata
Steps
| Step | Type | Runs |
|---|---|---|
assign_projection | ASSIGN_PROJECTION | Main |
dataset_info | DATASET_INFO | After assign_projection |
call_webhook | CALL_WEBHOOK | on_exit |
Recipe (v1.0.0 snapshot)
json
{
"name": "assign-projection",
"version": "1.0.0",
"definition": {
"recipe": [
{
"id": "assign_projection",
"type": "ASSIGN_PROJECTION",
"inputs": { "input_las": "job:input_las" },
"outputs": { "output_las": "step:assign_projection.output_las" },
"param_keys": ["target_epsg"]
},
{
"id": "dataset_info",
"type": "DATASET_INFO",
"inputs": { "input_las": "step:assign_projection.output_las" },
"outputs": { "metadata": "step:dataset_info.metadata" }
}
],
"on_exit": {
"id": "call_webhook",
"type": "CALL_WEBHOOK",
"inputs": { "waits_for": "step:dataset_info.metadata" },
"param_keys": ["webhook_url"]
}
}
}Submitting a job
bash
curl -X POST https://dev.mapprism.com/ordo/jobs \
-H "Authorization: Bearer <API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"recipe_id": 38,
"inputs": {
"job:input_las": {
"type": "las",
"uri": "development/survey/dataset.las",
"hash": "abc123"
}
},
"params": {
"assign_projection": {
"target_epsg": "EPSG:2271"
},
"call_webhook": {
"webhook_url": "https://myapp.example.com/hooks/done"
}
},
"outputs": {
"step:assign_projection.output_las": {
"path": "development/results/survey/dataset-projected.las"
},
"step:dataset_info.metadata": {
"path": "development/results/survey/metadata.json"
}
}
}'Required inputs
| Artifact key | Type | Description |
|---|---|---|
job:input_las | las | Source LAS/LAZ file without a valid CRS |
Required params
| Step | Param | Description |
|---|---|---|
assign_projection | target_epsg | CRS to assign (e.g. "EPSG:2271" or "EPSG:26915+EPSG:5703") |
call_webhook | webhook_url | URL to POST the job result to |
Producible outputs
| Artifact | Type | Description |
|---|---|---|
step:assign_projection.output_las | las | LAS/LAZ with the specified CRS stamped into its metadata |
step:dataset_info.metadata | json | PDAL metadata report (reflecting the assigned CRS) |