Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP: reading GetFeature GeoJSON as a stream with JSON-Machine #5137

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

rldhont
Copy link
Collaborator

@rldhont rldhont commented Dec 20, 2024

JSON-Machine is a very easy to use and memory efficient drop-in replacement for inefficient iteration of big JSON files or streams for PHP https://github.com/halaxa/json-machine

In some part of Lizmap PHP code, GetFeature GeoJSON are read in an inefficient way.

@rldhont rldhont added refactoring run end2end If the PR must run end2end tests or not php Pull requests that update Php code backport release_3_9 labels Dec 20, 2024
@github-actions github-actions bot added this to the 3.10.0 milestone Dec 20, 2024
@rldhont rldhont force-pushed the json-machine branch 2 times, most recently from b359b97 to ee73176 Compare December 31, 2024 12:03
@rldhont rldhont marked this pull request as ready for review December 31, 2024 12:03
@rldhont rldhont requested review from mdouchin and nworr December 31, 2024 12:03
@mdouchin
Copy link
Collaborator

mdouchin commented Jan 2, 2025

I just tested this PR with the Land-use project data (the one visible here https://demo.lizmap.com/lizmap/index.php/view/map?repository=features&project=land_use)
It works flawlessly.

@rldhont rldhont merged commit ab15d8c into 3liz:master Jan 15, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release_3_9 php Pull requests that update Php code refactoring run end2end If the PR must run end2end tests or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants