[Geoserver-devel] [JIRA] (GEOS-7384) GeoServer REST Layer not working

Orosz Gabor created an issue

GeoServer / BugGEOS-7384

GeoServer REST Layer not working

Issue Type:

BugBug

Affects Versions:

2.8.1

Assignee:

Unassigned

Components:

Oracle, REST

Created:

21/Jan/16 11:54 AM

Priority:

HighHigh

Reporter:

Orosz Gabor

Hi!

I use 1.7-SNAPSHOT gs manager.
Maven dependency:

<dependency>
<groupId>it.geosolutions</groupId>
<artifactId>geoserver-manager</artifactId>
<version>1.7-SNAPSHOT</version>
</dependency>

If i create layer from store(with filter /sql view/), and i publish the new layer, the publishing works(its all from java with the geoserver manager api on gs rest). But the layer preview not working. If i check the “Guess geometry type and srid” and refresh, and i check the correct “Identifier”, its will working.
The bug: in java with api, i create a new VTGeometryEncoder with 3 parameter(VTGeometryEncoder(String name, String geometryType, String srid)), and put in the List, the program will iterate on list, but if the program ran, in the “featuretype.xml” have only 1 <geometry></geometry> parameter(always the last from the List). I need 1 keycolumn, and 3 geometry parameter for the good working in layer preview. In 2.8.0 version its working.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.1.0-OD-05-006#71001-sha1:081cc1a)

Atlassian logo