Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FACT Land Use Land Cover
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FACT
FACT Data Services
FACT Land Use Land Cover
Commits
ed9844eb
Commit
ed9844eb
authored
5 months ago
by
Riccardo Boero
Browse files
Options
Downloads
Patches
Plain Diff
Main package update and error fix.
parent
6b2824b3
No related branches found
Branches containing commit
Tags
v0.2
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
other/load_server_package.sh
+1
-1
1 addition, 1 deletion
other/load_server_package.sh
other/start.py
+2
-2
2 additions, 2 deletions
other/start.py
test.py
+0
-11
0 additions, 11 deletions
test.py
with
3 additions
and
14 deletions
other/load_server_package.sh
+
1
−
1
View file @
ed9844eb
#!/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
This diff is collapsed.
Click to expand it.
other/start.py
+
2
−
2
View file @
ed9844eb
...
...
@@ -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
=
Tru
e
# Specify whether the analysis is categorical
categorical
=
Fals
e
# Specify whether the analysis is categorical
service
=
GeoTIFFService
(
directory
=
data_directory
,
port
=
port_number
,
categorical
=
categorical
)
service
.
run
()
This diff is collapsed.
Click to expand it.
test.py
deleted
100644 → 0
+
0
−
11
View file @
6b2824b3
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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment