Skip to content
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

Tiles not merging with Docker image #8

Closed
jamez70 opened this issue Aug 19, 2024 · 6 comments
Closed

Tiles not merging with Docker image #8

jamez70 opened this issue Aug 19, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@jamez70
Copy link
Collaborator

jamez70 commented Aug 19, 2024

Here is some of the output from running node /chartmaker/make.js
I am running docker version v1.35

>> gdal_translate /chartmaker/workarea/Enroute_High/1_unzipped/enr_h11.tif
>> gdalwarp warping /chartmaker/workarea/Enroute_High/3_clipped/enr_h11.vrt using shapefile /chartmaker/clipshapes/enroute_high/enr_h11.shp
>> gdaladdo adding overviews to /chartmaker/workarea/Enroute_High/3_clipped/enr_h11.vrt
>> gdal2tiles tiling /chartmaker/workarea/Enroute_High/3_clipped/enr_h11.vrt into /chartmaker/workarea/Enroute_High/4_tiled/enr_h11
* chart enr_h12
Warning 1: The definition of geographic CRS EPSG:4269 got from GeoTIFF keys is not the same as the one from the EPSG registry, which may cause issues during reprojection operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use official parameters (overriding the ones from GeoTIFF keys), or to GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG code.
>> gdal_translate /chartmaker/workarea/Enroute_High/1_unzipped/enr_h12.tif
>> gdalwarp warping /chartmaker/workarea/Enroute_High/3_clipped/enr_h12.vrt using shapefile /chartmaker/clipshapes/enroute_high/enr_h12.shp
>> gdaladdo adding overviews to /chartmaker/workarea/Enroute_High/3_clipped/enr_h12.vrt
>> gdal2tiles tiling /chartmaker/workarea/Enroute_High/3_clipped/enr_h12.vrt into /chartmaker/workarea/Enroute_High/4_tiled/enr_h12
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h01
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h01 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h02
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h02 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h03
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h03 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h04
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h04 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h05
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h05 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h06
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h06 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h07
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h07 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h08
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h08 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h09
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h09 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h10
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h10 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h11
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h11 /chartmaker/workarea/Enroute_High/5_merged
>> perl merging images into /chartmaker/workarea/Enroute_High/4_tiled/enr_h12
Command failed: perl ./mergetiles.pl /chartmaker/workarea/Enroute_High/4_tiled/enr_h12 /chartmaker/workarea/Enroute_High/5_merged
>> generating metadata json for Enroute_High database
>> creating database: /chartmaker/charts/Enroute_High.db
Command failed: python3 ./mbutil/mb-util --image_format=webp --scheme=tms /chartmaker/workarea/Enroute_High/5_merged /chartmaker/charts/Enroute_High.db
Sectional processing time: 0:52:25

Caribbean processing time: 0:3:23

Grand_Canyon processing time: 0:0:25

Terminal processing time: 0:7:21

Helicopter processing time: 0:2:59

Enroute_Low processing time: 0:24:57

Enroute_High processing time: 0:25:46

Start time: Sun Aug 18 2024 21:43:33 GMT+0000 (Coordinated Universal Time)
End time: Sun Aug 18 2024 23:40:54 GMT+0000 (Coordinated Universal Time)
Total processing time: 1:57:21
@jamez70
Copy link
Collaborator Author

jamez70 commented Aug 19, 2024

I think it needs to be perl /chartmaker/mergetiles.pl instead of perl ./mergetiles.pl
Also for python3 /chartmaker/mbutil/mb-util

@N129BZ
Copy link
Owner

N129BZ commented Aug 19, 2024

I'm looking into this now, are you running the image on Linux, or Windows, or Windows/WSL?

@N129BZ N129BZ self-assigned this Aug 19, 2024
@jamez70
Copy link
Collaborator Author

jamez70 commented Aug 19, 2024

In Linux (Ubuntu) with docker v24.0.7. I changed those two things and it ran to completion so that was the only issue.

@N129BZ N129BZ added the bug Something isn't working label Aug 19, 2024
@N129BZ
Copy link
Owner

N129BZ commented Aug 19, 2024 via email

@N129BZ
Copy link
Owner

N129BZ commented Aug 19, 2024

Tested docker image n129bz/chartmaker:v1.36 processed enroute high chart without error, pushed new image to docker hub, closing issue.

@N129BZ
Copy link
Owner

N129BZ commented Aug 19, 2024

Closed.

@N129BZ N129BZ closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants