I know only part of this question is relevant to Geoserver. I am using Open
Layers to serve some layers served by Geoserver. I have a python script that
takes user input from the web page, and returns a GeoJSON file. What is the
best way to use a python script to accomplish this? Is there a preferred
method for where I put the python script, and call it in a Geoserver/Open
Layers framework? I am a little unclear as to where to put the script in my
file structure so that it can be called from the web client. Any suggestions
would be appreciated...
Thanks, VickH
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/What-is-the-best-way-to-use-python-scripts-with-Geoserver-tp5154010.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Even though you are talking to Geoserver, this script needs to be executed
by the web server that is hosting your Openlayers page, not Geoserver. There
will need to be an executable directory on the web server e.g. cgi-bin,
where you put the script. The web server will need to be configured to
understand that python extension files (.py) are considered executable.
LarryT
-----Original Message-----
From: VictoriaH [mailto:bhudspeth@anonymised.com]
Sent: Tuesday, July 29, 2014 3:13 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] What is the best way to use python scripts with
Geoserver?
I know only part of this question is relevant to Geoserver. I am using Open
Layers to serve some layers served by Geoserver. I have a python script that
takes user input from the web page, and returns a GeoJSON file. What is the
best way to use a python script to accomplish this? Is there a preferred
method for where I put the python script, and call it in a Geoserver/Open
Layers framework? I am a little unclear as to where to put the script in my
file structure so that it can be called from the web client. Any suggestions
would be appreciated...
Thanks, VickH
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/What-is-the-best-way-to-use-python-scrip
ts-with-Geoserver-tp5154010.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
----------------------------------------------------------------------------
--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users