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

Style data (Style Editor) #94

Closed
allyoucanmap opened this issue Oct 12, 2018 · 2 comments
Closed

Style data (Style Editor) #94

allyoucanmap opened this issue Oct 12, 2018 · 2 comments
Assignees
Labels
Priority: High question Further information is requested
Milestone

Comments

@allyoucanmap
Copy link
Contributor

Currently to get all data needed in the Style Editor we have to make two different request WMS getCapabilities and rest API.

information needed:

  • format (rest)
  • version (rest)
  • name (rest, getCapabilities)
  • title (getCapabilities)
  • _abstract (getCapabilities)

Is it possible to retrieve all style data only in a single endpoint?

releted to geosolutions-it/MapStore2#3224

@aaime
Copy link
Member

aaime commented Oct 12, 2018

There is currently no way as the information needed is split among two files, the actual XML config file (handled by the REST API) and the style file itself (title and abstract in getcapabilities are obtained by parsing the SLD and getting those info out of the parsed objects).

To get those informations we'd likely have to create a new type of object, wrapping or subclassing StyleInfo, that also contains the tiltle/abstract obtained from parsing.

@giohappy
Copy link
Contributor

closed in favour of geosolutions-it/MapStore2#3232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants