[Geoserver-devel] [jira] (GEOS-6361) WMS GetMap fails when default geometry has a different namespace to the feature type

Rini Angreani created an issue

GeoServer / BugGEOS-6361

WMS GetMap fails when default geometry has a different namespace to the feature type

Issue Type:

BugBug

Assignee:

Rini Angreani

Components:

WMS

Created:

19/Feb/14 11:04 PM

Fix Versions:

2.5-rc1

Priority:

MajorMajor

Reporter:

Rini Angreani

Request:

gsml/wms?service=WMS&version=1.1.0&request=GetMap&layers=gsml:Borehole&styles=&bbox=-180.0,-90.0,180.0,90.0&width=660&height=330&srs=EPSG:4326&format=image%2Fjpeg

Error:

<ServiceException code=“internalError”>
Rendering process failed
Can’t find source expression for: shape
</ServiceException>

However, it works for gsmlp:BoreholeView.

I suspect this is because in gsml:Borehole, the shape has a different namespace (sa:shape), and the WMS assumes the feature namespace i.e. gsml. It works for gsmlp:BoreholeView because it uses gsmlp:shape.

It would probably work if we explicitly define the geom attribute (sa:shape) in the SLD. The bug is when it’s trying to guess the default geom.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo