View downtown_raleigh.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raleigh_asr.csv
lat lng
35.868777777771 -78.716638888888
35.722222222215 -78.651111111111
35.78833333333 -78.719999999993
35.885722222218 -78.564611111111
35.898611111107 -78.725555555548
35.787138888885 -78.72691666666
35.789194444441 -78.679027777771
35.813888888888 -78.601666666666
35.905 -78.582777777771
View geopandas-units-possible-solution.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Raleigh_Parks.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View arcpy_extract_services_py3.py
import arcpy
import json
import urllib
arcpy.env.overwriteOutput = True
baseURL = "http://services.gis.ca.gov/arcgis/rest/services/Environment/Wildfires/MapServer/0"
fields = "*"
out_data = "H:/cal_data/data.gdb/testdata"
# Get record extract limit
View AccessPoints_LOS_20180301.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View esrijson.json
{
"displayFieldName": "NAME",
"fieldAliases": {
"OBJECTID": "OBJECTID",
"NAME": "NAME",
"PARK_TYPE": "PARK_TYPE",
"FILE_NUMBER": "FILE_NUMBER",
"ID_NUMBER": "ID_NUMBER",
"DEVELOPED": "DEVELOPED",
"MAP_ACRES": "MAP_ACRES",
View index.html
<html>
<head>
<meta charset=utf-8 />
<title>route to the closest facility</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<!-- Load Leaflet from CDN-->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.2.0"></script>
View randomFCSample.py
import arcpy
import numpy as np
def randomFCSample(fc, fd='sample_fd', sample_field='OBJECTID', sample_pct=10):
count_class = arcpy.GetCount_management(fc)
count = int(count_class[0])
random_vals = np.random.choice(count, int(count*(sample_pct/100)))
arcpy.MakeFeatureLayer_management(fc,
fd + "_" + str(sample_pct) + 'pct',
sample_field + ' IN ' + str(tuple(random_vals)))
View test_track.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.