Skip to content

Superblockify: Export GeoJSON, not GeoPackage #37

Description

@MoritzStefaner

Superblockify is the only algorithm shipping .gpkg, so our import shells out to ogr2ogr. That makes GDAL
a hard prerequisite for anyone running the pipeline, in an otherwise pure-Node project.

Ask: one GeoJSON per layer

for layer, gdf in {"edges": edges, "blocks": ltns, "boundary": boundary}.items():
    gdf.to_crs(4326).to_file(
        f"{slug}-superblockify-{layer}.geojson", driver="GeoJSON", RFC7946="YES"
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions