tests/testthat/get_apicarto_rpg/apicarto.ign.fr/api/rpg/v2-24fbfb.R

structure(list(method = "GET", url = "https://apicarto.ign.fr/api/rpg/v2?annee=2021&geom=%7B%22type%22%3A%22Polygon%22%2C%22coordinates%22%3A%5B%5B%5B-4.3393001082897245%2C47.81619823814049%5D%2C%5B-4.338217168202282%2C47.81525343785513%5D%2C%5B-4.337641054092403%2C47.81437984352501%5D%2C%5B-4.337351893251393%2C47.81344399282728%5D%2C%5B-4.337362718730278%2C47.8124881157205%5D%2C%5B-4.338094353680603%2C47.81089633853379%5D%2C%5B-4.340884982553697%2C47.80810552991232%5D%2C%5B-4.342787980210825%2C47.80705427264062%5D%2C%5B-4.34409059177978%2C47.80668767468769%5D%2C%5B-4.3454784633373%2C47.80651366472353%5D%2C%5B-4.346889622623216%2C47.806540012760856%5D%2C%5B-4.348261058296523%2C47.806765542293604%5D%2C%5B-4.350383758358471%2C47.807604425486446%5D%2C%5B-4.351549692509516%2C47.808495117541916%5D%2C%5B-4.352329200930423%2C47.80956024925557%5D%2C%5B-4.353637204194039%2C47.81448619889933%5D%2C%5B-4.353650577248104%2C47.81542863244487%5D%2C%5B-4.3533722242703465%2C47.81635227202171%5D%2C%5B-4.3528143407997595%2C47.81721660141458%5D%2C%5B-4.3520013872683085%2C47.817983704272116%5D%2C%5B-4.350681763838624%2C47.81875511813558%5D%2C%5B-4.349110271675698%2C47.819269684302746%5D%2C%5B-4.34739441215152%2C47.81949220114271%5D%2C%5B-4.345651569874058%2C47.81940744590973%5D%2C%5B-4.344318140017481%2C47.81912159874729%5D%2C%5B-4.343102373478192%2C47.8186549505022%5D%2C%5B-4.3393001082897245%2C47.81619823814049%5D%5D%5D%7D&code_cultu=MIE", 
    status_code = 200L, headers = structure(list(Date = "Mon, 09 Sep 2024 07:16:30 GMT", 
        `Content-Type` = "application/json; charset=utf-8", `Content-Length` = "1843", 
        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/\"733-oMphFf+/h93nuakNQxSV/SZyu94\"", 
        `Strict-Transport-Security` = "max-age=31536000; includeSubDomains"), class = "httr2_headers"), 
    body = charToRaw("{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\":\"parcelles_graphiques.9786645\",\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[-4.34329977,47.8158944],[-4.34212416,47.81589625],[-4.34213258,47.81597684],[-4.34212312,47.81597684],[-4.34212698,47.81613015],[-4.34200998,47.81613924],[-4.34201008,47.81614288],[-4.34109924,47.81618369],[-4.34108839,47.81590033],[-4.34106472,47.81539525],[-4.34111027,47.8153104],[-4.34108075,47.81471715],[-4.34206049,47.81472983],[-4.34204838,47.81549898],[-4.34354791,47.81561275],[-4.34340689,47.81583258],[-4.34329977,47.8158944]]]]},\"geometry_name\":\"geom\",\"properties\":{\"id_parcel\":\"17086081\",\"surf_parc\":1.57,\"code_cultu\":\"MIE\",\"code_group\":\"2\",\"culture_d1\":\"\",\"culture_d2\":\"\"},\"bbox\":[-4.34354791,47.81471715,-4.34106472,47.81618369]},{\"type\":\"Feature\",\"id\":\"parcelles_graphiques.9787710\",\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[-4.3486319,47.81651966],[-4.34839019,47.8158946],[-4.34820657,47.81538203],[-4.34809023,47.81501057],[-4.34821273,47.81492874],[-4.34855012,47.81487522],[-4.34906563,47.81470272],[-4.34934541,47.81550745],[-4.34966661,47.81542767],[-4.35028122,47.81520688],[-4.35047346,47.81519546],[-4.35060841,47.81566808],[-4.35071998,47.81597709],[-4.35078476,47.81612983],[-4.35010799,47.8161709],[-4.3498595,47.81621261],[-4.34976622,47.81626774],[-4.34975194,47.81639779],[-4.34906113,47.8164873],[-4.3486319,47.81651966]]]]},\"geometry_name\":\"geom\",\"properties\":{\"id_parcel\":\"2932818\",\"surf_parc\":2.33,\"code_cultu\":\"MIE\",\"code_group\":\"2\",\"culture_d1\":\"\",\"culture_d2\":\"\"},\"bbox\":[-4.35078476,47.81470272,-4.34809023,47.81651966]}],\"totalFeatures\":2,\"numberMatched\":2,\"numberReturned\":2,\"timeStamp\":\"2024-09-09T07:16:30.243Z\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:EPSG::4326\"}},\"bbox\":[-4.35078476,47.81470272,-4.34106472,47.81651966]}"), 
    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 April 4, 2025, 5:23 a.m.