[Geoserver-users] wms sld interpolate

2016-09-20 Thread Victor.Tey
Hi, I am trying to style a wms based on the transformation function found on http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/transformation-func.html with the GS build listed below. I end up with a nullpointerexception. If I replace the interpolate function with a simple #FF,

[Geoserver-users] Using SVG image as Mark not resizing

2016-09-20 Thread Derek Watling
I am running GeoServer 2.9.0 and using CSS styling. I set up my style to render a mark which sizes and positions depending on the zoom level. Originally I used a PNG for the mark, and once I was happy with the result I created a SVG using Inkscape. When I replace the PNG with the SVG it does not ap

Re: [Geoserver-users] Using SVG image as Mark not resizing

2016-09-20 Thread Andrea Aime
Hi Derek, a SVG normally declares its bounds in the header, often using a viewBox attribute: http://jonibologna.com/svg-viewbox-and-viewport/ May it be that your SVG have a viewbox selecting just a part of it? Cheers Andrea On Tue, Sep 20, 2016 at 9:27 AM, Derek Watling wrote: > I am running

Re: [Geoserver-users] wms sld interpolate

2016-09-20 Thread Andrea Aime
Hi Victor, as far as I can see the function is not null safe: https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/filter/function/InterpolateFunction.java#L245 If you want a quick workaround, you should be able to just filter out null values with a neg

Re: [Geoserver-users] Using SVG image as Mark not resizing

2016-09-20 Thread Derek Watling
Hi Andrea After some experimentation I can see the viewbox is the issue. This is my first time using SVG and I have blindly tried multiples of the exisisting viewport, but don't know what the actual values should be. Do you have any reccomendation for an SVG editor? Thank you Derek -- View thi

Re: [Geoserver-users] Using SVG image as Mark not resizing

2016-09-20 Thread Andrea Aime
Hi, while I never built a SVG icon myself, looking at samples around the net it seems Inkscape and Adobe Illustrator are two popular choices Cheers Andrea On Tue, Sep 20, 2016 at 10:14 AM, Derek Watling wrote: > Hi Andrea > > After some experimentation I can see the viewbox is the issue. This

[Geoserver-users] Dynamic GetLegendGraphic

2016-09-20 Thread Atle Frenvik Sveen
Hello list! Altough the GetLegendGraphic functionality works great for simple cases/layers/layergroups there are some shortcomings when dealing with more complex layer(groups). I'm in a phase where I consider wether GetLegendGraphic as implemented by Geoserver meets my needs, and the possibilit

Re: [Geoserver-users] Dynamic GetLegendGraphic

2016-09-20 Thread Andrea Aime
On Tue, Sep 20, 2016 at 1:00 PM, Atle Frenvik Sveen wrote: > When it comes to implementation my java skills are severly lacking and I > am not familiar with the Geoserver codebase, but given some pointers and > guidance I guess I could try. The simplest approach is probably to: - Add the bb

Re: [Geoserver-users] Dynamic GetLegendGraphic

2016-09-20 Thread Atle Frenvik Sveen
Hi and thanks for the swift response! It seems very clear to me that if this feature is to be implemented is has to be done in cooperation with the Geoserver community, as there are a lot of options for implementing this. It is anyways good to hear that this is a) a feature that is most likely

Re: [Geoserver-users] Problem 2.9 with view Oracle editable with trigger

2016-09-20 Thread Patrick Valsecchi
This page [1] should help you to find the reason of the error. The usage of RETURNING is quite new in GeoTools and has been introduced for performance reasons. [1] http://psoug.org/oraerror/ORA-22816.htm On Mon, Sep 12, 2016 at 8:40 PM, Cristian OlguĂ­n Avila < cristianolg...@gmail.com> wrote: >

Re: [Geoserver-users] Problem 2.9 with view Oracle editable with trigger

2016-09-20 Thread Andrea Aime
Hi Patrick, not sure if you have noticed, that performance work is also the likely cause for a regression we are experiencing against sql server: https://osgeo-org.atlassian.net/browse/GEOS-7681 Cheers Andrea On Tue, Sep 20, 2016 at 2:34 PM, Patrick Valsecchi < patrick.valsec...@camptocamp.com>

Re: [Geoserver-users] Java and geoServer setup optimization under Tomcat

2016-09-20 Thread Mark Prins
On 19-09-16 18:37, Tom S wrote: > In the past there was a suggestion to add a few options to the tomcat > setup, including similar to > -XX:MaxPermSize=512m > -XX:SoftRefLRUPolicyMSPerMB=10 > -XX:+UseParallelGC > -XX:+UseParallelOldGC > -XX:NewRatio=2 The current recommendations are available

[Geoserver-users] GeoServer 2.10-beta Released!

2016-09-20 Thread Torben Barsballe
We are happy to announce the release of GeoServer 2.10-beta . Downloads are available (zip , war

[Geoserver-users] Enabling POST method on custom REST-like endpoints in Tomcat

2016-09-20 Thread P O'Toole
Hi, list. I recently installed the Python plugin and got a simple test going, and also built a Java-style REST endpoint just to compare. The Java endpoint and the Python endpoint both work fine via GET, but I've found that I'm unable to POST requests to either of the URLs. Instead, I get back