Hello all,
Could this module support the CartoCSS syntax too?
https://www.mapbox.com/tilemill/docs/manual/carto/
In downstream projects (like GeoNode) it would be very helpful to be able
to be compatible with TileMill and CartoCSS.
I am not sure which other projects use the CSS syntax used in the scala
extension but from memory I think it was GeoServer specific. If GeoServer
adopts CartoCSS, perhaps we can also convince/fund QGIS to support CartoCSS
and have an excellent alternative to SLD that works in many open source
packages.
What do you think?
On Mon, Jun 9, 2014 at 5:27 AM, Jody Garnett <[email protected]> wrote:
> Brave Move Andrea: I was thinking of doing the same thing using the
> eclipse domain specific language stuff (and xtend).
>
> So big +1 from me.
>
>
> Jody Garnett
>
>
> On Mon, Jun 9, 2014 at 6:12 AM, Andrea Aime <[email protected]>
> wrote:
>
>> Hi,
>> as you may know in GeoServer we have a community module allowing
>> to style maps using a CSS syntax:
>> http://docs.geoserver.org/latest/en/user/extensions/css/index.html
>>
>> The module uses a Scala based parser which eventually translates the
>> style into an equivalent SLD form.
>>
>> The scala parser has been source of some issues:
>> * The module is not actively developed (last commit is 8 months old), and
>> some
>> pull requests have been waiting to be accepted for months
>> * The number of developers proficient with Scala is quite limited
>> (proficient as in,
>> someone that can go and write changes to the module straight away)
>> * There has been some complaint about the CSS->SLD translation
>> performance
>>
>> A few months ago Jody was suggesting to fork the module and rewrite it in
>> Java
>> to get a larger potential maintaner base (
>> http://osgeo-org.1560.x6.nabble.com/GeoTools-GeoServer-Meeting-2013-12-10-td5093533.html#a5093665).
>> ..
>> which is what I did in the last couple of weekends, initial results here:
>> https://github.com/aaime/geotools/tree/css
>>
>> For the moment I have a (supposedly) complete parser for the syntax
>> currently
>> used by GeoServer based on the parbolied parser library
>> https://github.com/sirthias/parboiled/wiki
>> This library was suggested originally by David Winslow as we were talking
>> about
>> the possibility of a Java rewrite some months ago.
>>
>> The plan is to move forward and create a CSS->SLD translator in the next
>> few weeks,
>> trying to pay attention to performance, and see if some of the issues in
>> the existing
>> Scala version can be solved too, e.g., creationg of a line and polygon
>> symbolizer
>> when a single polygon symbolizer would do, and no use of ElseFilter for
>> the
>> rules matching "everything else".
>> I'll probably have to pimp up the SimplifyingFilterVisitor a bit to
>> recognize filters
>> that match everything, or nothing, to do the above, which in the end will
>> be
>> of benefit also for all other users of the class above (e.g., stores
>> translating filters
>> into some sql/xml format)
>>
>> Feedback welcomed
>>
>> Cheers
>> Andrea
>>
>> --
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/NWWaa2 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
>>
>> -------------------------------------------------------
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> GeoTools-Devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://www.hpccsystems.com
> _______________________________________________
> GeoTools-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel