Andrea, Ian, Rahkonen and Rini, thank you all for your suggestions. I'm
now using the following WMS request:

 

http://localhost:8080/geoserver/wms?

SERVICE=WMS&

REQUEST=GetMap&

VERSION=1.1.0&

WIDTH=459&

HEIGHT=353&

LAYERS=sprint21:DepthArea&

TRANSPARENT=TRUE&

FORMAT=image/png&

BBOX=-1.304114,50.724729,-1.040936,50.817929&

SRS=EPSG:4326&

STYLES=

 

I believe this is the correct WMS request following Ian's guidance -
I've also set STYLES=, which should make the layer use its default
style. I've checked in the GeoServer Web Admin page - my DepthArea layer
has "polygon" as its default style, and this SLD just specifies that
polygons should be rendered in a certain colour - there are no complex
rendering rules based on the feature's attribution, so I don't think the
bounding box error is being caused by an invalid styling.

 

Can you think of anything else I can try, or any other configurations I
should check that may resolve this bounding box issue?

 

Best Regards,

 

Ryan

 

 

From: rini.angre...@csiro.au [mailto:rini.angre...@csiro.au] 
Sent: 08 November 2013 09:55
To: andrea.a...@geo-solutions.it; Ryan Moody;
ben.caradoc-dav...@csiro.au
Cc: geoserver-users@lists.sourceforge.net; Francoise Kingman; Neil Kirk
Subject: RE: [Geoserver-users] Failing to Render WMS PNG Image

 

Hi Ryan,

 

I suspect it has something to do with your style.

Is it referring to some properties that don't exist in the complex
feature type?

This might help:
http://docs.geoserver.org/latest/en/user/data/app-schema/wms-support.htm
l

Some examples in the unit tests here:
https://github.com/geoserver/geoserver/blob/master/src/extension/app-sch
ema/app-schema-test/src/test/java/org/geoserver/test/WmsGetMapTest.java

 

Cheers

Rini

 

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of
Andrea Aime
Sent: Friday, 8 November 2013 5:07 PM
To: Ryan Moody; Angreani, Rini (CESRE, Kensington); Caradoc-Davies, Ben
(CESRE, Kensington)
Cc: GeoServer Mailing List List; Francoise Kingman; Neil Kirk
Subject: Re: [Geoserver-users] Failing to Render WMS PNG Image

 

On Thu, Nov 7, 2013 at 5:52 PM, Ryan Moody <ryan.mo...@envitia.com>
wrote:

        Caused by: java.lang.IllegalArgumentException

                        at
org.geotools.filter.FilterFactoryImpl.bbox2d(FilterFactoryImpl.java:434)

                        at
org.geotools.filter.FilterFactoryImpl.bbox(FilterFactoryImpl.java:423)

                        at
org.geotools.data.complex.filter.UnmappingFilterVisitor.visit(UnmappingF
ilterVisitor.java:539)

                        at
org.geotools.renderer.lite.FastBBOX.accept(FastBBOX.java:127)

                        at
org.geotools.data.complex.AppSchemaDataAccess.unrollFilter(AppSchemaData
Access.java:593)

                        at
org.geotools.data.complex.AppSchemaDataAccess.unrollQuery(AppSchemaDataA
ccess.java:319)

                        at
org.geotools.data.complex.AbstractMappingFeatureIterator.getUnrolledQuer
y(AbstractMappingFeatureIterator.java:315)

                        at
org.geotools.data.complex.AbstractMappingFeatureIterator.&lt;init&gt;(Ab
stractMappingFeatureIterator.java:202)

                        at
org.geotools.data.complex.DataAccessMappingFeatureIterator.&lt;init&gt;(
DataAccessMappingFeatureIterator.java:135)

                        at
org.geotools.data.complex.MappingFeatureIteratorFactory.getInstance(Mapp
ingFeatureIteratorFactory.java:193)

                        at
org.geotools.data.complex.MappingFeatureCollection.features(MappingFeatu
reCollection.java:174)

                        at
org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer
.java:2475)

                        at
org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRen
derer.java:2045)

                        at
org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.jav
a:829)

                        at
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedIm
ageMapOutputFormat.java:481)

                        ... 103 more

 

 

Ok, so we have a filter visitor in app-schema (thus, you are using
complex features) that bombs

when dealing with the FastBBOX filter, an custom optimized BBOX filter
implementation that

speeds up (significantly, at least on fast data sources) rendering.

Possibly something for Ben and Rini to look at?

 

Cheers

Andrea

 

-- 

==

Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.

==

 

Ing. Andrea Aime 

@geowolf

Technical Lead

 

GeoSolutions S.A.S.

Via Poggio alle Viti 1187

55054  Massarosa (LU)

Italy

phone: +39 0584 962313

fax: +39 0584 1660272

mob: +39  339 8844549

 

http://www.geo-solutions.it

http://twitter.com/geosolutions_it

 

-------------------------------------------------------

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to