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

structure(list(method = "GET", url = "https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=29135&section=AW&numero=0010&source_ign=PCI&_start=0&_limit=500", 
    status_code = 200L, headers = structure(list(Date = "Sun, 11 Aug 2024 14:49:03 GMT", 
        `Content-Type` = "application/json; charset=utf-8", `Content-Length` = "881", 
        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/\"371-nqL6hgZ62Y0fhAXKkyOlODZY3hw\"", 
        `Strict-Transport-Security` = "max-age=31536000; includeSubDomains"), class = "httr2_headers"), 
    body = charToRaw("{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\":\"parcelle.471063\",\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[-4.18957852,47.80267989],[-4.18935278,47.80270083],[-4.18932961,47.80259426],[-4.18939296,47.80258358],[-4.18945902,47.80258105],[-4.18949477,47.80258355],[-4.18952261,47.80260191],[-4.18955268,47.80263476],[-4.18957852,47.80267989]]]]},\"geometry_name\":\"geom\",\"properties\":{\"numero\":\"0010\",\"feuille\":1,\"section\":\"AW\",\"code_dep\":\"29\",\"nom_com\":\"Loctudy\",\"code_com\":\"135\",\"com_abs\":\"000\",\"code_arr\":\"000\",\"idu\":\"29135000AW0010\",\"code_insee\":\"29135\",\"contenance\":180},\"bbox\":[-4.18957852,47.80258105,-4.18932961,47.80270083]}],\"totalFeatures\":1,\"numberMatched\":1,\"numberReturned\":1,\"timeStamp\":\"2024-08-11T14:49:03.311Z\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:EPSG::4326\"}},\"bbox\":[-4.18957852,47.80258105,-4.18932961,47.80270083]}"), 
    request = structure(list(url = "https://apicarto.ign.fr/api/cadastre/parcelle?code_insee=29135&section=AW&numero=0010&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.