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
-- PostGIS function to get the side of a point or geometry from a line | |
-- ***** side function | |
-- ***** does not support m values. Only the digitizing "orientaiton" of the line. | |
-- -- inspired by: https://gis.stackexchange.com/a/156585 | |
CREATE OR REPLACE FUNCTION st2_side ( | |
geom_line geometry, | |
geom_other geometry | |
) | |
RETURNS text AS | |
$BODY$ |
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
""" | |
SMTP->SES Relay Server | |
Author: Brian Humphrey, Loku.com | |
E-mail: [email protected] | |
Date: August 17, 2011 | |
A Lightweight SMTP server that accepts all messages and relays them to SES | |
Credit to http://www.doughellmann.com/PyMOTW/smtpd/ for a tutorial on smtpd with asyncore |
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
#Inspired by the code present in this answer: | |
#http://gis.stackexchange.com/a/26944/2043 | |
import arcpy,os | |
def main(): | |
InFolder = arcpy.GetParameterAsText(0) | |
Dest=arcpy.GetParameterAsText(1) | |
arcpy.env.workspace=InFolder |