Hi,
I am calling the BAG database from R with the sf-package. There are multiple layers which I can extract
- BAG
- ligplaats
- standplaats
- pand
- verblijfsobject
- woonplaats
I don’t have any problems with extracting the layers standplaats and ligplaats, however if I want to extract the layer BAG or pand. I did not try verblijfsobject or woonplaats yet.
If I extract BAG, I will get the following error:
1: In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
GDAL Error 1: HTTP error code : 500
2: In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
GDAL Error 1: Error returned by server : HTTP error code : 500 (0)
If I extract Pand, I will get another error:
Error in CPL_read_ogr(dsn, layer, query, as.character(options), quiet, : attempt to set index 1244200/1244200 in SET_STRING_ELT In addition: Warning messages: 1: In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, : GDAL Error 1: HTTP error code : 502 2: In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, : GDAL Error 1: Error returned by server : HTTP error code : 502 (0)
Does anyone know how to solve these errors?