We are using GeoServer 2.7.1.1, sorry I didn't say it sooner. I'll try with 2.8 and 2.9, once installed on my test server.

Thanks !

Gabriel

Le 31/05/2016 à 19:05, Andrea Aime a écrit :
Hi,
wondering, which version of GeoServer are you using? I don't think we have automatic tests for materialized views so they might not work, but looking at the code, I would suspect that they might only work if one is using a recent version of GeoServer (e.g., a 2.8.x or later).

I would try out 2.9.0, if it's not working there either, I'd open a bug report in the ticket tracker

Cheers
Andrea


On Tue, May 31, 2016 at 6:42 PM, Gabriel Vatin <gabriel.va...@kinaxia.fr <mailto:gabriel.va...@kinaxia.fr>> wrote:

    That's what I wanted to, at first, but the query is really to
    heavy to be on-the-fly via GeoServer. So I have to create this
    materialized view on postgis (8min execution time !!) to build a
    new layer... maybe this should be a new table ?


    Le 31/05/2016 à 18:06, Blome, Guido (62-24) a écrit :
    Hi Ivan,

    I`m using materialized Views in Geoserver by building an SQL-View.
    You just have to paste the SELECT Statement in the form behind the link 
"configure SQL View" and it works. But your right they don't appear in the 
normal Featuretype list.
    But with the described workaround it works.


    Cheers, Guido

    Guido Blome

    Bundesstadt Bonn
    Amt für Bodenmanagement und Geoinformation
    Stadthaus, Berliner Platz 2, 53111 Bonn
    Telefon +49(0)2 28.77 3009
    Telefax +49(0)2 28.77 2618
    e-mailguido.bl...@bonn.de <mailto:guido.bl...@bonn.de>
    Internetwww.bonn.de <http://www.bonn.de>

    Bleiben Sie mit dem mehrmals in der Woche erscheinenden Newsletter 'BonnLive online' 
auf dem Laufenden. Informationen aus dem Rathaus, Veranstaltungstipps und aktuelle 
Nachrichten jetzt im Abo, kostenlos unterwww.bonn.de 
<http://www.bonn.de><http://www.bonn.de>
    <http://www.bonn.de>
    Recyclingpapierfreundlichste Stadt Deutschlands 2010 bis 2015.
    Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss.

    
------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are
    consuming the most bandwidth. Provides multi-vendor support for NetFlow,
    J-Flow, sFlow and other flows. Make informed decisions using capacity
    planning reports.https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- Kinaxia
    Gabriel VATIN
    Docteur en Géomatique
    Ingénieur de recherche
    Tél : 06.63.92.94.42
    Email : gabriel.va...@kinaxia.fr <mailto:gabriel.va...@kinaxia.fr>
    http://www.kinaxia.fr


    
------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth
    and traffic
    patterns at an interface-level. Reveals which users, apps, and
    protocols are
    consuming the most bandwidth. Provides multi-vendor support for
    NetFlow,
    J-Flow, sFlow and other flows. Make informed decisions using capacity
    planning reports.
    https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Geoserver-users mailing list
    Geoserver-users@lists.sourceforge.net
    <mailto:Geoserver-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geoserver-users




--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


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

--
Kinaxia         
Gabriel VATIN
Docteur en Géomatique
Ingénieur de recherche
Tél : 06.63.92.94.42
Email : gabriel.va...@kinaxia.fr <mailto:gabriel.va...@kinaxia.fr>
http://www.kinaxia.fr

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to