Skip to content

Commit

Permalink
Add missing license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Jan 6, 2025
1 parent 07cbbe6 commit 7e89e79
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
7 changes: 2 additions & 5 deletions basemap/layers/linestring/create.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
-- 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.
DROP
MATERIALIZED VIEW IF EXISTS osm_linestring CASCADE;

CREATE
MATERIALIZED VIEW IF NOT EXISTS osm_linestring AS SELECT
OR REPLACE VIEW osm_linestring AS SELECT
id,
tags,
geom,
Expand All @@ -29,4 +26,4 @@ CREATE
geom IS NOT NULL
AND ST_GeometryType(osm_way.geom)= 'ST_LineString'
AND tags != '{}'
AND member_ref IS NULL WITH NO DATA;
AND member_ref IS NULL;
14 changes: 14 additions & 0 deletions basemap/layers/point/create.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to you 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
--
-- http://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.
CREATE
OR REPLACE VIEW osm_point AS SELECT
id,
Expand Down
14 changes: 14 additions & 0 deletions basemap/layers/power/create.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to you 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
--
-- http://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.
CREATE
OR REPLACE VIEW osm_power AS SELECT
id,
Expand Down

0 comments on commit 7e89e79

Please sign in to comment.