Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CriticalInfrastructureFeature ¶
type CriticalInfrastructureFeature struct { Attributes CriticalInfrastructureAttributes `json:"properties"` Geometry geography.GeoJsonGeometry `json:"geometry"` }
func (CriticalInfrastructureFeature) Compute ¶
func (c CriticalInfrastructureFeature) Compute(h hazards.HazardEvent) (consequences.Result, error)
func (CriticalInfrastructureFeature) Location ¶
func (c CriticalInfrastructureFeature) Location() geography.Location
type CriticalInfrastructureReturn ¶
type CriticalInfrastructureReturn struct {
Features []CriticalInfrastructureFeature `json:"features"`
}
type HsipProvider ¶
type HsipProvider struct {
FilterList []Layer
}
func InitHsipProvider ¶
func InitHsipProvider(list []Layer) HsipProvider
func (HsipProvider) ByBbox ¶
func (h HsipProvider) ByBbox(bbox geography.BBox, sp consequences.StreamProcessor)
func (HsipProvider) ByFips ¶
func (h HsipProvider) ByFips(fipscode string, sp consequences.StreamProcessor)
type Layer ¶
type Layer int
const ( Hospitals Layer = iota //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Hospital/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson PowerPlants //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Plants_gdb/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson FireStations //Fire_Station WasteWater //Wastewater LawEnforcement //Local_Law_Enforcement_Locations EmergencyMedicalServices //Emergency_Medical_Service_(EMS)_Stations_gdb // services1.arcgis.com HIFLD additions BRSandEBSTransmitters //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Broadband_Radio_Service_(BRS)_and_Educational_Broadband_Service_(EBS)_Transmitters/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson Broadband Radio Service (BRS) and Educational Broadband Service (EBS) Transmitters CellularTowers //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Cellular_Towers_New/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson DialysisCenters //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Dialysis_Centers/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson EPAandFRSPowerPlants //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Environmental_Protection_Agency_EPA_Facility_Registry_Service_FRS_Power_Plants/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson FacilityInterests //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Facility_Interest/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson GeneratingUnits //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/GeneratingUnits1/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson HurricaneEvacuationRoutes //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Hurricane_Evacuation_Routes/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson LandMobileBroadcastTowers //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Land_Mobile_Broadcast_Towers/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson LandMobileCommercialTransmissionTowers //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Land_Mobile_Commercial_Towers/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson LocalEmergencyOperationsCenterEOC //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Land_Mobile_Commercial_Towers/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson LocalLawEnforcementLocations //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Local_Law_Enforcement_Locations/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson MicrowaveServiceTowers //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Microwave_Service_Towers_New/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson NursingHomes //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/NursingHomes/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson PagingTransmissionTowers //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Paging_Transmission_Towers/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson Pharmacies //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Paging_Transmission_Towers/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson // polygon //PSAP911ServiceAreaBoundaries //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/PSAP_911_Service_Area_Boundaries/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson PublicHealthDepartments //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Public_Health_Departments/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson PublicRefrigeratedWarehouses //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Public_Refrigerated_Warehouses/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson UrgentCareFacilities //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Urgent_Care_Facilities/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson VeteransHealthAdministrationFacilities //https://services1.arcgis.com/Hp6G80Pky0om7QvQ/arcgis/rest/services/Veterans_Health_Administration_Medical_Facilities/FeatureServer/0/query?outFields=*&where=1%3D1&f=geojson )
Parameter types describe different parameters for hazards
func (Layer) OccupancyType ¶
Click to show internal directories.
Click to hide internal directories.