-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script for updating layers. #25
base: master
Are you sure you want to change the base?
Conversation
can you test / review this @lpasquali ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this script has nothing to do with performances, it should be moved under utils.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add requirements.txt for python modules used
password = sys.argv[3] | ||
layer_file = sys.argv[4] | ||
xml_file = sys.argv[5] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add checks to validate presence of correct arguments and, if something is not right, print the usage you put on top.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please validate arguments and print an usage in case something is missing
Hello @akshayb2022, I reviewed you code, please check my comments and update it with changes requested, many thanks in advance! |
Hello @lpasquali |
hello @akshayb2022 I see you made most of changes requested. |
Done, please check |
are we done here @lpasquali ? |
./update_tile_layers.py geoserver_url geoserver_username geoserver_pass ./layers.txt tl_config_template.xml