[Geoserver-devel] CSS module switched to the GeoTools gt-css backend

Hi,
as of today the CSS module on master has been switched to the gt-css engine.

Along with it, the user interface has been refactored a bit to use less vertical
screen estate, and syntax highlight/formatting via codemirror has been added
as well, see the following screenshot:

The switch to the gt-css module comes with a number of improvements:

  • The module is maintaned
  • The download size is significantly smaller (700k instead of 6.8MB)
  • Large CSS styles with lots of intra-rule combinations are (in my tests) translated to SLD in a matter
    of seconds instead of minutes/hours
  • Evaluation of the styles at runtime is optimized a bit as the target SLD is cached, and it’s using the
    new “exclusive” evaluation mode that stops the renderer at the first matched rule
  • A few issues that have been open for a while have been fixed as the effect of the switch

Of course, it’s not all roses… the code is brand new, tested only by yours truly, so I expect
surprises as people start using it with their real world styles.

Starting with tomorrow’s (Jan 7th) nightly build the new module will be available for everybody.
I’d appreciate it if some of the heavy users around here could give it a kick before the beta,
when the rest of the community will be exposed to it (and we’ll make sure the announcement
invites people to test the new module)

Cheers
Andrea

···

==

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th

==

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

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.


good work Andrea - I’ll see if I can carve out some time to test it.

Ian

On Tue Jan 06 2015 at 3:16:17 PM Andrea Aime <andrea.aime@anonymised.com> wrote:

Hi,
as of today the CSS module on master has been switched to the gt-css engine.

Along with it, the user interface has been refactored a bit to use less vertical
screen estate, and syntax highlight/formatting via codemirror has been added
as well, see the following screenshot:

The switch to the gt-css module comes with a number of improvements:

  • The module is maintaned
  • The download size is significantly smaller (700k instead of 6.8MB)
  • Large CSS styles with lots of intra-rule combinations are (in my tests) translated to SLD in a matter
    of seconds instead of minutes/hours
  • Evaluation of the styles at runtime is optimized a bit as the target SLD is cached, and it’s using the
    new “exclusive” evaluation mode that stops the renderer at the first matched rule
  • A few issues that have been open for a while have been fixed as the effect of the switch

Of course, it’s not all roses… the code is brand new, tested only by yours truly, so I expect
surprises as people start using it with their real world styles.

Starting with tomorrow’s (Jan 7th) nightly build the new module will be available for everybody.
I’d appreciate it if some of the heavy users around here could give it a kick before the beta,
when the rest of the community will be exposed to it (and we’ll make sure the announcement
invites people to test the new module)

Cheers
Andrea

==

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th

==

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

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.



Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@anonymised.comsourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Brilliant, Andrea.

We will test also. Is the geoserver-users list being kept up-to-date with all these improvements? And will this be promoted to new users of Geoserver? It is a much easier way to get started with Geoserver than SLD.

Regards
David Collins
Geological Survey of NSW

On Jan 6, 2015 11:16 PM, “Andrea Aime” <andrea.aime@anonymised.com> wrote:

Hi,
as of today the CSS module on master has been switched to the gt-css engine.

Along with it, the user interface has been refactored a bit to use less vertical
screen estate, and syntax highlight/formatting via codemirror has been added
as well, see the following screenshot:

The switch to the gt-css module comes with a number of improvements:

  • The module is maintaned
  • The download size is significantly smaller (700k instead of 6.8MB)
  • Large CSS styles with lots of intra-rule combinations are (in my tests) translated to SLD in a matter
    of seconds instead of minutes/hours
  • Evaluation of the styles at runtime is optimized a bit as the target SLD is cached, and it’s using the
    new “exclusive” evaluation mode that stops the renderer at the first matched rule
  • A few issues that have been open for a while have been fixed as the effect of the switch

Of course, it’s not all roses… the code is brand new, tested only by yours truly, so I expect
surprises as people start using it with their real world styles.

Starting with tomorrow’s (Jan 7th) nightly build the new module will be available for everybody.
I’d appreciate it if some of the heavy users around here could give it a kick before the beta,
when the rest of the community will be exposed to it (and we’ll make sure the announcement
invites people to test the new module)

Cheers
Andrea

==

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th

==

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

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.



Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I think we have all been promoting CSS David (CSS has been featured prominently in foss4g presentations and workshops), it is featured in the user manual etc…

This work enables the developer community (primarily java developers) to more easily support the css extension then the previous work written in scala.

(attachments)

screenshot.gif

···

On 6 January 2015 at 17:21, David Collins <david.8.collins@anonymised.com> wrote:

Brilliant, Andrea.

We will test also. Is the geoserver-users list being kept up-to-date with all these improvements? And will this be promoted to new users of Geoserver? It is a much easier way to get started with Geoserver than SLD.

Regards
David Collins
Geological Survey of NSW

On Jan 6, 2015 11:16 PM, “Andrea Aime” <andrea.aime@anonymised.com> wrote:

Hi,
as of today the CSS module on master has been switched to the gt-css engine.

Along with it, the user interface has been refactored a bit to use less vertical
screen estate, and syntax highlight/formatting via codemirror has been added
as well, see the following screenshot:

The switch to the gt-css module comes with a number of improvements:

  • The module is maintaned
  • The download size is significantly smaller (700k instead of 6.8MB)
  • Large CSS styles with lots of intra-rule combinations are (in my tests) translated to SLD in a matter
    of seconds instead of minutes/hours
  • Evaluation of the styles at runtime is optimized a bit as the target SLD is cached, and it’s using the
    new “exclusive” evaluation mode that stops the renderer at the first matched rule
  • A few issues that have been open for a while have been fixed as the effect of the switch

Of course, it’s not all roses… the code is brand new, tested only by yours truly, so I expect
surprises as people start using it with their real world styles.

Starting with tomorrow’s (Jan 7th) nightly build the new module will be available for everybody.
I’d appreciate it if some of the heavy users around here could give it a kick before the beta,
when the rest of the community will be exposed to it (and we’ll make sure the announcement
invites people to test the new module)

Cheers
Andrea

==

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th

==

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

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.



Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Jody Garnett

On Wed, Jan 7, 2015 at 2:21 AM, David Collins <david.8.collins@anonymised.com>
wrote:

Brilliant, Andrea.

We will test also. Is the geoserver-users list being kept up-to-date with
all these improvements? And will this be promoted to new users of
Geoserver? It is a much easier way to get started with Geoserver than SLD.

No, I left the users out on purpose for the time being, but they will be
well advertised about it in less
than two weeks, when the beta goes out.

For the moment I'd like to get feedback from a smaller, more skilled
audience (to get more precise feedback, and avoid getting 10 times the same
reports) :slight_smile:

Cheers
Andrea

--

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

Please, notice that GeoSolutions will be closed for seasonal holidays
from December the 24th to January the 6th

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

*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.

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

Sounds good, Andrea. FYI, I’m still on holidays so unfortunately I won’t be able to test before the beta.