Skip to content

Crash lors de la génération du bâti si bbox en dehors de la commune #26

@bagage

Description

@bagage

Pour la bbox suivante ici :

image

Teléchargement des PDFs de la commune E0189 : NIMES (30900)
Découpe la bbox en 3 * 2 [6 pdfs]
E0189-0-0.pdf
Parse les exports PDF du cadastre:
E0189-0-0.pdf: 0 buildings, 0 light buildings, 0 water, 0 riverbank, 1 limit
Traceback (most recent call last):
  File "/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/bin/osm_houses_simplify.py", line 78, in 
    sys.exit(main(sys.argv))
  File "/data/project/cadastre.openstreetmap.fr/bin/cadastre-housenumber/bin/osm_houses_simplify.py", line 72, in main
    simplify(osm_data, merge_distance, join_distance, simplify_threshold)
  File "/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/cadastre_fr/simplify.py", line 45, in simplify
    inputTransform, outputTransform = get_centered_metric_equirectangular_transformation_from_osm(osm_data)
  File "/data/project/cadastre.openstreetmap.fr/export-cadastre/bin/cadastre-housenumber/cadastre_fr/transform.py", line 124, in get_centered_metric_equirectangular_transformation_from_osm
    bbox = BoundingBox(*osm_data.bbox())
TypeError: type object argument after * must be a sequence, not NoneType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions