REST API - SLD definitions Web resource

The service is responsible for management of Styled Layers Descriptors – how the EasyGIS should render thematic maps. Besides the basic CRUD operations, the service provides with a graphical presentation of the SLD definition (you may request the SLD resource as JPEG image).

URL

http://localhost:8080/easygis/services/data/styles.format

http://localhost:8080/easygis/services/data/styles/style_identifier/icon

Formats

html, json, jpg

HTTP methods

GET, POST, DELETE

Requires Authentication

Only POST, DELETE methods

Parameters

  • standard search parameters
  • id: identifier of the style definition. Used delete, update a layer (DELETE, POST methods)
  • sld: Body of SLD definition (xml document). Used only to create, update a layer (POST method)
  • title: title of the style (POST method)
  • description: description of the style (POST method)
  • tags: comma separated list of tags (POST method)

Example queries