joerd icon indicating copy to clipboard operation
joerd copied to clipboard

Gulf of Mexico bathymetry

Open nvkelso opened this issue 8 years ago • 6 comments

Looks like 40 feet x 40 feet cells which is in the 10 meter range, which would be good for zoom 15.

  • Promo: http://news.nationalgeographic.com/2017/05/new-seafloor-map-gulf-of-mexico/
  • Data: https://www.boem.gov/Gulf-of-Mexico-Deepwater-Bathymetry/

01_map_blog_gulf_of_mexico_seafloor adapt 1900 1

nvkelso avatar Jun 06 '17 17:06 nvkelso

In meters:

  • https://www.boem.gov/webteam/bathymetry/BOEM_Bathymetry_East_meters_tiff.zip
  • https://www.boem.gov/webteam/bathymetry/BOEM_Bathymetry_West_meters_tiff.zip

nvkelso avatar Jun 06 '17 17:06 nvkelso

Mirroring data

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

Transcode data

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

iandees avatar Jun 11 '17 14:06 iandees

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

iandees avatar Jun 11 '17 23:06 iandees

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.

iandees avatar Jul 17 '17 17:07 iandees

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)

iandees avatar Jul 17 '17 17:07 iandees

Re-opening for a rainy day.

nvkelso avatar Jul 17 '17 18:07 nvkelso