Georeferencing API
    Preparing search index...

    Function outputGrid

    • Validate the warp domain and compute a bounded north-up raster grid without allocating its pixel buffer.

      Default resolution uses the transformed centre-pixel area. Default bounds use adaptive edge subdivision and interior sampling. Explicit bounds may expand at the right/bottom edges to fit whole pixels.

      Parameters

      • fit: Fit

        Transformation from canonical image pixels to working CRS.

      • metadata: ImageMetadata

        Inspected original-resolution dimensions.

      • workingCrs: string

        Fit coordinate system.

      • options: OutputSettings

        Output CRS, optional bounds/resolution and encoding settings.

      • limits: Limits

        Pixel and estimated-memory budgets.

      • definitions: Definitions = {}

        Additional projection definitions.

      • preview: boolean = false

        Reduce dimensions to the configured preview limit when true.

      Returns Omit<Raster, "data">

      core.GeoreferenceError For invalid domains, projections, grids, encoding settings or budgets.