Skip to content

PB-64, PB-970: Add full support of KMZ file and fixed KML inlined icons #minor#1063

Merged
ltshb merged 3 commits intodevelopfrom
feat-PB-970-kmz-support
Sep 12, 2024
Merged

PB-64, PB-970: Add full support of KMZ file and fixed KML inlined icons #minor#1063
ltshb merged 3 commits intodevelopfrom
feat-PB-970-kmz-support

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Sep 12, 2024

@ltshb ltshb changed the base branch from master to develop September 12, 2024 07:03
@github-actions github-actions bot changed the title PB-970: Add support for simple KMZ file PB-970: Add support for simple KMZ file - #minor Sep 12, 2024
@cypress
Copy link

cypress bot commented Sep 12, 2024

web-mapviewer    Run #3310

Run Properties:  status check passed Passed #3310  •  git commit cbe20af6c7: PB-970: Added support for KMZ icons and fix inline KML icon
Project web-mapviewer
Branch Review feat-PB-970-kmz-support
Run status status check passed Passed #3310
Run duration 04m 38s
Commit git commit cbe20af6c7: PB-970: Added support for KMZ icons and fix inline KML icon
Committer Brice Schaffner
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 210
View all changes introduced in this branch ↗︎

@ltshb ltshb force-pushed the feat-PB-970-kmz-support branch from e9210cd to ed15b91 Compare September 12, 2024 09:58
@ltshb ltshb changed the title PB-970: Add support for simple KMZ file - #minor PB-970: Add full support of KMZ file and fixed KML inlined icons #minor Sep 12, 2024
@ltshb ltshb force-pushed the feat-PB-970-kmz-support branch 3 times, most recently from 77160f4 to 014b8b8 Compare September 12, 2024 11:03
@ltshb ltshb requested a review from pakb September 12, 2024 11:12
@ltshb ltshb marked this pull request as ready for review September 12, 2024 11:12
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good code wise.
Only thing I was wondering is : should we start documenting which exception will be raised/thrown by our file loading utils? There starts to be a lot of different reasons the handleFileContent or other similar functions could fail by raising errors.

Only support the kml file inside the KMZ.
Icons in kml can be inlined in href using base64 like this

<IconStyle><Icon><href>data:image/png;base64,...</href></Icon></IconStyle>

So such href cannot be passed to our proxy. Also to get the KML name and/or
extent there is no need to proxify the icon urls, because icons won't be loaded
during these methods.
@ltshb ltshb force-pushed the feat-PB-970-kmz-support branch from 014b8b8 to cbe20af Compare September 12, 2024 12:37
@ltshb ltshb merged commit ea12bde into develop Sep 12, 2024
@ltshb ltshb deleted the feat-PB-970-kmz-support branch September 12, 2024 12:57
@ltshb ltshb changed the title PB-970: Add full support of KMZ file and fixed KML inlined icons #minor PB-64, PB-970: Add full support of KMZ file and fixed KML inlined icons #minor Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants