[Live-demo] Enable JSONP for GeoServer

Angelos Tzotsos gcpp.kalxas at gmail.com
Tue Jul 2 07:42:09 PDT 2013


+1 from me.

Thanks,
Angelos

On 07/02/2013 05:19 PM, Patric Hafner | geOps wrote:
> Hello everybody,
>
> we are currently fixing the installer for Cartaro
> (http://trac.osgeo.org/osgeo/ticket/1136).
>
> In order to run Cartaro with GeoServer 2.3, it is necessary to set the
> java system variable ENABLE_JSONP=true to enable the JSONP
> (text/javascript) output format.
> This can be done in /usr/local/lib/geoserver-2.3.2/bin/startup.sh Line 71
>
> -  export JAVA_OPTS="-XX:MaxPermSize=128m"
> +  export JAVA_OPTS="-XX:MaxPermSize=128m -DENABLE_JSONP=true"
>
> (More Information:
> http://docs.geoserver.org/stable/en/user/services/wms/global.html#wms-global-variables)
>
> Does someone see any problems with activating it? Especially the other
> projects using GeoServer?
>
> As the startup.sh script is part of the GeoServer archive, I want to fix
> the script in the same way (using sed) as it already happens in
> install_geoserver.sh (around Line 80)
>
> If this is o.k. for everybody, it would commit this change.
>
> Thoughts?
>
> With best regards,
> Patric
>
>
> --
> We are hiring: http://www.geops.de/jobs


-- 
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos



More information about the Live-demo mailing list