On Fri, Feb 7, 2014 at 4:26 PM, Ilkka Rinne <ilkka.ri...@spatineo.com>wrote:

> Hi Andrea, all,
>
>
> Please check the latest version of the dimension default value pull
> request, the code is now in pretty good shape from my part. In addition to
> what was discussed earlier I've also added fields for the default value
> settings in the Dimension Editor UI.
>
> See the details on what has been done at
> https://github.com/geoserver/geoserver/pull/430#issuecomment-34445447
>
> Andrea: do you think the implementation is at least roughly following the
> idea you had in mind for solving this issue?
>

Hi IIkka, yes, this is what I had in mind. Thanks for the screenshots and
the configuration examples.
Still haven't had time to look into the code diffs.
The amount of changes is large, we'll need a GSIP, I'll help preparing one
once the feature freeze is over (less than 10 days now)


>
> I see one possible performance problem in this solution: as the default
> values for each layer and dimension is now resolved using the actual domain
> values in most cases, this might make the GetCapabilities request slower to
> produce if the values have to be retrieved form the disk/database.
>

Yes, unless the administrator uses only FIXED strategies of course.
I have not looked at the code yet, but for database usage one can get it to
work "quick" using two queries, one that selects
the max of the values lower than the reference, and one that selects the
min of the values highest than the reference, and then
pick the closes of the two (which I believe could be expressed with a
single complex query to, but we don't have the luxury
of writing direct SQL, whilst query + min/max visitors can be encoded
against all data sources... and it would be good to
know if we are playing against a db or not too, since a single pass through
all the data if faster against any other data source
instead, especially those that cannot do sorting...)

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

-------------------------------------------------------
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to