getGIS {RTL} | R Documentation |
Extract and convert GIS data from a URL
Description
Returns a SpatialPointsDataFrame from a shapefile URL. @section Examples with EIA and Government of Alberta
from https://www.eia.gov/maps/layer_info-m.php :
crudepipelines <- getGIS(url = "https://www.eia.gov/maps/map_data/CrudeOil_Pipelines_US_EIA.zip")
refineries <- getGIS(url = "https://www.eia.gov/maps/map_data/Petroleum_Refineries_US_EIA.zip")
from https://gis.energy.gov.ab.ca/Geoview/OSPNG
AB <- getGIS(url = "https://gis.energy.gov.ab.ca/GeoviewData/OS_Agreements_Shape.zip")
Usage
getGIS(url = "https://www.eia.gov/maps/map_data/CrudeOil_Pipelines_US_EIA.zip")
Arguments
url |
URL of the zipped shapefile. |
Value
SpatialPointsDataFrame. SpatialPolygonsDataFrame
Author(s)
Philippe Cote
Examples
## Not run:
getGIS(url = "https://www.eia.gov/maps/map_data/CrudeOil_Pipelines_US_EIA.zip")
## End(Not run)
[Package RTL version 1.3.5 Index]