Use the Custom Geo Data endpoints to upload custom GeoTIFF files to a project:
- A custom DSM (digital surface model) gives downstream design automation (AI Roof and AutoDesigner) customer-supplied 3D elevation data for building roof geometry and shading.
- A custom image adds imagery to the project, the same way an image uploaded in the Aurora app does.
Both use the same three-step upload flow: create the record, send the file to storage, then complete the upload and poll for processing status.
Custom geo data upload via the Enterprise API is currently gated per tenant. Contact your Aurora account representative to enable it for your organization.
Custom DSM requirements
- File format: Single-band GeoTIFF (
.tifor.tiff) with an embedded coordinate reference system (CRS / GeoTIFF projection tags). Projected and geographic CRSs supported by GDAL/PROJ (such as UTM, ETRS89, and national grids) are transformed automatically to WGS84 (EPSG:4326). - Vertical units: Elevation values must be in meters. Ground elevation at the site is detected automatically.
- Spatial overlap: The GeoTIFF footprint must overlap the project's geocoded location. Recommended site coverage is
< 500 m^2for best CAD and LIDAR loading performance. - Size limit: up to
250 MiB(262,144,000bytes).
A project uses one custom DSM at a time (drone reconstruction DSMs are managed separately and are not affected). A newly uploaded custom DSM replaces any previous custom DSM on the project once validation and LIDAR point-cloud generation complete. If the new upload fails, the previous custom DSM stays in place.
Custom DSM workflow
The file is sent straight to storage rather than through the API, so an upload takes three calls and then polling.
-
Create or locate a geocoded project with valid
latitudeandlongitudecoordinates via Create Project. -
Create the custom DSM with
POST /tenants/{tenant_id}/projects/{project_id}/custom_dsms, declaring the filename and the exact file size:curl -X POST \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"custom_dsm": {"filename": "site_dsm.tif", "size_bytes": 73400320}}' \ "https://api.aurorasolar.com/tenants/$TENANT_ID/projects/$PROJECT_ID/custom_dsms"The response contains the new
custom_dsm(withstatus: "awaiting_upload") and anuploadobject:{ "custom_dsm": {"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "status": "awaiting_upload"}, "upload": { "method": "PUT", "url": "https://...", "headers": {"Content-Length": "73400320"}, "expires_at": "2026-12-01T18:00:00.000Z" } } -
Send the file to
upload.urlwith the method and headers fromupload. Do not send yourAuthorizationheader to this URL, and treat the URL as opaque:curl -X PUT -T site_dsm.tif "$UPLOAD_URL"The body must be exactly
size_byteslong. Start the upload beforeupload.expires_at; if the URL expires first, create the custom DSM again. -
Complete the upload with
POST /tenants/{tenant_id}/projects/{project_id}/custom_dsms/{id}/complete. This starts validation and LIDAR point-cloud generation and returns202 Acceptedwithstatus: "processing". Repeating the call while the custom DSM is processing is safe. -
Poll processing status with
GET /tenants/{tenant_id}/projects/{project_id}/custom_dsms/{id}untilcustom_dsm.statusiscompleted, orfailedwith the reason incustom_dsm.error_codeandcustom_dsm.error_message. -
Create a design and run automation: Once
statusiscompleted, create or use a design on the project and call Run AI Roof and Run AutoDesigner. New designs inherit your tenant's default simulation template settings (verifylidar_shading_enabledon Retrieve Design Summary if LIDAR shading was turned off in your tenant defaults).
Custom DSM things to know
- Only one custom DSM upload can be
processingper project at a time; creating another returns409 Conflictuntil it finishes. - Creating a custom DSM discards an earlier one on the same project that is still
awaiting_upload. - An upload that is not completed within 2 hours of being created is removed.
- A failed custom DSM stays readable for 7 days so you can retrieve its
error_code, then it is removed. Delete it sooner withDELETE /tenants/{tenant_id}/projects/{project_id}/custom_dsms/{id}. GET /tenants/{tenant_id}/projects/{project_id}/custom_dsmslists every custom DSM on the project, including ones uploaded in the Aurora app.
Custom DSM failure codes
error_code | Meaning |
|---|---|
invalid_format | The file is not a readable TIFF or BigTIFF raster. |
invalid_band_count | The raster has more than one band. A DSM must be a single-band elevation raster. |
missing_or_invalid_crs | The GeoTIFF has no coordinate reference system, or one that could not be used. |
file_too_large | The file exceeds 250 MiB. |
dimensions_too_large | The raster has more pixels than can be processed. |
bounds_do_not_overlap | The GeoTIFF footprint does not overlap the project location. |
lidar_processing_failed | The file was valid but the LIDAR point cloud could not be generated from it. |
processing_failed | Processing did not finish. Upload the file again. |
Custom image requirements
Custom images appear with the project's imagery, the same way an image uploaded in the Aurora app does.
- File format: GeoTIFF (
.tifor.tiff) with an embedded coordinate reference system (CRS / GeoTIFF projection tags). - Spatial overlap: The GeoTIFF footprint must overlap the project's geocoded location. In the Aurora app an image without a usable georeference can be positioned by hand; the API has no such step, so the file has to carry one.
- Size limit: up to
100 MiB(104,857,600bytes).
Custom image workflow
The file is sent straight to storage rather than through the API, so an upload takes three calls and then polling.
-
Create or locate a geocoded project with valid
latitudeandlongitudecoordinates via Create Project. -
Create the custom image with
POST /tenants/{tenant_id}/projects/{project_id}/custom_images, declaring the filename and the exact file size:curl -X POST \ -H "Authorization: Bearer $TOKEN" \ -H "Content-Type: application/json" \ -d '{"custom_image": {"filename": "site_ortho.tif", "size_bytes": 52428800}}' \ "https://api.aurorasolar.com/tenants/$TENANT_ID/projects/$PROJECT_ID/custom_images"Pass
"active": falseto add the image to the project without showing it. The response contains the newcustom_image(withstatus: "awaiting_upload") and anuploadobject:{ "custom_image": {"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "status": "awaiting_upload"}, "upload": { "method": "PUT", "url": "https://...", "headers": {"Content-Length": "52428800"}, "expires_at": "2026-12-01T18:00:00.000Z" } } -
Send the file to
upload.urlwith the method and headers fromupload. Do not send yourAuthorizationheader to this URL, and treat the URL as opaque:curl -X PUT -T site_ortho.tif "$UPLOAD_URL"The body must be exactly
size_byteslong. Start the upload beforeupload.expires_at; if the URL expires first, create the custom image again. -
Complete the upload with
POST /tenants/{tenant_id}/projects/{project_id}/custom_images/{id}/complete. This starts processing and returns202 Acceptedwithstatus: "processing". Repeating the call while the custom image is processing is safe. -
Poll processing status with
GET /tenants/{tenant_id}/projects/{project_id}/custom_images/{id}untilcustom_image.statusiscompleted, orfailedwith the reason incustom_image.error_codeandcustom_image.error_message.
Custom image things to know
- A project can hold several custom images, and several uploads can be in progress at once.
- An upload that is not completed within 2 hours of being created is removed.
- A failed custom image stays readable for 7 days so you can retrieve its
error_code, then it is removed. Delete it sooner withDELETE /tenants/{tenant_id}/projects/{project_id}/custom_images/{id}. GET /tenants/{tenant_id}/projects/{project_id}/custom_imageslists every custom image on the project, including ones uploaded in the Aurora app.
Custom image failure codes
error_code | Meaning |
|---|---|
unprocessable_image | The file could not be read as a GeoTIFF. |
image_too_large | The file exceeds 100 MiB. |
invalid_band_count | The GeoTIFF is not a color image. It must have 3 bands (RGB) or 4 bands (RGB plus alpha); a single-band raster such as an elevation model is rejected. |
missing_georeference | The GeoTIFF has no coordinate reference system, or one that does not place it over the project location. |
processing_failed | Processing did not finish. Upload the file again. |