[OSGeoLive] #2144: ZOO-Project demo throws 400 errors
OSGeoLive
trac_osgeolive at osgeo.org
Mon Aug 5 10:00:52 PDT 2019
#2144: ZOO-Project demo throws 400 errors
-----------------------+----------------------------
Reporter: kalxas | Owner: osgeolive@…
Type: defect | Status: new
Priority: major | Milestone: OSGeoLive13.0
Component: OSGeoLive | Resolution:
Keywords: |
-----------------------+----------------------------
Comment (by djay):
From build 223 I was able to get the cgal demo working.
To get it working I had to make the following modificaiton to the {{{/etc
/zoo-project/main.cfg}}} file:
* Add a line in the {{{[main]}}} section containing: {{{libPath=/usr/lib
/zoo-project}}}
* Add an {{{[include]}}} section at the end with the following lines:
{{{
Voronoi=/etc/zoo-project/Voronoi.zcfg
Delaunay=/etc/zoo-project/Delaunay.zcfg
}}}
To generate the list of available service and the corresponding include
line, one may use the following command:
{{{
echo "[include]" >> /etc/zoo-project/main.cfg
for i in /etc/zoo-project/*zcfg ;
do
echo $(echo $i | sed "s:/etc/zoo-project/::g;s:.zcfg::g")=$(echo $i);
done >> /etc/zoo-project/main.cfg
}}}
As the OTB demonstration UI is relying on the OTB. prefix, one may use the
following command to get the OTB.X services also available:
{{{
for i in $(dpkg -L zoo-services-otb | grep zcfg) ;
do
echo $(echo $i | sed "s:/etc/zoo-project/::g;s:.zcfg::g")=$(echo $i);
done >> /etc/zoo-project/main.cfg
}}}
I hope this helps.
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2144#comment:14>
OSGeoLive <http://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list