Dorieh Data Platform

Contents

  • Introduction
  • What is Data Platform
  • Data Domains
  • Data Processing Pipelines
  • Python Packages
    • General purpose utilities
    • Data platform components
    • GIS utilities
      • GIS Library Overview
      • Shape files Downloader
        • US Census Shapefiles collections
        • Downloader Python Modules
        • Shapefiles-based computations
        • A Point in raster tools
        • GIS-related constants (enums)
    • Health data manipulation tools
    • EPA tools
    • Raster data tools (climate and exposure)
    • Census data manipulation tools
  • Examples
  • Data Platform Internals
  • Database Testing Framework
  • Adding more data
  • Executing containerized apps
  • Terms and Acronyms
  • Indices
Dorieh Data Platform
  • Python Packages Included in the Platform
  • Dorieh GIS python package
  • GIS Related Enums
  • View page source

GIS Related Enums

class CensusShapeCollection(value)[source]

Collections that are part of the Topologically Integrated Geographic Encoding and Referencing (TIGER) system, a digital database of geographic features, such as roads, rivers, and legal and statistical geographic areas. Each shape file in these collections contains a series of polygons, each corresponding to a specific geographical area.

See also:

genz = 'genz'

TIGER/GENZ collection, most providing simplified representations of selected geographic areas, are specifically designed for small scale thematic mapping and improved visual representations.

tiger = 'tiger'

TIGER/Line collection, recommended for calculations.

class Geography(value)[source]

Type of geography

zip = 'zip'
zcta = 'zcta'
county = 'county'
custom = 'custom'
all = 'all'
class RasterizationStrategy(value)[source]

Rasterization Strategy to rasterize a vector.

While downscale strategy provides the best accuracy it requires significantly more resources, especially RAM.

default = 'default'

The default strategy is to include all pixels along the line render path (for lines), or cells where the center point is within the polygon (for polygons).

all_touched = 'all_touched'

Alternate, all_touched strategy, rasterizes the geometry by including all pixels that it touches.

combined = 'combined'

Calculate statistics using both default and all_touched strategy and combine results, e.g. using arithmetic means

downscale = 'downscale'

A combination of “default” rasterization strategy with affine transformation with downscaling. Downscaling factor is computed based on the grid size and runtime memory available to the process.

Effectively, the grid is interpolated with intermediate nodes, increasing the number of nodes by the factor of 25 (5 x 5). Hence, the accuracy is better, especially for complex and small shapes, however, the aggregation will require 25 times more memory (RAM) and will run slower.

See get_affine_transform

auto = 'auto'

A combination of “all_touched” rasterization strategy with affine transformation with downscaling. Downscaling factor is computed based on the grid size and runtime memory available to the process.

Effectively, the grid is interpolated with intermediate nodes, increasing the number of nodes by the factor of 25 (5 x 5). Hence, the accuracy is better, especially for complex and small shapes, however, the aggregation will require 25 times more memory (RAM) and will run slower.

See get_affine_transform

Previous Next

© Copyright 2021-2024, Harvard University.

Built with Sphinx using a theme provided by Read the Docs.