Skip to content

Commit

Permalink
update github urls
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed May 15, 2024
1 parent f641e3b commit a31c42b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 16 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Orthorectify an image using interior and exterior parameter files to generate th
# URLs of required files
url_root = (
'https://raw.githubusercontent.com/leftfield-geospatial/simple-ortho/feature_docs/tests/data/'
'https://raw.githubusercontent.com/leftfield-geospatial/orthority/main/tests/data/'
)
src_file = url_root + 'ngi/3324c_2015_1004_05_0182_RGB.tif' # aerial image
dem_file = url_root + 'ngi/dem.tif' # DEM covering imaged area
Expand All @@ -133,7 +133,7 @@ See `orthority.readthedocs.io <https://orthority.readthedocs.io/>`__ for usage a
Contributing
------------

Contributions are welcome. There is a guide in the `documentation <https://orthority.readthedocs.io/contributing>`__. Please report bugs and make feature requests with the `github issue tracker <https://github.com/leftfield-geospatial/simple-ortho/issues>`__.
Contributions are welcome. There is a guide in the `documentation <https://orthority.readthedocs.io/contributing>`__. Please report bugs and make feature requests with the `github issue tracker <https://github.com/leftfield-geospatial/orthority/issues>`__.

Licensing
---------
Expand All @@ -147,8 +147,8 @@ Acknowledgements

Special thanks to `Yu-Huang Wang <https://community.opendronemap.org/t/2019-04-11-tuniu-river-toufeng-miaoli-county-taiwan/3292>`__ & the `OpenDroneMap Community <https://community.opendronemap.org/>`__, `National Geo-spatial Information <https://ngi.dalrrd.gov.za/index.php/what-we-do/aerial-photography-and-imagery>`__ and the `Centre for Geographical Analysis <https://www0.sun.ac.za/cga/>`__ for sharing imagery, DEM and aero-triangulation data that form part of the package test data.

.. |Tests| image:: https://github.com/leftfield-geospatial/simple-ortho/actions/workflows/run-unit-tests_pypi.yml/badge.svg
:target: https://github.com/leftfield-geospatial/simple-ortho/actions/workflows/run-unit-tests_pypi.yml
.. |Tests| image:: https://github.com/leftfield-geospatial/orthority/actions/workflows/run-unit-tests_pypi.yml/badge.svg
:target: https://github.com/leftfield-geospatial/orthority/actions/workflows/run-unit-tests_pypi.yml
.. |codecov| image:: https://codecov.io/gh/leftfield-geospatial/simple-ortho/branch/main/graph/badge.svg?token=YPZAQS4S15
:target: https://codecov.io/gh/leftfield-geospatial/simple-ortho
.. |License: AGPL v3| image:: https://img.shields.io/badge/License-AGPL_v3-blue.svg
Expand Down
2 changes: 1 addition & 1 deletion docs/file_formats/csv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ Optionally, the CRS of ``x``, ``y``, ``z`` world coordinate positions can be sup

.. note::

See the `test data <https://github.com/leftfield-geospatial/simple-ortho/tree/main/tests/data/io>`__ for other CSV file examples.
See the `test data <https://github.com/leftfield-geospatial/orthority/tree/main/tests/data/io>`__ for other CSV file examples.

2 changes: 1 addition & 1 deletion docs/file_formats/exif_xmp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Camera orientation

.. note::

See the `test data <https://github.com/leftfield-geospatial/simple-ortho/tree/main/tests/data/odm/images>`__ for examples of images with valid EXIF / XMP tags.
See the `test data <https://github.com/leftfield-geospatial/orthority/tree/main/tests/data/odm/images>`__ for examples of images with valid EXIF / XMP tags.

.. TODO: add an oty info subcommand and refer to it here
Expand Down
4 changes: 1 addition & 3 deletions docs/scripts/api_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import orthority as oty

# URLs of required files
url_root = (
'https://raw.githubusercontent.com/leftfield-geospatial/simple-ortho/feature_docs/tests/data/'
)
url_root = 'https://raw.githubusercontent.com/leftfield-geospatial/orthority/main/tests/data/'
src_file = url_root + 'ngi/3324c_2015_1004_05_0182_RGB.tif' # NGI aerial image
int_param_file = url_root + 'io/ngi_int_param.yaml' # Orthority format interior parameters
ext_param_file = url_root + 'io/ngi_xyz_opk.csv' # CSV format exterior parameters
Expand Down
4 changes: 1 addition & 3 deletions docs/scripts/api_ortho.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import orthority as oty

# URLs of required files
url_root = (
'https://raw.githubusercontent.com/leftfield-geospatial/simple-ortho/feature_docs/tests/data/'
)
url_root = 'https://raw.githubusercontent.com/leftfield-geospatial/orthority/main/tests/data/'
src_file = url_root + 'ngi/3324c_2015_1004_05_0182_RGB.tif' # aerial image
dem_file = url_root + 'ngi/dem.tif' # DEM covering imaged area
int_param_file = url_root + 'io/ngi_int_param.yaml' # interior parameters
Expand Down
4 changes: 1 addition & 3 deletions docs/scripts/api_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import orthority as oty

# URLs of required files
url_root = (
'https://raw.githubusercontent.com/leftfield-geospatial/simple-ortho/feature_docs/tests/data/'
)
url_root = 'https://raw.githubusercontent.com/leftfield-geospatial/orthority/main/tests/data/'
src_file = url_root + 'rpc/qb2_basic1b.tif' # satellite image with RPC tags
rpc_param_file = url_root + 'rpc/rpc_param.yaml' # Orthority format RPC parameters

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def rgb_pinhole_utm34n_ortho(
def github_root_url() -> str:
"""URL of github repository root."""
# TODO: change to /main
return r'https://raw.githubusercontent.com/leftfield-geospatial/simple-ortho/feature_docs/'
return r'https://raw.githubusercontent.com/leftfield-geospatial/orthority/main/'


@pytest.fixture(scope='session')
Expand Down

0 comments on commit a31c42b

Please sign in to comment.