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 OR REPLACE FUNCTION ST_RedistributeVertices( | |
geom geometry, | |
distance double precision, | |
null_for_small boolean DEFAULT false) | |
RETURNS geometry AS $body$ | |
DECLARE | |
perimeter numeric; | |
num_vert integer; |
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
#!/usr/bin/env python | |
import os | |
import difflib | |
import subprocess | |
from osgeo import gdal | |
from osgeo import osr | |
from glob import glob | |
gdal.UseExceptions() | |
osr.UseExceptions() |
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
opening /amp/gw/sw/share/gdal/cubewerx_extra.wkt | |
opening /amp/gw/sw/share/gdal/ecw_cs.wkt | |
opening /amp/gw/sw/share/gdal/epsg.wkt | |
including: /amp/gw/sw/share/gdal/esri_extra.wkt | |
opening /amp/gw/sw/share/gdal/esri_extra.wkt | |
including: /amp/gw/sw/share/gdal/cubewerx_extra.wkt | |
opening /amp/gw/sw/share/gdal/cubewerx_extra.wkt | |
opening /amp/gw/sw/share/gdal/esri_extra.wkt | |
opening /amp/gw/sw/share/gdal/esri_StatePlane_extra.wkt | |
opening /amp/gw/sw/share/gdal/esri_Wisconsin_extra.wkt |
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
opening C:\Program Files\GDAL\gdal-data\cubewerx_extra.wkt | |
opening C:\Program Files\GDAL\gdal-data\ecw_cs.wkt | |
opening C:\Program Files\GDAL\gdal-data\epsg.wkt | |
including: C:\Program Files\GDAL\gdal-data\esri_extra.wkt | |
opening C:\Program Files\GDAL\gdal-data\esri_extra.wkt | |
including: C:\Program Files\GDAL\gdal-data\cubewerx_extra.wkt | |
opening C:\Program Files\GDAL\gdal-data\cubewerx_extra.wkt | |
opening C:\Program Files\GDAL\gdal-data\esri_extra.wkt | |
opening C:\Program Files\GDAL\gdal-data\esri_StatePlane_extra.wkt | |
opening C:\Program Files\GDAL\gdal-data\esri_Wisconsin_extra.wkt |
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
# -*- coding: utf-8 -*- | |
import os | |
import re | |
re_fn = re.compile(r'(.+?\.)(f|for|f90|fpp)$') | |
# sdir = '/home/mwtoews/src/GWM-2005/src' | |
sdir = '.' | |
fn_lines = {} |
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
TEST10 | |
R8_UNI computes pseudorandom values. | |
Two seeds, S1 and S2, are used. | |
R S1 S2 | |
12345 34567 | |
0.575025 493972830 1406600364 | |
0.945577 390105768 506978341 |
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
/********************************************************************** | |
* | |
* PostGIS - Spatial Types for PostgreSQL | |
* http://postgis.net | |
* | |
* PostGIS is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 2 of the License, or | |
* (at your option) any later version. | |
* |
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
/********************************************************************** | |
* | |
* PostGIS - Spatial Types for PostgreSQL | |
* http://postgis.net | |
* | |
* PostGIS is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 2 of the License, or | |
* (at your option) any later version. | |
* |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Download pest++ binaries, and install them in ./bin | |
""" | |
import os | |
import requests | |
import sys | |
import urllib |
OlderNewer