dwins / geoscript.scala

Scala implementation of the GeoScript API
http://geoscript.org/
MIT License
47 stars 14 forks source link

GeoServer Rendering transformations in CSS #21

Open dwins opened 12 years ago

dwins commented 12 years ago

GeoServer has a cool feature where you can use a WPS Process to modify data arbitrarily on the fly as part of your style. It would be awesome to support it in CSS. The render-transformations branch is basically ready to go but since GeoTools currently ignores the relevant property when serializing styles it doesn't work well.

aaime commented 11 years ago

Mumble... anything I can help with?

dwins commented 11 years ago

Well, I guess it is possible this has been fixed already in GeoTools; I haven't looked at it in a while. If not I think it would be a purely GeoTools fix to include the transformation process in SLDs encoded by the GeoTools encoder.

Since implementing the render-transformations branch though I've been thinking it would be nice to come up with a specialized notation for processes though. Rather than

It would be nice to do something more like:

I started experimenting with this a while ago in https://github.com/dwins/woops but ran into trouble with the GeoTools WPS client so didn't get too far. (The plan was to put together a command-line WPS client and then repurpose the command language, maybe a more direct approach would be more effective.)

aaime commented 11 years ago

As far as I can see SLDTransformerTest has a test to round trip a rendering transformation, so it should be good gt wise.

I agree the second syntax looks nicer.

The WPS client is still quite a bit far away from being useful (I mean, I've used it a couple of times for limited purposes, and it worked once I've patched it ;-) ) but yeah, those two seem two separate topics :-)