>
> I've cc'ed Niels, the author of the change that's resulting in the
> exception you're seeing.
> Niels, wondering if the following test:
>
> if (! (collection instanceof SimpleFeatureCollection)) {
> //put wrapper around it with layer name
> Name name = n
On Sat, Jun 23, 2012 at 1:40 PM, Niels Charlier wrote:
>
>> I've cc'ed Niels, the author of the change that's resulting in the
>> exception you're seeing.
>> Niels, wondering if the following test:
>>
>> if (! (collection instanceof SimpleFeatureCollection)) {
>>//put wrapper
On Thu, Jun 21, 2012 at 11:28 AM, Rahkonen Jukka
wrote:
> **
> Hi,
>
> Could it have something to do with that Oracle can store whatever sort of
> geometries into the same SDO_GEOMETRY field if is not especially denied by
> setting a constraint when the spatial index is created? Perhaps some part
Hi,
Could it have something to do with that Oracle can store whatever sort of
geometries into the same SDO_GEOMETRY field if is not especially denied by
setting a constraint when the spatial index is created? Perhaps some part of
the system is not sure that there will be polygons and that make
On Thu, Jun 21, 2012 at 9:43 AM, Gavin wrote:
> Thanks Andrea
>
> The data is coming from a Oracle table and as stated previous if I do
> the request as any other format but Xml the request works fine
> pulls back a polygon and a few attributes
>
> http://geology.data.vic.gov.au/tilecache
Thanks Andrea
The data is coming from a Oracle table and as stated previous if I do the
request as any other format but Xml the request works fine
pulls back a polygon and a few attributes
http://geology.data.vic.gov.au/tilecache/seamless.html
On 21 June 2012 17:35, Andrea Aime wrote:
On Wed, Jun 20, 2012 at 7:43 AM, Gavin wrote:
> this is the error from the geoserver log
>
> 2012-06-20 15:39:52,386 ERROR [geoserver.ows] -
> java.lang.ClassCastException:
> org.geoserver.wms.featureinfo.FeatureCollectionDecorator cannot be cast to
> org.geotools.data.simple.SimpleFeatureCollect
Hi,
At least gml info format is returning also the geometries of the features found
with GetFeatureInfo as gml. Clients can utilise that for example by flashing
the queried feature.
-Jukka Rahkonen-
Gavin wrote:
Thanks for that I shall have a look at the sql
Hi,
Best thing you can do is to catch the geometry which is returned by your query.
For me the error says that the returning feature collection is something that
FeatureCollectionDecorator cannot turn into a simple feature collection. I
would guess that for example feature collection containin
this is the error from the geoserver log
2012-06-20 15:39:52,386 ERROR [geoserver.ows] -
java.lang.ClassCastException:
org.geoserver.wms.featureinfo.FeatureCollectionDecorator cannot be cast to
org.geotools.data.simple.SimpleFeatureCollection
at
org.geoserver.wms.featureinfo.GML2FeatureInf
Hi
Sorry Thought I had included the geoserver version information at the
bottom of the original email
Gavin
Build Information
- Version 2.2-SNAPSHOT
- Subversion Revision 17075
- Build Date 14-May-2012 19:13
- GeoTools Version 8-SNAPSHOT (rev 38723
The full request is
unitPicker
On Tue, Jun 19, 2012 at 1:13 AM, Gavin wrote:
> Hi
>
> When I do a WMSGetFeatureInfo request from open layers to geoserver
> using
> unitPicker.infoFormat = 'application/vnd.ogc.gml';
>
> Geoserver returns a
> java.lang.ClassCastException:
> org.geoserver.wms.featureinfo.FeatureCollectionD
Hi
When I do a WMSGetFeatureInfo request from open layers to geoserver using
unitPicker.infoFormat = 'application/vnd.ogc.gml';
Geoserver returns a
java.lang.ClassCastException:
org.geoserver.wms.featureinfo.FeatureCollectionDecorator cannot be cast to
org.geotools.data.simple.SimpleFeatur
13 matches
Mail list logo