Skip to content

Commit

Permalink
Bestrans fix (#26)
Browse files Browse the repository at this point in the history
* Fix time dependent BES transformation

* Update usage for BES

* prep 1.1.1 release

---------

Co-authored-by: lhuisman <[email protected]>
  • Loading branch information
WouterVisscher and lhuisman authored Feb 28, 2024
1 parent 87cfff8 commit 115ebac
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ layer on top of PROJ; for instance use it with
### Build
```bash
docker build -t ghcr.io/geodetischeinfrastructuur/transformations:1.1.0 .
docker build -t ghcr.io/geodetischeinfrastructuur/transformations:1.1.1 .
```
### Run

To start an interactive terminal inside the container run:

```bash
docker run -it --rm --name nsgi-proj ghcr.io/geodetischeinfrastructuur/transformations:1.1.0
docker run -it --rm --name nsgi-proj ghcr.io/geodetischeinfrastructuur/transformations:1.1.1
```

To invoke `projinfo` from your current terminal sessions run:

```bash
docker run --rm --name nsgi-proj ghcr.io/geodetischeinfrastructuur/transformations:1.1.0 projinfo
docker run --rm --name nsgi-proj ghcr.io/geodetischeinfrastructuur/transformations:1.1.1 projinfo
```

## Test
Expand Down
4 changes: 2 additions & 2 deletions sql/nl_nsgi_20_datum_and_crs.sql
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ VALUES
'Saba2020_GEOGRAPHIC_3D_USAGE',
'geodetic_crs',
'NSGI',
'Bonaire2004_GEOGRAPHIC_3D',
'Saba2020_GEOGRAPHIC_3D',
'EPSG',
'3805',
'EPSG',
Expand Down Expand Up @@ -761,7 +761,7 @@ VALUES
'St_Eustatius2020_GEOGRAPHIC_3D_USAGE',
'geodetic_crs',
'NSGI',
'Bonaire2004_GEOGRAPHIC_3D',
'St_Eustatius2020_GEOGRAPHIC_3D',
'EPSG',
'3805',
'EPSG',
Expand Down
4 changes: 2 additions & 2 deletions sql/nl_nsgi_30_local_transformations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ VALUES
'geoid_like',
0,
NULL,
'https://github.com/GeodetischeInfrastructuur/transformations/releases/download/1.1.0/bq_nsgi_bongeo2004.tif',
'https://github.com/GeodetischeInfrastructuur/transformations/releases/download/1.1.1/bq_nsgi_bongeo2004.tif',
1,
1,
NULL
Expand All @@ -539,7 +539,7 @@ VALUES
'geoid_like',
0,
NULL,
'https://github.com/GeodetischeInfrastructuur/transformations/releases/download/1.1.0/nllat2018.gtx',
'https://github.com/GeodetischeInfrastructuur/transformations/releases/download/1.1.1/nllat2018.gtx',
1,
1,
NULL
Expand Down
34 changes: 17 additions & 17 deletions sql/nl_nsgi_60_time_dependent_transformations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ VALUES
'2010.0',
'EPSG',
'1029',
'',
'',
'',
'',
'',
NULL,
NULL,
NULL,
NULL,
NULL,
'EUREF-Eur 2000',
'0'
),
Expand All @@ -114,7 +114,7 @@ VALUES
'NSGI',
'Saba2020_GEOGRAPHIC_3D',
'EPSG',
'7912',
'7789',
'0.1',
'0.0',
'0.0',
Expand Down Expand Up @@ -145,11 +145,11 @@ VALUES
'2020.0',
'EPSG',
'1029',
'',
'',
'',
'',
'',
NULL,
NULL,
NULL,
NULL,
NULL,
'BESTRANS',
'0'
),
Expand All @@ -164,7 +164,7 @@ VALUES
'NSGI',
'St_Eustatius2020_GEOGRAPHIC_3D',
'EPSG',
'7912',
'7789',
'0.1',
'0.0',
'0.0',
Expand Down Expand Up @@ -195,11 +195,11 @@ VALUES
'2020.0',
'EPSG',
'1029',
'',
'',
'',
'',
'',
NULL,
NULL,
NULL,
NULL,
NULL,
'BESTRANS',
'0'
);
Expand Down
2 changes: 1 addition & 1 deletion validate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ RUN apt-get update && \
RUN pip install pyproj==3.6.1

# COPY the transformation grids, the modified proj.db and all the other proj files
COPY --from=ghcr.io/geodetischeinfrastructuur/transformations:1.1.0 /usr/share/proj/ /usr/local/lib/python3.11/site-packages/pyproj/proj_dir/share/proj/
COPY --from=ghcr.io/geodetischeinfrastructuur/transformations:1.1.1 /usr/share/proj/ /usr/local/lib/python3.11/site-packages/pyproj/proj_dir/share/proj/

0 comments on commit 115ebac

Please sign in to comment.