Skip to content

Instantly share code, notes, and snippets.

# code source: GIS stack exchange: https://gis.stackexchange.com/questions/266897/how-to-get-around-the-1000-objectids-limit-on-arcgis-server?newreg=e085133f1a9d475b99c094e1c497a2a5
import numpy as np
import pandas as pd
import geopandas as gpd
import urllib.parse
import requests
def query_arcgis_feature_server(url_feature_server=''):
'''
@emilyeros
emilyeros / counter.py
Last active March 11, 2020 17:21
Emily pi wheel script
import gpiozero
from signal import pause
print("i have started!")
# Defines GPIO pins for buttons on wheel handle. These handle default to high voltage, drops when button pressed. Only the clear button is currently in use.
# mft = gpiozero.DigitalInputDevice(16, pull_up=True)
# sm = gpiozero.DigitalInputDevice(26, pull_up=True)
# rm = gpiozero.DigitalInputDevice(20, pull_up=True)
@emilyeros
emilyeros / curblr_osmconf.ini
Created December 3, 2019 23:40
OSM config preset for converting into CurbLR GIS data
#
# Configuration file for OSM import
#
# put here the name of keys, or key=value, for ways that are assumed to be polygons if they are closed
# see http://wiki.openstreetmap.org/wiki/Map_Features
closed_ways_are_polygons=aeroway,amenity,boundary,building,craft,geological,historic,landuse,leisure,military,natural,office,place,shop,sport,tourism,highway=platform,public_transport=platform
# comment to avoid laundering of keys ( ':' turned into '_' )
attribute_name_laundering=yes
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.
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.
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.