Skip to content
Snippets Groups Projects
Commit ed9844eb authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Main package update and error fix.

parent 6b2824b3
No related branches found
Tags v0.2
No related merge requests found
#!/usr/bin/env bash
pip install git+https://FACT_token:glpat-1zG-TQx___xLsPjj2vsG@git.nilu.no/fact/utils/polygonqueryonraster.git
pip install polygonqueryonraster --index-url https://git.nilu.no/api/v4/projects/1217/packages/pypi/simple
......@@ -27,9 +27,9 @@ if __name__ == "__main__":
Python environment. Modify the 'data_directory' and 'port_number' variables as needed for your setup.
"""
data_directory = '/root/data/2017' # Specify your local data directory
data_directory = '/root/data' # Specify your local data directory
port_number = 5000 # Specify the custom port number
categorical = True # Specify whether the analysis is categorical
categorical = False # Specify whether the analysis is categorical
service = GeoTIFFService(directory=data_directory, port=port_number, categorical=categorical)
service.run()
from polygonqueryonraster.app import GeoTIFFService
if __name__ == "__main__":
data_directory = 'geodata/data' # Specify your local data directory
port_number = 3307 # Specify the custom port number
categorical = True # Specify whether the analysis is categorical
service = GeoTIFFService(directory=data_directory, port=port_number, categorical=categorical)
service.run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment