- Description
- How To Use
- References
- License
- Author Info
This project provides the backend for the Urban Performance and Suitability tools.
- Oskari
- Maven
This Oskari's server extension is intended to be used in an instance of oskari-server-v1.55.1, the oskari-server-v1.55.1 is available at https://github.com/oskariorg/oskari-server/tree/1.55.1
- Build the UPT GUI project, following the instrucctions available in the readme file of the repository https://github.com/UPTechMX/UPT-GUI
- Clone this repository with the command
git clone https://github.com/UPTechMX/UPT-Server-Extension
- Move to the newly created directory
UPT-Server-Extension
- To compile the extension, execute the following command
mvn clean install
, after the compilation finishes, a war file(oskari-map.war
) can be found in the directoryUPT-Server-Extension/weebapp-map/target/
.
-
To proceed with the installation, the file
oskari-map.war
must be uploaded in to the Oskari's server diretory. The Oskari server have one direcotry calledwebapps
that is the place where the file must be uploaded. -
Edit the file
oskari-ext.properties
located in the directoryresources
, the file have to be updated to register the addresses of the tools UPT Distance Module and the UPT UrbanPerformance -
The following lines must be added at the end of the
oskari-ext.properties
file. Just replace the variables(OSKARI_HOST,OSKARI_DATABASE_NAME,OSKARI_DATABASE_PORT,UPT_URBANPERFORMANCE_HOST,UPT_URBANPERFORMANCE_PORT,UPT_DISTANCE_MODULE_HOST,UPT_DISTANCE_MODULE_PORT) with the correct valuesup.db.URL=jdbc:postgresql://OSKARI_DATABASE_HOST:OSKARI_DATABASE_PORT/OSKARI_DATABASE_NAME up.db.password=OSKARI_PASSWORD up.db.user=OSKARI_USER upws.db.host=UPT_URBANPERFORMANCE_HOST upws.db.port=UPT_URBANPERFORMANCE_PORT stws.db.host=UPT_DISTANCE_MODULE_HOST stws.db.port=UPT_DISTANCE_MODULE_PORT
-
Finally to register the UPT Server Extension into Oskari, register it using the name
example
. The registration is done in the same fileoskari-ext.properties
.db.additional.modules=myplaces, userlayer, example
-
After all the previous steps, the only remaining step is to reboot the oskari server application so it will install the extension that have been registered.
- For a detailed iformation about Oskaris intallation visit https://www.oskari.org/documentation
- SPDX-License-Identifier: MIT
- Copyright (c) 2020 CAPSUS S.C.
We acknowledge the invaluable support of the World Bank’s Trust Fund for Statistical Capacity Building (TFSCB) in making this project. This tool was conceptualized at City Planning Labs with the technical support from SITOWise. The tools were developed by CAPSUS and are maintained by UPTech and a community of developers.