On Fri, Jul 5, 2013 at 4:49 PM, Andreas Wombacher <[email protected]>wrote:

> Hi,
>
> I am building a new datastore, which presents aggregated features on the
> map. In hte meanwhile it works reasonable for getMap requests. However,
> if my datastore receives a getFeatureInfo request the BBox contained in
> the filter of the query corresponds to the area around the mouse pointer.
>
> However, to be able to answer the request I need the information of the
> BBox of the map. I see this information in the geoserver log
>
> GetMapRequest =
> GetMap Request
>   version: 1.1.1
>   output format: image/png
>   width height: 567,330
>   bbox: ReferencedEnvelope[-0.160528 : 0.46738, 51.331311 : 51.69676]
>
> but I have no idea on how to access this bbox information from a
> ContentFeatureSource in the getReaderInternal(Query) method.
>

Dispatcher.REQUEST.get() and then, if not null (in test enviroment it can
be),
check the kvp map, it has the parsed BBOX among the others

Can you share anything about that store? What does it do?
Is it going to be released as open source?

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

-------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to