Possibly you could also look at 
http://docs.geoserver.org/latest/en/user/community/remote-wps/index.html 

 

I personally would have tried the Java WPS implementation, but you should use 
whatever technology you are comfortable debugging. 

 

Brad

From: faw...@tutamail.com <faw...@tutamail.com> 
Sent: Monday, 9 July 2018 7:56 PM
To: Geoserver Users <geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] Call GRASS functions from within Geoserver

 

Hi all,

I need to call some GRASS functions (such as viewshed, and elevation profile) 
from within Geoserver. I've searched about GRASS APIs and found that  there are 
two libraries for such thing: one for python "PyGrass" and another for java 
"vtk-grass-bridge". The python one seems to have more community and support 
than the java one.

So, what I intend to do is to use the GeoServer scripting extension to write a 
python script that uses the pyGrass library to perform the task.

Another way is to run Grass commands line functions from java from within 
Geoserver using 

Runtime.getRuntime.exec.

 

My question is: are these ways feasible? Have anybody tried any of these ways 
before?

 

Regards,

Fawzy

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to