Skip to content

Handle empty CityJSON models when merging - #204

Open
Sinkleberg wants to merge 1 commit into
cityjson:masterfrom
Sinkleberg:codex/merge-empty-cityjson
Open

Sinkleberg wants to merge 1 commit into
cityjson:masterfrom
Sinkleberg:codex/merge-empty-cityjson

Conversation

@Sinkleberg

Copy link
Copy Markdown

Merging a file with no vertices and a zero scale used to crash. Empty inputs can now appear anywhere in a merge. Files with geometry still determine the output precision, and merging only empty files produces an identity transform.

All 33 focused tests passed. The full Windows run had 113 passes, one optional skip, and the same texture-path failure as upstream.

Fixes #156. Developed with Codex.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cjio crashes when merging empty cityjson (ValueError: math domain error)

1 participant