tests/testthat/get_apicarto_cadastre/apicarto.ign.fr/api/cadastre/parcelle-ec5c6a.R

structure(list(method = "GET", url = "https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=29158&section=AW&numero=0001&source_ign=PCI&_start=0&_limit=500", 
    status_code = 200L, headers = structure(list(Date = "Sun, 11 Aug 2024 14:49:00 GMT", 
        `Content-Type` = "application/json; charset=utf-8", `Content-Length` = "1187", 
        Connection = "keep-alive", `X-Powered-By` = "Express", 
        `Access-Control-Allow-Origin` = "*", `Cache-Control` = "private, no-cache, no-store, must-revalidate", 
        Expires = "-1", Pragma = "no-cache", Vary = "Origin", 
        `Access-Control-Allow-Credentials` = "true", ETag = "W/\"4a3-dJ/SSR012ynwovN4XC+uW3oSpco\"", 
        `Strict-Transport-Security` = "max-age=31536000; includeSubDomains"), class = "httr2_headers"), 
    body = charToRaw("{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\":\"parcelle.151941\",\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[-4.36540003,47.80495784],[-4.36551641,47.80496985],[-4.36556016,47.80498436],[-4.36593577,47.80530355],[-4.3660456,47.80540944],[-4.36614341,47.80551374],[-4.36615631,47.8055612],[-4.36606813,47.80559966],[-4.36596072,47.8056359],[-4.36582072,47.80567708],[-4.36569657,47.80570678],[-4.36562452,47.80560339],[-4.36564612,47.80555123],[-4.365625,47.80543875],[-4.36559038,47.80536916],[-4.36554271,47.80531965],[-4.3655415,47.80529251],[-4.3655967,47.80524845],[-4.36555297,47.8051703],[-4.36554828,47.80516165],[-4.36540003,47.80495784]]]]},\"geometry_name\":\"geom\",\"properties\":{\"numero\":\"0001\",\"feuille\":1,\"section\":\"AW\",\"code_dep\":\"29\",\"nom_com\":\"Penmarch\",\"code_com\":\"158\",\"com_abs\":\"000\",\"code_arr\":\"000\",\"idu\":\"29158000AW0001\",\"code_insee\":\"29158\",\"contenance\":1968},\"bbox\":[-4.36615631,47.80495784,-4.36540003,47.80570678]}],\"totalFeatures\":1,\"numberMatched\":1,\"numberReturned\":1,\"timeStamp\":\"2024-08-11T14:49:00.701Z\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:EPSG::4326\"}},\"bbox\":[-4.36615631,47.80495784,-4.36540003,47.80570678]}"), 
    request = structure(list(url = "https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=29158&section=AW&numero=0001&source_ign=PCI&_start=0&_limit=500", 
        method = NULL, headers = list(), body = NULL, fields = list(), 
        options = list(ssl_verifypeer = 0), policies = list()), class = "httr2_request"), 
    cache = new.env(parent = emptyenv())), class = "httr2_response")

Try the happign package in your browser

Any scripts or data that you put into this service are public.

happign documentation built on Sept. 11, 2024, 7:17 p.m.