This file contains hidden or 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
sed '0~10000 s/$/\n\\\.\nCOPY landcover\.landcover \(ogc_fid, wkb_geometry, dn\) FROM stdin\;/g' < itag_landcover.sql > itag_landcover.sql.new |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Convert a 3 dimension KML file into a PNG image | |
# | |
# Author : Jérôme Gasperi (https://github.com/jjrom) | |
# Date : 2018-11-07 | |
# | |
FILENAME=__NULL__ | |
COLORTABLE=__NULL__ | |
SIZE=1000x1000 |
This file contains hidden or 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
-- | |
-- Copyright (C) 2016 Jerome Gasperi <[email protected]> | |
-- With priceless contribution from Nicolas Ribot <[email protected]> | |
-- | |
-- This work is placed into the public domain. | |
-- | |
-- SYNOPSYS: | |
-- ST_SplitDateLine(polygon) | |
-- | |
-- DESCRIPTION: |
This file contains hidden or 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
Add this to apache configuration file (not in .htaccess !) | |
<Location /> | |
SetOutputFilter DEFLATE | |
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary | |
SetEnvIfNoCase Request_URI \.(?:mp3|wav|wma|au|m4p|snd|mid|wmv|mpg|mpeg|mp4|qt|mov)$ no-gzip dont-vary | |
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary | |
SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|gz2|sit|rar)$ no-gzip dont-vary | |
</Location> |