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

structure(list(method = "GET", url = "https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=29158&section=BR&numero=0001&source_ign=PCI&_start=0&_limit=500", 
    status_code = 200L, headers = structure(list(Date = "Sun, 11 Aug 2024 14:49:01 GMT", 
        `Content-Type` = "application/json; charset=utf-8", `Content-Length` = "831", 
        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/\"33f-r9nVWgX4oED3ZO0twKE6nhQykdg\"", 
        `Strict-Transport-Security` = "max-age=31536000; includeSubDomains"), class = "httr2_headers"), 
    body = charToRaw("{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\":\"parcelle.170267\",\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[-4.31528505,47.80679056],[-4.31583175,47.80691371],[-4.31598088,47.80695599],[-4.31582895,47.80707044],[-4.31570294,47.80713744],[-4.31521329,47.80731805],[-4.31528505,47.80679056]]]]},\"geometry_name\":\"geom\",\"properties\":{\"numero\":\"0001\",\"feuille\":1,\"section\":\"BR\",\"code_dep\":\"29\",\"nom_com\":\"Penmarch\",\"code_com\":\"158\",\"com_abs\":\"000\",\"code_arr\":\"000\",\"idu\":\"29158000BR0001\",\"code_insee\":\"29158\",\"contenance\":1770},\"bbox\":[-4.31598088,47.80679056,-4.31521329,47.80731805]}],\"totalFeatures\":1,\"numberMatched\":1,\"numberReturned\":1,\"timeStamp\":\"2024-08-11T14:49:01.308Z\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:EPSG::4326\"}},\"bbox\":[-4.31598088,47.80679056,-4.31521329,47.80731805]}"), 
    request = structure(list(url = "https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=29158&section=BR&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.