Convert GeoParquet to PMTiles in one call, like `tylertoo tiles`.

Runs the same core facade as `tylertoo tiles`, with the same
options and defaults, so the chain — the removed-after-export
intermediate overview, its free-space preflight, the option rules,
and the declared zoom range — matches the CLI. `overview()`
followed by `export_pmtiles()` is the same chain in two steps.
Sharded builds (`--shard`, `--plan-only`) have no keyword: run
them with the CLI the wheel installs, `python -m tylertoo`.

Args:
    input: See `overview()`.
        First write in-memory data (DuckDB, Polars, PyArrow, or GeoPandas)
        to a GeoParquet file using `gpio` or DuckDB
        `COPY (... ORDER BY ST_Hilbert(...)) TO 'x.parquet'`.
    output: PMTiles archive to write.
    min_zoom: See `overview()`.
    max_zoom: See `overview()`.
    layer_name: MVT layer name, or `None` for the input's file stem.
    tile_size_limit: See `export_pmtiles()`. `"auto"` is no limit
        with `verbatim`.
    simple_clip_fastpath: See `export_pmtiles()`.
    feature_order: See `export_pmtiles()`.
    spill_dir: Scratch directory for the intermediate overview and
        the export's spill (the CLI's `--spill-dir`). Without this,
        the intermediate goes to `$TMPDIR`, then the output's
        directory. Set it when `$TMPDIR` is small or a tmpfs.
        Before reading, a `UserWarning` reports space shortages for
        staged input and staged layers only. After pass 1, space
        shortages for the intermediate overview and pass-2 spill
        are logged as warnings by `tylertoo_core` during the run
        (with a recheck when pass 2 measures the selected
        properties), appear in the report as `disk_shortage`
        diagnostics, and are raised as a `UserWarning` once the run
        succeeds.
    layer_column: Put each feature in the layer named by its value
        in this column (the CLI's `--layer-column`), and null or
        blank values in `"_unknown"`. The column is not written as
        a property. Thinning uses each layer's own overview.
        The size caps apply to the joined tile, with one size valve
        across source layers. Tiles still over a cap are kept with
        a warning and counted once in the report.
        Excludes `layer_name`, `keep_overview`, `save_plan`,
        `plan` and `variable_depth`. At most 64 layers.
    bands: The CLI's `--band`, a list of "LO-HI:KIND" strings.
        Ranges are inclusive; use "Z:KIND" for one zoom.
        Kinds `geom`, `point` and `square` draw features;
        `grid`, `h3`, `s2` and `a5` draw occupied grid cells.
        Cells and features share one tiles layer. Cells carry `cell`
        (the cell id), `point_count` (features counted by centroid)
        and per-cell totals. `accumulate_attributes` and
        `cluster_categories` total into cells without `cluster`.
        Requires at least one feature band, with contiguous ranges.
        No overlaps. Uncovered zooms are empty, with a warning.
        Excludes `min_zoom`, `max_zoom`, `gsds` and `representation`.
    include_properties: See `overview()`.
    exclude_properties: See `overview()`.
    exclude_all_properties: See `overview()`.
    size_valve: See `export_pmtiles()`.
    valve_scope: See `export_pmtiles()`.
    valve_max_step: See `export_pmtiles()`.
    max_compressed_tile_size: See `export_pmtiles()`. `"auto"` is no
        limit with `verbatim`.
    coverage_fill: See `export_pmtiles()`.
    max_zoom_simplify_factor: See `export_pmtiles()`.
    variable_depth: See `export_pmtiles()`.
    gsds: See `overview()`.
    bbox: See `overview()`.
    mask: See `overview()`.
    name: See `export_pmtiles()`.
    description: See `export_pmtiles()`.
    attribution: See `export_pmtiles()`.
    tile_buffer: See `export_pmtiles()`.
    extent: See `export_pmtiles()`.
    partition_wave: See `export_pmtiles()`.
    feature_id: See `export_pmtiles()`.
    keep_overview: Keep the intermediate overview file at this path
        instead of removing it. Its directory must exist.
    temp_compression: Compression of the temporary intermediate
        overview, `"lz4"` (default) or `"zstd"`. Choose the codec for your temporary storage. No effect with
        `keep_overview`, whose file is always ZSTD.
    tile_range: See `export_pmtiles()`.
    gsd_base: See `overview()`.
    sort_key: See `overview()`.
    magnitude_ladder: See `overview()`.
    ladder_step: See `overview()`.
    entry_zoom: See `overview()`.
    sort_direction: See `overview()`.
    class_rank_column: See `overview()`.
    class_ranks: See `overview()`.
    class_rank_unknown: See `overview()`.
    no_auto_rank: See `overview()`.
    preset: See `overview()`. `"tippecanoe"` also sets the
        `export_pmtiles()` defaults that `preset` sets there.
    verbatim: See `overview()`. Also turns both tile size limits
        off unless you pass them.
    simplify_factor: See `overview()`.
    collapse: See `overview()`.
    collapse_square: See `overview()`.
    no_collapse: See `overview()`.
    no_simplification_of_shared_nodes: See `overview()`.
        `convert()` also keeps the pins at the finest zoom when
        `max_zoom_simplify_factor` simplifies polygons.
    representation: See `overview()`.
    cascade: See `overview()`.
    point_thinning: See `overview()`.
    line_thinning: See `overview()`.
    polygon_thinning: See `overview()`.
    line_visibility: See `overview()`.
    polygon_visibility: See `overview()`.
    drop_rate: See `overview()`.
    drop_gamma: See `overview()`.
    density_drop: See `overview()`.
    drop_lines: See `overview()`.
    drop_polygons: See `overview()`.
    cluster: See `overview()`.
    accumulate_attributes: See `overview()`.
    cluster_categories: See `overview()`.
    coalesce_lines: See `overview()`.
    coalesce_snap: See `overview()`.
    coalesce_junction_angle: See `overview()`.
    coalesce_max_level_rows: See `overview()`.
    row_group_size: See `overview()`.
    row_group_size_policy: See `overview()`.
    full_column_stats: See `overview()`.
    read_batch_size: See `overview()`.
    filter: See `overview()`.
    profile: See `overview()`.
    workers: See `overview()`.
    memory_limit: See `overview()`.
    in_flight_batches: See `overview()`.
    read_workers: See `overview()`.
    save_plan: See `overview()`.
    plan: See `overview()`.
    tile_format: See `export_pmtiles()`.
    mlt_profile: See `export_pmtiles()`.

Returns:
    Both halves' reports, keyed `"convert"` and `"export"` like the
    CLI's `tiles --report` JSON. With `layer_column`, a
    `LayeredConvertReport` holding one such report per layer.

Raises:
    ConfigError: Invalid or conflicting options, refused before any
        input is read.
    ValueError: A missing or mistyped column, or a property
        selection the input cannot satisfy.
    MemoryError: Too little memory for this input.
    RuntimeError: Conversion or export failed.

Example:
    >>> report = convert(
    ...     "buildings.parquet", "out.pmtiles", max_zoom=10
    ... )
    >>> sorted(report)
    ['convert', 'export']
