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

REST API - Layer Group creation does not work when using default styles #581

Open
AlexGacon opened this issue Dec 26, 2024 · 0 comments
Open

Comments

@AlexGacon
Copy link
Contributor

If I want to create a layer group with the REST API with default styles for some of the layers, I have a 500 error code on GeoServer Cloud 1.9.1 which cannot be reproduced in GeoServer 2.26.1.

The creation through the web UI is working correctly.

Example of REST payload:

<layerGroup>
  <name>test_api</name>
  <mode>SINGLE</mode>
  <title>test_api</title>
  <workspace>
    <name>nexsis</name>
  </workspace>
  <publishables>
    <published type="layerGroup">
      <name>nexsis:ligne_electrique_pylone</name>
      </published>
      <published type="layerGroup">
        <name>nexsis:limites_administratives</name>
        </published>
      </publishables>
      <styles>
        <style/>
        <style/>
      </styles>
      <bounds>
        <minx>-180.0</minx>
        <maxx>180.0</maxx>
        <miny>-90.0</miny>
        <maxy>90.0</maxy>
        <crs>EPSG:4326</crs>
      </bounds>
    </layerGroup>
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

No branches or pull requests

1 participant