-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I am trying to download worldpop data for the city of Los Angeles. My polygon's CRS is WGS 84. When I execute:
setwd("C:/Users/Geography/Desktop/test")
wpCPRPopulation (year = 2018,
shapeFilePath = "C:/Users/Geography/Desktop/test/lc_wgs.shp",
verbose = TRUE)
I am getting this error:
Year: 2018
Path to shape file: C:/Users/Geography/Desktop/test
Shape file name: lc_wgs
Reading layer `lc_wgs' from data source
`C:\Users\Geography\Desktop\test\lc_wgs.shp' using driver `ESRI Shapefile'
Simple feature collection with 1 feature and 1 field
Geometry type: POLYGON
Dimension: XY
Bounding box: xmin: -118.6508 ymin: 34.05007 xmax: -118.3762 ymax: 34.28575
Geodetic CRS: WGS 84
Start sending polygon to https://api.worldpop.org
[==================================================] 100% sending 1's out of 1. Processing Time: 00:00:00
Error in curl::curl_fetch_memory(url, handle = handle) :
Send failure: Connection was reset
Why that error and how can I download data for the polygon I provide? I am using R 4.3.1, RStudio 2023.06.1 Build 524 and Windows 10. Also, I can provide the shp if needed.
Metadata
Metadata
Assignees
Labels
No labels