Skip to content

Commit

Permalink
imagery: add US CAPCOG 2022 imagery
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Jun 11, 2024
1 parent 637aa6e commit ed6585e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
38 changes: 38 additions & 0 deletions cookbooks/imagery/recipes/us_capcog.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# Cookbook:: imagery
# Recipe:: us_capcog
#
# Copyright:: 2024, OpenStreetMap Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

include_recipe "imagery::tiler"

imagery_site "us-imagery.openstreetmap.org" do
title "OpenStreetMap - USA - Aerial Imagery"
aliases ["us-imagery.osm.org"]
bbox [[29.62360872200975, -98.9703369140625], [31.048227924549767, -96.56089782714842]]
uses_tiler true
end

imagery_layer "capcog-2022" do
site "us-imagery.openstreetmap.org"
uses_tiler true
title "CAPCOG 2022"
source "file:///store/imagery/us/capcog-2022-nc-cir-12in/tiles/mosaic-tiler-file.json"
copyright "© 2022 CAPCOG"
max_zoom 20
extension "jpg"
default_layer true
end
5 changes: 0 additions & 5 deletions cookbooks/imagery/templates/default/nginx_titiler.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ server {
gzip_comp_level 9;
gzip_vary on;

location /za-25cm {
root "/store/imagery/za";
expires max;
}

location /api/v1/titiler {
rewrite ^/api/v1/titiler(.*)$ $1 break;
proxy_pass http://localhost:8080;
Expand Down

0 comments on commit ed6585e

Please sign in to comment.