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

Several changes, mostly for lyrx->geostyler conversion #55

Merged
merged 62 commits into from
Dec 8, 2021

Conversation

volaya
Copy link
Contributor

@volaya volaya commented Dec 6, 2021

These changes come from work done at C2C for a customer that needed converting a large set of styles from lyr to SLD. Problems found in that work have been fixed in the commits in this PR, and they make the library more robust and better capable of converting sstyles from the ArcGIS format into geostyler and SLD

There are also some minor changes to other parts of the library.

More details about the changes in this PR can be found here:

https://github.com/camptocamp/bridge-style/wiki

vuilleumierc and others added 30 commits April 9, 2021 10:33
Add custom event type (CI: notify lyrx2sld on updates)
CI: Add Action to notify lyrx2sld on updates
Fixes for arcgis format
This changes the return from togeostyler and fromgestyler methods for all formts
volaya and others added 22 commits June 7, 2021 14:52
correctly convert polygon outlines
Also, this commit fixes the handling of min/max scale denominators
* Use symbol fill color, refine opacity support

* Use stroke width, default to 0

* Default symbol fill color to white
# Conflicts:
#	bridgestyle/sld/fromgeostyler.py
#	bridgestyle/style2style.py
#	setup.py
@GeoSander
Copy link
Member

GeoSander commented Dec 7, 2021

Nice work @volaya and @vuilleumierc! And thanks for contributing back!

Since bridge-style is a dependency for QGIS Bridge, I'll test this work as soon as possible. Seems that there may be some breaking changes, but all easy to fix, I suppose.

Q: The PR consists of a lot of tiny commits. Would you mind if I do a Squash & Merge? Alternatively, you could perhaps squash some commits yourself.

@GeoSander GeoSander self-requested a review December 7, 2021 10:54
@GeoSander GeoSander self-assigned this Dec 7, 2021
@volaya
Copy link
Contributor Author

volaya commented Dec 7, 2021

Yes, feel free to squash them, or at least the ones that affect the module that perfomrs the lyrx to geostyler conversion.

Thanks!

@GeoSander
Copy link
Member

Well, for a PR, I can only squash everything into one commit or keep all the commits. So if you wish to squash the lyrx->geostyler-related commits, please do so and force push your changes to the camptocamp:pr_c2c branch. Then I'll start the review and merge as-is!

@volaya
Copy link
Contributor Author

volaya commented Dec 8, 2021

No need to worry about that, let's squash all the PR

Copy link
Member

@GeoSander GeoSander left a comment

Choose a reason for hiding this comment

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

Alright, seems good to me! I only need to change some calls to the SLD converter in QGIS Bridge I see.
Thanks again!

@GeoSander GeoSander merged commit 3836958 into GeoCat:master Dec 8, 2021
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.

3 participants