Skip to content

Instantly share code, notes, and snippets.

Jacob Wasilkowski jwasilgeo

Block or report user

Report or block jwasilgeo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jwasilgeo
jwasilgeo / README.md
Last active Dec 5, 2018
top_30_longest_flights_2018
View README.md
@jwasilgeo
jwasilgeo / convert_feature_class_to_features_list.py
Created Oct 3, 2018
Convert features in an Esri GDB feature class to an Esri JSON-style list of features, represented as a list of feature dictionaries.
View convert_feature_class_to_features_list.py
def convert_feature_class_to_features_list(source_feature_class):
# convert feature class features to Esri features list
# (JSON represented as a list of feature dictionaries)
# ignore 'Geometry' field type and manually ask for JSON-formatted geometry with 'SHAPE@JSON' below
# you could also add the 'OID' field type to ignore if you need to add these features to a hosted feature service
field_types_to_ignore = ['Geometry']
# establish the out fields, minus any fields that need to be ignored
out_fields = [
View F1_Circuits_2018_topojson.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jwasilgeo
jwasilgeo / .block
Last active Feb 1, 2018 — forked from mbostock/.block
Bring Up State
View .block
license: gpl-3.0
height: 600
border: no
@jwasilgeo
jwasilgeo / .block
Last active Sep 14, 2017
When the Contours Go Marching In
View .block
license: gpl-3.0
border: no
@jwasilgeo
jwasilgeo / .block
Last active Sep 3, 2017 — forked from mbostock/.block
Blurry Choropleth
View .block
license: gpl-3.0
height: 600
border: no
@jwasilgeo
jwasilgeo / .block
Last active Aug 29, 2017
TopoJSON with Random Gaussian Blurs (counties)
View .block
license: gpl-3.0
height: 600
border: no
@jwasilgeo
jwasilgeo / .block
Last active Aug 29, 2017
TopoJSON with Random Gaussian Blurs (states)
View .block
license: gpl-3.0
height: 600
border: no
@jwasilgeo
jwasilgeo / angular2-esri-loader instructions.md
Last active Nov 2, 2017
angular2-esri-loader instructions
View angular2-esri-loader instructions.md
@jwasilgeo
jwasilgeo / dojoAmdModulesToDeepObject.js
Last active Feb 24, 2016
convert an array of Dojo AMD module paths and loaded modules to a deeply nested object
View dojoAmdModulesToDeepObject.js
function createModulesObject(modulePaths, modules) {
const targetObject = {};
modulePaths.forEach(function(modulePathString, idx) {
_createNestedProperties(modulePathString.split('/'), targetObject, modules[idx]);
});
return targetObject;
}
function _createNestedProperties(modulePathArray, targetObject, moduleToAssign) {
const modulePathPart = modulePathArray.shift();
You can’t perform that action at this time.