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
// Arcade expressions to convert point coordinates from Web Mercator to WGS84 Decimal Degrees | |
// Based on the LibreCalc expressions found at https://wiki.openstreetmap.org/wiki/Mercator | |
// Latitude | |
(2 * Atan(Exp(Geometry($feature).y / 6378137)) - PI / 2) / (PI / 180) | |
// Longitude | |
Geometry($feature).x / (PI / 180) / 6378137 |
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
license: mit |
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
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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
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
{ | |
"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", |
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
<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> |