Skip to content

Instantly share code, notes, and snippets.

View ustroetz's full-sized avatar

Uli Stroetz ustroetz

View GitHub Profile
@ustroetz
ustroetz / areaOfInterest.geojson
Created March 18, 2014 09:44
Area of interest
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Name: Ulrich Stroetz (U102778)
# Date: 2/17/2013
# Purpose: Add fields
# Import system modules
import arcpy
# Input Feature Class)
inputFC = arcpy.GetParameterAsText(0)
import arcpy
# Get the feature name to work with
in_featureclass = arcpy.GetParameterAsText(0)
# Set local variables
field_Name = "ACRES"
field_Type = "DOUBLE"
field_Precision = 10 # total number of digits stored
field_Scale = 8 # number of decimal places
var bikeRacks =
{
"type": "FeatureCollection",
"generator": "overpass-turbo",
"copyright": "The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.",
"timestamp": "2013-10-24T17:13:01Z",
"features": [
{
"type": "Feature",
"id": "node/297827803",