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

UserStyle #34

Open
1Map opened this issue Mar 19, 2019 · 0 comments
Open

UserStyle #34

1Map opened this issue Mar 19, 2019 · 0 comments

Comments

@1Map
Copy link

1Map commented Mar 19, 2019

Some of my Geoserver SLD files start with:

<sld:StyledLayerDescriptor 
  version="1.0.0" 
  xmlns:sld="http://www.opengis.net/sld" 
  xmlns:ogc="http://www.opengis.net/ogc"
  xmlns:xlink="http://www.w3.org/1999/xlink" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">

and others with:

<sld:UserStyle xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">

which causes an error:

Cannot read property 'push' of undefined

due to the fact that StyledLayerDescriptor is missing. Both my styles are valid SLD's for geoserver, but fail in your reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants