[Geoserver-devel] [JIRA] (GEOS-8892) coverageName ignored when creating an external ImageMosaic through REST API

Ilya Atkin - NOAA Affiliate created an issue

GeoServer / BugGEOS-8892

coverageName ignored when creating an external ImageMosaic through REST API

Issue Type:

BugBug

Affects Versions:

2.13.1

Assignee:

Unassigned

Components:

REST

Created:

14/Aug/18 4:34 PM

Environment:

CentOS 7 with Oracle JRE 1.8.0

Priority:

MediumMedium

Reporter:

Ilya Atkin - NOAA Affiliate

The coverageName parameter is ignored when creating an external ImageMosaic through the REST API. The name of the resulting layer is set to the name of the enclosing directory. I am specifically working with database backed ImageMosaics, so I am not sure if this is also an issue with shapefile backed mosaics. The same URL with external.imagemosaic substituted with external.geotiff for instance works as expected. I am setting “content-type” to “text/plain” and “accept” to “application/xml” in my requests.

Example,
PUT /geoserver/rest/workspaces/ws/coveragestores/mosaic/external.imagemosaic?coverageName=layer
(data) /data/mosaic
results in a CoverageStore named “mosaic” and a layer named “mosaic” rather than a layer named “layer”

PUT /geoserver/rest/workspaces/ws/coveragestores/mosaic/external.geotiff?coverageName=layer
(data) /data/mosaic/image1.tiff
results in a CoverageStore named “mosaic” and a layer named "layer as expected.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100090-sha1:31c7d2d)

Atlassian logo