Skip to content

Instantly share code, notes, and snippets.

View theduckylittle's full-sized avatar

Dan "Ducky" Little theduckylittle

  • Minneapolis, MN, USA
View GitHub Profile
@theduckylittle
theduckylittle / gist:c659413dc4fdcbcd793bd2148202332f
Created March 19, 2020 02:55
"OR" search with GeoMoose 3.5
app.registerService('search', SearchService, {
fields: [
{type: 'text', label: 'Owner Name', name: 'OWNER_NAME'},
{type: 'text', label: 'Street/Address', name: 'OWN_ADD_L1'},
{type: 'text', label: 'City/State/ZIP', name: 'OWN_ADD_L3'}
],
searchLayers: ['vector-parcels/parcels'],
validateFieldValues: function (fields) {
let nonEmpty = 0;
const validateFieldValuesResult = {
ducky@thinkduck /tmp $ cat test.geojson
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": { "smlint": 1 },
"geometry": {
"type" : "Point",
"coordinates" : [0, 0]
@theduckylittle
theduckylittle / gist:7537006
Created November 18, 2013 23:05
RFC 44 Proposal

RFC 44: XML Output for ogrinfo and gdalinfo

Author: Dan "Ducky" LittleBR Contact: danlittle at yahoo dot com BR

Summary

Add XML output to the ogrinfo and gdalinfo utilities.

Background

@theduckylittle
theduckylittle / gist:6076256
Created July 25, 2013 01:51
Basic Arduino loop() function
uint32_t counter = 0; /* ostensibly, OM */
char counter_buff[21];
/*
* cmd_byte
* One of:
* I - On
* O - Off