Open nvkelso opened 7 years ago
curl -s https://www.boem.gov/webteam/bathymetry/BOEM_Bathymetry_East_meters_tiff.zip | \
AWS_DEFAULT_PROFILE=openterrain aws s3 cp - s3://elevation-sources-prod/boem_gom_bathy/BOEM_Bathymetry_East_meters_tiff.zip
curl https://www.boem.gov/webteam/bathymetry/BOEM_Bathymetry_West_meters_tiff.zip | \
AWS_DEFAULT_PROFILE=openterrain aws s3 cp - s3://elevation-sources-prod/boem_gom_bathy/BOEM_Bathymetry_West_meters_tiff.zip
Note that I'm transcoding these two images with the Docker image locally since they're pretty small.
docker run \
-e DATABASE_URL=redacted \
-e AWS_ACCESS_KEY_ID=redacted \
-e AWS_SECRET_ACCESS_KEY=redacted \
quay.io/mojodna/mapzen-dynamic-tiler-batch process.sh \
s3://elevation-sources-prod/boem_gom_bathy/BOEM_Bathymetry_East_meters_tiff.zip \
s3://elevation-sources-transcoded/boem_gom_bathy/BOEM_Bathymetry_East_meters
These both failed during the rio shapes
call with the following error:
CPLE_AppDefinedError: Full reprojection failed, but partial is possible if you define OGR_ENABLE_PARTIAL_REPROJECTION configuration option to TRUE
I tried running rio shapes
on these images locally (outside of Docker) and it failed again. I'm going to double-check that they're out of the footprints database and move on.
Nothing in the footprints database, so closing this:
footprints=> select id,filename,resolution,source,url,min_zoom,max_zoom,priority,approximate_zoom from footprints where source='boem_gom_bathy';
id | filename | resolution | source | url | min_zoom | max_zoom | priority | approximate_zoom
----+----------+------------+--------+-----+----------+----------+----------+------------------
(0 rows)
Re-opening for a rainy day.
Looks like 40 feet x 40 feet cells which is in the 10 meter range, which would be good for zoom 15.