This file contains hidden or 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
| class FeatureClass(object): | |
| def __init__(self, conn, database, schema, table_name): | |
| self.conn = conn | |
| self.database = database | |
| self.schema = schema | |
| self.table_name = table_name | |
| self._set_registration_id() | |
| self._set_geometry_table() | |
| @property |
This file contains hidden or 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 os | |
| import sys | |
| import arcpy | |
| from datetime import datetime | |
| def has_no_index(shp_filepath): | |
| sbx = shp_filepath[0:-3] + 'sbx' | |
| sbn = shp_filepath[0:-3] + 'sbn' | |
| return not ( os.path.exists(sbx) and os.path.exists(sbn) ) |
This file contains hidden or 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 numpy as np | |
| import rasterio | |
| """ | |
| 2014-02-13 | |
| Bryan Luman | |
| Use it however you like at your own risk | |
| Problem: | |
| I have a huge DEM converted from LiDAR LAS points. I'd like to make it slightly |