docker pull geodata/gdal:latest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
CSW harvesting script for the GeoCat CSW service. | |
This script allows to harvest all the records from the GeoCat CSW service | |
Author: [Maxime Collombin] | |
Date: [14/08/2023] | |
""" | |
# -*- coding: utf-8 -*- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
BBOX converter | |
This script allows to convert a bounding box from WGS84 to EPSG:2056. | |
Author: [Maxime Collombin] | |
Date: [14/08/2023] | |
""" | |
# -*- coding: utf-8 -*- | |
import pyproj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Swiss Tile Matrix Set Generation Script | |
This script generates a JSON and XML representation of a an OGC 2D tile matrix set definition | |
for use with geographical data services. | |
Author: [Maxime Collombin] | |
Date: [14/08/2023] | |
""" |
git remote -v
git fetch upstream
This command merges the changes that were fetched in the previous step into the local repository's current branch. The --ff-only option ensures that the merge is only performed if it is a fast-forward merge, which means that the local branch has not diverged from the upstream branch.
git merge --ff-only upstream/main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- create points1 table | |
CREATE TABLE points1 ( | |
id SERIAL PRIMARY KEY, | |
geom GEOMETRY(Point, 4326), | |
attr1 TEXT, | |
attr2 INTEGER | |
); | |
-- insert random data into points1 table | |
INSERT INTO points1 (geom, attr1, attr2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<StyledLayerDescriptor version="1.0.0" | |
xmlns="http://www.opengis.net/sld" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.opengis.net/sld | |
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> | |
<NamedLayer> | |
<Name>ch.bafu.klima-co2_ausstoss_gebaeude</Name> | |
<LayerFeatureConstraints> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<StyledLayerDescriptor version="1.0.0" | |
xmlns="http://www.opengis.net/sld" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.opengis.net/sld | |
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> | |
<NamedLayer> | |
<Name>ch.bafu.klima-co2_ausstoss_gebaeude</Name> | |
<LayerFeatureConstraints> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<StyledLayerDescriptor version="1.0.0" | |
xmlns="http://www.opengis.net/sld" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.opengis.net/sld | |
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd"> | |
<NamedLayer> | |
<Name>ch.bafu.klima-co2_ausstoss_gebaeude</Name> | |
<LayerFeatureConstraints> |