Skip to content

0.10.0#195

Merged
GinaStavropoulou merged 99 commits intomasterfrom
develop
May 8, 2025
Merged

0.10.0#195
GinaStavropoulou merged 99 commits intomasterfrom
develop

Conversation

@GinaStavropoulou
Copy link
Contributor

@GinaStavropoulou GinaStavropoulou commented May 8, 2025

[0.10.0] – 2025-05-08

Changed

  • The command medata_remove was renamed to metadata_extended_remove and can be used to remove the deprecated extended metadata from older files
  • Fixed the texture_update and texture_locate commands and also the save command with the --texture flag.
  • Fixed the conversion from .poly input when the file has comments or 1- index.
  • Fixed get_normal_newell(poly) to reject faces with > 3 points

Added

  • More tests and coverage
  • lint and format github action
  • --digit option for reprojections

Removed:

  • Support for extended metadata: specifically the commands metadata_create and metadata_update
  • All API functionality is derecated: cjio.models and some functions from cjio.cityjson have been removed. Also all related tests.

Benjamin Beaucamp and others added 30 commits April 20, 2023 14:04
this gave issues for CRS where lat-long is used, and the further conversion
was crashing with 'inf'...

If I take a dutch building in 7415, then convert to 4937 I get lat-long.

Then again convert back to 7415 and all is good.

So I *think* it works, but more tests are surely needed :J
The idea is that is someone puts epsg:4326 as CRS, then the z-value
should be just the distance in meters to the ellipsoid. So forcing to
3D means we obtain epsg:4979 in fact.

https://pyproj4.github.io/pyproj/stable/advanced_examples.html#promote-crs-to-3d
https://pyproj4.github.io/pyproj/stable/api/crs/crs.html#pyproj.crs.CRS.to_3d
Add support for exporting textures to .obj
because not necessary anymore, in the core cityobjects in v2.0
by removing duplicates only once and not after each line...
https://github.com/cityjson/metadata-extended

this was making cjio complex to update and maintain, and I don't think
it was used much... or no users ever mentioned using them

the support for "metadata" stays, no worries about this!
@GinaStavropoulou GinaStavropoulou merged commit d4069a9 into master May 8, 2025
2 checks passed
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.

2 participants