tests/testthat/get_loc_info/wxs.ign.fr/agriculture/geoportail/r/wms-670772.R

structure(list(method = "GET", url = "https://wxs.ign.fr/agriculture/geoportail/r/wms?service=WMS&version=1.3.0&request=GetFeatureInfo&format=image%2Fgeotiff&query_layers=LANDUSE.AGRICULTURE2021&layers=LANDUSE.AGRICULTURE2021&styles=&width=1&height=1&crs=EPSG%3A4326&bbox=47.812%2C-4.345%2C47.814%2C-4.343&I=1&J=1&info_format=application%2Fjson", 
    status_code = 200L, headers = structure(list(date = "Thu, 03 Aug 2023 10:22:13 GMT", 
        `content-type` = "application/json;charset=UTF-8", `transfer-encoding` = "chunked", 
        `content-disposition` = "filename=\"file\"", `wl-original-content-type` = "application/json;charset=UTF-8", 
        `cache-control` = "public, max-age=1814400", `access-control-allow-methods` = "GET, POST", 
        `access-control-max-age` = "43200", `access-control-allow-origin` = "*"), class = "httr2_headers"), 
    body = charToRaw("{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"id\":\"rpg_2021_bdd_symbo_wld_wm_v1-parcelles_graphiques.9787807\",\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[-4.35132816,47.82223378],[-4.35114315,47.82219388],[-4.3509142,47.8221321],[-4.35051311,47.82205147],[-4.35010337,47.82201177],[-4.34964946,47.82202016],[-4.34909364,47.82206013],[-4.34881778,47.82208971],[-4.34860933,47.82212512],[-4.34830536,47.82220765],[-4.34788117,47.82235661],[-4.34767828,47.82231106],[-4.34751657,47.8222973],[-4.34739495,47.8222236],[-4.34714601,47.82194763],[-4.34678923,47.82162524],[-4.34576139,47.82070956],[-4.34534183,47.8202764],[-4.34508501,47.81998316],[-4.34488903,47.81973598],[-4.34466827,47.81943784],[-4.34457798,47.81926452],[-4.34454573,47.81908663],[-4.34455657,47.81886011],[-4.3445838,47.81784699],[-4.3445679,47.81693839],[-4.34462139,47.81689413],[-4.34488905,47.81687007],[-4.34705767,47.81672922],[-4.34780464,47.81667497],[-4.34889135,47.81664976],[-4.35044472,47.81636191],[-4.3510719,47.81637679],[-4.35178623,47.81646176],[-4.35269943,47.81619416],[-4.35298173,47.81602274],[-4.35292893,47.81566885],[-4.35315846,47.8155335],[-4.35334575,47.81545214],[-4.35396301,47.81544476],[-4.35373951,47.81611406],[-4.35314759,47.81616579],[-4.35343425,47.81681501],[-4.3535511,47.81706105],[-4.35366906,47.81714482],[-4.35456303,47.81638932],[-4.3550065,47.81594832],[-4.35536801,47.81609949],[-4.35514558,47.81638908],[-4.35480169,47.81667025],[-4.35420112,47.81726523],[-4.35391112,47.81749915],[-4.35381454,47.81758499],[-4.35371854,47.81774252],[-4.3536591,47.81787699],[-4.35366576,47.8180958],[-4.35365467,47.81866236],[-4.35419078,47.82086375],[-4.35447866,47.8220248],[-4.35306807,47.82209629],[-4.35192225,47.82219114],[-4.35132816,47.82223378]]]]},\"geometry_name\":\"the_geom\",\"properties\":{\"nom_cultu\":\"Prairie permanente - herbe prédominante (ressources fourragères ligneuses absentes ou peu présentes)\",\"code_cultu\":\"PPH\",\"code_group\":\"18\"}}],\"totalFeatures\":\"unknown\",\"numberReturned\":1,\"timeStamp\":\"2023-08-03T10:22:13.212Z\",\"crs\":{\"type\":\"name\",\"properties\":{\"name\":\"urn:ogc:def:crs:EPSG::4326\"}}}")), 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.