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

WMS not working with categorized style #45

Closed
honza2 opened this issue Mar 11, 2020 · 3 comments
Closed

WMS not working with categorized style #45

honza2 opened this issue Mar 11, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@honza2
Copy link

honza2 commented Mar 11, 2020

After uploading layer with categorized style, WMS provide only style, but not raster. WFS working correctly.
layer.zip

image

@jirik jirik self-assigned this Mar 14, 2020
@jirik jirik added the bug Something isn't working label Mar 14, 2020
@jirik
Copy link
Member

jirik commented Mar 14, 2020

Thanks, I can confirm the bug.

The problem is that all data attributes are converted to lower case when importing into DB. Thus we need to convert also attribute names in SLD to lower case.

XPath: //ogc:PropertyName/text()

where xmlns:ogc="http://www.opengis.net/ogc"

@jirik
Copy link
Member

jirik commented Mar 14, 2020

jirik added a commit that referenced this issue Mar 16, 2020
Change it to lowercase and replace some characters.

Fix #45
@jirik
Copy link
Member

jirik commented Mar 16, 2020

@jirik jirik closed this as completed Mar 16, 2020
jirik added a commit that referenced this issue Mar 16, 2020
Change it to lowercase and replace some characters.

Fix #45
jirik added a commit that referenced this issue Mar 18, 2020
Change it to lowercase and replace some characters.

Fix #45
jirik added a commit that referenced this issue Apr 14, 2020
Fix #45

Change WFS endpoint from /ows to /wfs, because /ows capabilities pointed to /wfs
jirik added a commit that referenced this issue Apr 14, 2020
Fix #45

Change WFS endpoint from /ows to /wfs, because /ows capabilities pointed to /wfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants