Custom Geo Data

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 (.tif or .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^2 for best CAD and LIDAR loading performance.
  • Size limit: up to 250 MiB (262,144,000 bytes).

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.

  1. Create or locate a geocoded project with valid latitude and longitude coordinates via Create Project.

  2. 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 (with status: "awaiting_upload") and an upload object:

    {
      "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"
      }
    }
  3. Send the file to upload.url with the method and headers from upload. Do not send your Authorization header to this URL, and treat the URL as opaque:

    curl -X PUT -T site_dsm.tif "$UPLOAD_URL"

    The body must be exactly size_bytes long. Start the upload before upload.expires_at; if the URL expires first, create the custom DSM again.

  4. Complete the upload with POST /tenants/{tenant_id}/projects/{project_id}/custom_dsms/{id}/complete. This starts validation and LIDAR point-cloud generation and returns 202 Accepted with status: "processing". Repeating the call while the custom DSM is processing is safe.

  5. Poll processing status with GET /tenants/{tenant_id}/projects/{project_id}/custom_dsms/{id} until custom_dsm.status is completed, or failed with the reason in custom_dsm.error_code and custom_dsm.error_message.

  6. Create a design and run automation: Once status is completed, 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 (verify lidar_shading_enabled on 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 processing per project at a time; creating another returns 409 Conflict until 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 with DELETE /tenants/{tenant_id}/projects/{project_id}/custom_dsms/{id}.
  • GET /tenants/{tenant_id}/projects/{project_id}/custom_dsms lists every custom DSM on the project, including ones uploaded in the Aurora app.

Custom DSM failure codes

error_codeMeaning
invalid_formatThe file is not a readable TIFF or BigTIFF raster.
invalid_band_countThe raster has more than one band. A DSM must be a single-band elevation raster.
missing_or_invalid_crsThe GeoTIFF has no coordinate reference system, or one that could not be used.
file_too_largeThe file exceeds 250 MiB.
dimensions_too_largeThe raster has more pixels than can be processed.
bounds_do_not_overlapThe GeoTIFF footprint does not overlap the project location.
lidar_processing_failedThe file was valid but the LIDAR point cloud could not be generated from it.
processing_failedProcessing 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 (.tif or .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,600 bytes).

Custom image workflow

The file is sent straight to storage rather than through the API, so an upload takes three calls and then polling.

  1. Create or locate a geocoded project with valid latitude and longitude coordinates via Create Project.

  2. 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": false to add the image to the project without showing it. The response contains the new custom_image (with status: "awaiting_upload") and an upload object:

    {
      "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"
      }
    }
  3. Send the file to upload.url with the method and headers from upload. Do not send your Authorization header to this URL, and treat the URL as opaque:

    curl -X PUT -T site_ortho.tif "$UPLOAD_URL"

    The body must be exactly size_bytes long. Start the upload before upload.expires_at; if the URL expires first, create the custom image again.

  4. Complete the upload with POST /tenants/{tenant_id}/projects/{project_id}/custom_images/{id}/complete. This starts processing and returns 202 Accepted with status: "processing". Repeating the call while the custom image is processing is safe.

  5. Poll processing status with GET /tenants/{tenant_id}/projects/{project_id}/custom_images/{id} until custom_image.status is completed, or failed with the reason in custom_image.error_code and custom_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 with DELETE /tenants/{tenant_id}/projects/{project_id}/custom_images/{id}.
  • GET /tenants/{tenant_id}/projects/{project_id}/custom_images lists every custom image on the project, including ones uploaded in the Aurora app.

Custom image failure codes

error_codeMeaning
unprocessable_imageThe file could not be read as a GeoTIFF.
image_too_largeThe file exceeds 100 MiB.
invalid_band_countThe 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_georeferenceThe GeoTIFF has no coordinate reference system, or one that does not place it over the project location.
processing_failedProcessing did not finish. Upload the file again.