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

Implement converter for esriTS symbols for featureServers #58076

Merged
merged 11 commits into from
Jul 17, 2024

Conversation

merydian
Copy link
Contributor

Description

The file qgsarcgisrestutils.cpp curently does not support conversions for esriTS type symbols. This pull request adds functionality to convert esriTS symbols in ArcGis featureServers to a QgsMarkerSymbol. When loading featureServers with this symbol type, symbols will now load automatically.

Implement parseEsriTextMarkerSymbolJson

Add test for chr parameter

Set chr parameter to text

Implement borderLineSize width

Add test for borderLineSize

Add test for strokeColor

Implement strokeColor

Implement anchor points

Add tests for anchor points

Add test for angle

Add test for offset

Set sizeUnit

Set offset

Remove fontData map

Add more specific tests

Create parseEsriTextMarkerSymbolJson function

Add tests

Add necessary additional information to test json
@github-actions github-actions bot added this to the 3.40.0 milestone Jul 11, 2024
src/core/providers/arcgis/qgsarcgisrestutils.cpp Outdated Show resolved Hide resolved
src/core/providers/arcgis/qgsarcgisrestutils.cpp Outdated Show resolved Hide resolved
tests/src/python/test_provider_ogr.py Outdated Show resolved Hide resolved
tests/src/core/testqgsarcgisrestutils.cpp Outdated Show resolved Hide resolved
tests/src/core/testqgsarcgisrestutils.cpp Outdated Show resolved Hide resolved
@nyalldawson
Copy link
Collaborator

Nice work @merydian -- this is nearly ready!

@nyalldawson nyalldawson added the Squash! Remember to squash this PR, instead of merging or rebasing label Jul 17, 2024
Copy link

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit cf2d1aa)

@nyalldawson nyalldawson merged commit e67f21b into qgis:master Jul 17, 2024
29 checks passed
@nyalldawson
Copy link
Collaborator

Nice work @merydian ! Welcome to core QGIS development! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Squash! Remember to squash this PR, instead of merging or rebasing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants