Mercurial > gemma
view docker/Dockerfile.geoserv @ 793:073394629ec6
client: add measurement and improve identify
* Only display features that have an Id in the identify box, because
during the drawmode, after the first click, there is an additional
feature that has no Id. Probably this is the point.
* Add setting an Id to the feature that is drawn, which makes it show
up in the identify box.
* Add code to add the length of the drawn line to the store and a rounded
value to the feature property. This creates a simple measurement tool,
if the feature box is shown.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 10:02:39 +0200 |
parents | ac61b03c0eaf |
children | 1ce42139ea0a |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom@intevation.de" RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list RUN apt-get update &&\ apt-get -y install --no-install-recommends \ curl unzip openjdk-8-jre-headless tomcat8 ENV CATALINA_HOME /usr/share/tomcat8 ENV CATALINA_BASE /var/lib/tomcat8 ENV CATALINA_TMPDIR /tmp/tomcat8-tmp ENV GS_URL https://downloads.sourceforge.net/project/geoserver/GeoServer ENV GS_VERSION 2.13.2 ENV GS_DATADIR /opt/geoserver/data ENV CATALINA_OPTS="-DGEOSERVER_DATA_DIR=$GS_DATADIR" RUN mkdir -p $GS_DATADIR && chown tomcat8 $GS_DATADIR RUN curl -L $GS_URL/$GS_VERSION/geoserver-$GS_VERSION-war.zip > gs.zip &&\ unzip -d $CATALINA_BASE/webapps/ gs.zip geoserver.war &&\ rm gs.zip EXPOSE 8080 USER tomcat8 RUN mkdir $CATALINA_TMPDIR CMD ["/usr/share/tomcat8/bin/catalina.sh", "run"]