Skip to contents

Build Status codecov.io rstudio mirror downloads cran version

mregions - Get data from https://www.marineregions.org

Some data comes from the Flanders Marine Institute (VLIZ) geoserver

mregions is useful to a wide diversity of R users because you get access to all of the data MarineRegions has, which can help in a variety of use cases:

  • Visualize marine regions alone
  • Visualize marine regions with associated data paired with analysis
  • Use marine region geospatial boundaries to query data providers (e.g., OBIS (https://www.obis.org))
  • Geocode - get geolocation data from place names
  • Reverse Geocode - get place names from geolocation data

Install

Development version

devtools::install_github("ropensci/mregions")

Load Libraries

Get GeoJSON

example 1: Marine Ecoregions of the World (MEOW)

Get Data

Keys accessible from the Flanders Marine Institute (VLIZ) geoserver.

ecoregions_geoJSON <- mr_geojson(key = "Ecoregions:ecoregions", maxFeatures = 250)
length(ecoregions_geoJSON$features)
#> [1] 232

Plot Data

leaflet() %>%
  addProviderTiles(provider = 'OpenStreetMap') %>%
  addGeoJSON(geojson = ecoregions_geoJSON$features) %>%
  fitBounds(-160,-52,160,60)
map1

example 2: Maritime Boundaries (EEZ)

Get Data

eezboundaries_geoJSON <- mr_geojson(key = "MarineRegions:eez", maxFeatures = 1)

Plot Data

leaflet() %>%
  addProviderTiles(provider = 'OpenStreetMap') %>%
  addGeoJSON(geojson = eezboundaries_geoJSON$features) %>%
  fitBounds(39,11,83,-10)
map2

Get Shape

example 1: Marine Ecoregions of the World (MEOW)

Select region

ecoregions_shp <- mr_shp(key = "Ecoregions:ecoregions", maxFeatures = 250)
class(ecoregions_shp)
#> [1] "sf"         "tbl_df"     "tbl"        "data.frame"

Plot data

leaflet() %>%
  addProviderTiles(provider = 'OpenStreetMap') %>%
  addPolygons(data = ecoregions_shp)%>%
  fitBounds(-182,-79,178,83)
map4

example 2: Maritime Boundaries (EEZ)

Select region

eezboundaries_shp <- mr_shp(key = "MarineRegions:eez", maxFeatures = 1)

Plot data

leaflet() %>%
  addProviderTiles(provider = 'OpenStreetMap') %>%
  addPolygons(data = eezboundaries_shp)
map5

Convert to WKT

example 1: Marine Ecoregions of the World (MEOW)

From GeoJSON

ecoregions_geoJSON <- mr_geojson(key = "Ecoregions:ecoregions", maxFeatures = 250)
ecoregions_wkt_fromGeoJSON <- mr_as_wkt(ecoregions_geoJSON, fmt = 2)
class(ecoregions_wkt_fromGeoJSON)
#> [1] "character"
ecoregions_wkt_fromGeoJSON[1]
#> [1] "MULTIPOLYGON (((170.917 -49.6906,171.563 -50.1232,171.798 -50.4726,172.03 -50.7601,172.182 -51.0473,172.304 -51.2351,172.353 -51.3837,172.387 -51.4418,172.436 -51.7239,172.555 -52.1999,172.571 -52.5695,172.475 -53.3739,172.315 -53.8679,172.134 -54.1382,171.874 -54.586,171.712 -54.7702,171.593 -54.9486,171.358 -55.1618,170.918 -55.4277,170.772 -55.5355,170.614 -55.6107,170.482 -55.6821,170.389 -55.7154,170.229 -55.7576,169.896 -55.8151,169.29 -55.9346,169.155 -55.942,169.064 -55.9396,168.998 -55.9316,168.762 -55.9148,168.552 -55.8905,168.482 -55.8798,167.844 -55.6895,167.754 -55.6715,167.581 -55.5565,167.259 -55.3861,166.944 -55.1303,166.664 -54.9394,166.158 -54.2928,168.737 -49.6441,170.211 -49.6755,170.917 -49.6906),(169.125 -52.5761,169.162 -52.5781,169.186 -52.577,169.226 -52.5653,169.238 -52.5543,169.236 -52.539,169.217 -52.5283,169.21 -52.4858,169.209 -52.4658,169.212 -52.4582,169.208 -52.4442,169.174 -52.4433,169.164 -52.4458,169.003 -52.5042,169 -52.5189,169.008 -52.5361,169.017 -52.5481,169.028 -52.5592,169.113 -52.5742,169.125 -52.5761)))"

From shp object (using the sf package)

ecoregions_shp <- mr_shp(key = "Ecoregions:ecoregions", maxFeatures = 250)
ecoregions_shp_geom <- st_geometry(ecoregions_shp)
ecoregions_wkt_fromshp <- st_as_text(ecoregions_shp_geom)
ecoregions_wkt_fromshp[1]
#> [1] "MULTIPOLYGON (((170.9169 -49.6906, 171.563 -50.1232, 171.798 -50.47261, 172.0302 -50.76008, 172.1817 -51.0473, 172.3036 -51.23506, 172.3531 -51.3837, 172.3874 -51.44183, 172.4355 -51.72388, 172.5552 -52.19995, 172.5706 -52.56945, 172.4755 -53.37392, 172.3147 -53.8679, 172.1341 -54.13821, 171.8737 -54.58598, 171.7118 -54.77017, 171.5926 -54.94858, 171.358 -55.16183, 170.9178 -55.42768, 170.7718 -55.53547, 170.6138 -55.61074, 170.4823 -55.68208, 170.3887 -55.71538, 170.2292 -55.7576, 169.8963 -55.81512, 169.2905 -55.93462, 169.1551 -55.942, 169.0643 -55.93962, 168.9983 -55.93158, 168.7618 -55.91483, 168.5524 -55.89051, 168.4819 -55.87975, 167.844 -55.68949, 167.7536 -55.6715, 167.5815 -55.5565, 167.2593 -55.38606, 166.9435 -55.13026, 166.6638 -54.93936, 166.1577 -54.29278, 168.7368 -49.64412, 170.2105 -49.67554, 170.9169 -49.6906), (169.1247 -52.57611, 169.1617 -52.57805, 169.1855 -52.57696, 169.2262 -52.56528, 169.2382 -52.55431, 169.2362 -52.53904, 169.2169 -52.52834, 169.2097 -52.48584, 169.2094 -52.46579, 169.2123 -52.45819, 169.208 -52.44416, 169.1741 -52.44332, 169.1636 -52.44583, 169.0033 -52.50417, 169.0001 -52.51889, 169.0078 -52.53612, 169.0172 -52.54806, 169.0283 -52.55916, 169.113 -52.57417, 169.1247 -52.57611)))"

More detailed example using the Black Sea Ecoregion only

ecoregions_blacksea <- subset(ecoregions_shp, ecoregions_shp$ecoregion == "Black Sea")
class(ecoregions_blacksea)
#> [1] "sf"         "tbl_df"     "tbl"        "data.frame"

ecoregions_blacksea_geom <- st_geometry(ecoregions_blacksea) 
class(ecoregions_blacksea_geom)
#> [1] "sfc_MULTIPOLYGON" "sfc"

ecoregions_blacksea_wkt <- st_as_text(ecoregions_blacksea_geom)
class(ecoregions_blacksea_wkt)
#> [1] "character"
ecoregions_blacksea_wkt
#> [1] "MULTIPOLYGON (((29.06161 41.07999, 29.05535 41.08221, 29.05555 41.0825, 29.06839 41.12311, 29.03922 41.15454, 29.07101 41.17436, 29.1074 41.22156, 29.08888 41.24625, 29.04846 41.25555, 29.02888 41.24388, 28.93804 41.2561, 28.83499 41.28222, 28.7925 41.29721, 28.45805 41.41943, 28.33195 41.46944, 28.29291 41.48583, 28.26078 41.50207, 28.24277 41.50888, 28.21694 41.5236, 28.19722 41.53791, 28.13222 41.59417, 28.09055 41.63138, 28.07666 41.64777, 27.96764 41.82847, 27.96548 41.86361, 27.98773 41.89051, 28.03249 41.90916, 28.02833 41.93748, 28.01306 41.98222, 28.0218 41.99416, 28.00056 42.03708, 27.96861 42.07249, 27.93889 42.10305, 27.89916 42.13361, 27.85721 42.16416, 27.78055 42.22722, 27.75541 42.2543, 27.70389 42.36889, 27.70034 42.39528, 27.67917 42.41832, 27.61666 42.44721, 27.55388 42.44887, 27.5152 42.43514, 27.46499 42.44944, 27.44959 42.47298, 27.49583 42.53583, 27.51069 42.55222, 27.6325 42.63165, 27.73291 42.71111, 27.77194 42.71361, 27.80555 42.70805, 27.89409 42.70306, 27.89812 42.78402, 27.87917 42.8411, 27.90167 42.85555, 27.90388 42.89111, 27.89638 42.92499, 27.88639 43.01415, 27.88736 43.03694, 27.945 43.16721, 28.01583 43.22582, 28.05332 43.28083, 28.07167 43.32277, 28.08485 43.35707, 28.12721 43.39499, 28.15041 43.40445, 28.29972 43.42165, 28.33596 43.42165, 28.3825 43.41276, 28.40846 43.39846, 28.43139 43.38943, 28.45333 43.38528, 28.47945 43.39333, 28.52555 43.42582, 28.54166 43.43777, 28.55764 43.45332, 28.59249 43.50332, 28.60513 43.53396, 28.60041 43.56186, 28.57757 43.59165, 28.57 43.68971, 28.57639 43.73304, 28.58324 43.74777, 28.57944 43.76138, 28.58528 43.80081, 28.59499 43.83166, 28.61361 43.88165, 28.64722 43.95443, 28.66028 43.97555, 28.63277 44.15749, 28.62888 44.27194, 28.62959 44.29652, 28.6443 44.3277, 28.7518 44.42611, 28.80116 44.46146, 28.82832 44.47959, 28.84527 44.49721, 28.8768 44.53569, 28.91306 44.58805, 28.92777 44.61749, 28.80814 44.53143, 28.7575 44.51972, 28.76306 44.62558, 28.79652 44.63085, 28.81967 44.61695, 28.95736 44.68984, 28.97545 44.67218, 28.9485 44.63086, 28.97096 44.64402, 28.99086 44.68565, 28.95666 44.69847, 28.93002 44.70123, 28.90187 44.70651, 28.9104 44.69234, 28.90659 44.68631, 28.8493 44.64832, 28.79972 44.6402, 28.78993 44.6424, 28.78083 44.66096, 28.78208 44.69568, 28.79582 44.71638, 28.86596 44.74902, 28.90166 44.75541, 28.92694 44.77833, 28.94736 44.82665, 28.89374 44.86319, 28.86465 44.87881, 28.86919 44.94051, 28.9 44.96667, 28.98381 45.00575, 29.04444 45.00319, 29.1034 44.96329, 29.0675 44.94749, 29.04291 44.92416, 29.04971 44.84734, 29.06749 44.82276, 29.21416 44.79306, 29.25083 44.79583, 29.34418 44.79972, 29.39 44.80222, 29.45083 44.80889, 29.54944 44.82026, 29.60833 44.84541, 29.64138 44.98194, 29.66027 45.11276, 29.64111 45.17388, 29.62736 45.21436, 29.66432 45.2118, 29.66819 45.21012, 29.70861 45.21333, 29.73193 45.22623, 29.76041 45.32221, 29.75346 45.44943, 29.73299 45.47145, 29.67416 45.46554, 29.61916 45.48777, 29.59304 45.55707, 29.59611 45.68339, 29.63611 45.82068, 29.68138 45.80359, 29.68957 45.76857, 29.67722 45.73958, 29.67971 45.69623, 29.74263 45.62401, 29.78014 45.62889, 29.82277 45.64833, 29.85993 45.67559, 29.82569 45.68652, 29.79743 45.71492, 29.80214 45.73506, 29.93 45.81778, 29.9836 45.84318, 30.03014 45.83131, 30.04736 45.81276, 30.06333 45.79986, 30.14444 45.82055, 30.16361 45.82972, 30.24625 45.8736, 30.50916 46.09637, 30.65569 46.2536, 30.76513 46.37901, 30.79354 46.44533, 30.78 46.48137, 30.83278 46.54833, 30.94111 46.5825, 31.01527 46.6036, 31.05305 46.61193, 31.07333 46.61445, 31.1561 46.6236, 31.17695 46.62555, 31.18906 46.62455, 31.23735 46.61291, 31.26805 46.60804, 31.33701 46.60194, 31.41972 46.62541, 31.46999 46.6686, 31.50472 46.71652, 31.52083 46.73998, 31.59569 46.79708, 31.55054 46.71888, 31.51249 46.66985, 31.48784 46.65603, 31.47773 46.63196, 31.57562 46.60756, 31.5934 46.63117, 31.61493 46.64818, 31.64707 46.65333, 31.69193 46.64415, 31.71193 46.63804, 31.73888 46.62721, 31.81194 46.61568, 31.85972 46.62832, 31.9082 46.65359, 31.90708 46.73374, 31.89569 46.7518, 31.87193 46.77, 31.86382 46.79548, 31.87166 46.81707, 31.88791 46.83221, 31.94096 46.85471, 31.96417 46.88999, 31.96503 46.92537, 31.93638 46.9211, 31.90757 46.92396, 31.83937 47.01291, 31.84235 47.04152, 31.87027 47.07992, 31.81652 47.17791, 31.79888 47.1911, 31.75485 47.20165, 31.72666 47.23176, 31.75151 47.25236, 31.83999 47.17971, 31.98083 47.0075, 32.01124 46.9261, 32.00804 46.90499, 31.99305 46.86887, 31.97972 46.84513, 31.94665 46.82055, 31.93512 46.79402, 31.93596 46.76403, 31.94875 46.74068, 31.96642 46.72681, 31.97083 46.6936, 31.99305 46.65389, 32.0136 46.63429, 32.14186 46.56027, 32.18471 46.58082, 32.24312 46.6011, 32.2811 46.5779, 32.29902 46.56499, 32.32832 46.55651, 32.37527 46.55749, 32.39999 46.56138, 32.42138 46.56832, 32.45609 46.58472, 32.51859 46.60833, 32.64161 46.64229, 32.61471 46.61388, 32.5961 46.60402, 32.55791 46.59665, 32.49082 46.57556, 32.44873 46.5523, 32.41263 46.52583, 32.4161 46.49777, 32.34804 46.45915, 32.31971 46.46193, 32.27665 46.46859, 32.18111 46.49138, 32.09248 46.50972, 31.89638 46.51859, 31.85253 46.52268, 31.8375 46.52971, 31.76375 46.55333, 31.74347 46.55416, 31.69554 46.55068, 31.67263 46.54513, 31.62028 46.54027, 31.58778 46.54194, 31.55653 46.55013, 31.54 46.56179, 31.51451 46.57909, 31.52708 46.55749, 31.60277 46.50361, 31.65833 46.47138, 31.70604 46.48923, 31.77237 46.49359, 31.80972 46.48499, 31.81632 46.48302, 31.96667 46.45304, 32.007 46.44804, 32.05672 46.39168, 31.97541 46.35013, 31.94277 46.34304, 31.91721 46.34027, 31.88217 46.34052, 31.85141 46.34226, 31.815 46.33957, 31.76598 46.30984, 31.79013 46.28417, 31.81041 46.27874, 31.8311 46.27694, 31.88979 46.28159, 31.91866 46.28382, 32.02721 46.25638, 32.24332 46.17304, 32.2645 46.12693, 32.3375 46.10804, 32.40998 46.09167, 32.50041 46.07625, 32.53804 46.07756, 32.58554 46.0961, 32.63443 46.10915, 32.74471 46.1261, 32.77444 46.12999, 32.8118 46.12929, 32.8461 46.11998, 32.90381 46.11118, 33.12485 46.1311, 33.1886 46.16013, 33.26915 46.14166, 33.31582 46.12443, 33.38347 46.08742, 33.42965 46.04596, 33.47444 46.05304, 33.49527 46.06638, 33.51082 46.08388, 33.52532 46.11298, 33.59353 46.15624, 33.61402 46.14262, 33.62299 46.12402, 33.62832 46.06444, 33.62638 45.99818, 33.64638 45.97082, 33.66818 45.95736, 33.74471 45.94499, 33.7694 45.9253, 33.62305 45.87748, 33.56582 45.86166, 33.48054 45.84804, 33.42402 45.83166, 33.40471 45.81985, 33.38096 45.80026, 33.35916 45.78749, 33.31041 45.76597, 33.25861 45.74777, 33.2329 45.74263, 33.18415 45.7386, 33.02249 45.68748, 32.93123 45.65763, 32.8986 45.64277, 32.83444 45.605, 32.63 45.51, 32.57387 45.48249, 32.52875 45.45748, 32.49388 45.42194, 32.4811 45.39402, 32.50972 45.33971, 32.56985 45.31985, 32.65673 45.31263, 32.68624 45.33533, 32.72735 45.35457, 32.84054 45.35971, 32.86401 45.35763, 32.93457 45.34277, 33.01166 45.30444, 33.07319 45.26763, 33.12304 45.22914, 33.14638 45.20944, 33.1754 45.19013, 33.27618 45.15555, 33.33887 45.17416, 33.36235 45.18402, 33.39624 45.18478, 33.4261 45.17332, 33.51333 45.12944, 33.54625 45.10846, 33.56652 45.08749, 33.61249 44.96262, 33.62123 44.91749, 33.60145 44.85777, 33.55618 44.84229, 33.54054 44.82555, 33.52887 44.79666, 33.51971 44.78111, 33.53861 44.67249, 33.55444 44.6236, 33.46471 44.60305, 33.36906 44.58436, 33.38708 44.55958, 33.45957 44.51278, 33.53797 44.48666, 33.57859 44.49186, 33.60166 44.47637, 33.62387 44.45221, 33.71068 44.39436, 33.79527 44.38721, 33.83874 44.39811, 33.93027 44.37915, 33.95554 44.3811, 34.01166 44.39582, 34.13012 44.43541, 34.33651 44.54909, 34.35971 44.59333, 34.37694 44.62166, 34.3986 44.65083, 34.44125 44.70485, 34.46207 44.7204, 34.51859 44.74443, 34.72415 44.8093, 34.96415 44.83942, 34.99839 44.83326, 35.0495 44.79249, 35.08298 44.79124, 35.10333 44.8061, 35.11304 44.825, 35.12263 44.8536, 35.13388 44.87595, 35.14887 44.89194, 35.24972 44.95609, 35.39721 45.04056, 35.41262 45.06249, 35.42888 45.07415, 35.52658 45.11846, 35.56236 45.12054, 35.59304 45.11915, 35.64193 45.11139, 35.67722 45.10026, 35.72791 45.08054, 35.78541 45.05278, 35.81179 45.02457, 35.83396 44.99388, 35.85694 44.98638, 35.99374 44.99833, 36.00916 45.01138, 36.13442 45.01985, 36.22819 45.00582, 36.45347 45.07728, 36.44166 45.09832, 36.41499 45.12818, 36.40519 45.15596, 36.41054 45.19972, 36.4311 45.2711, 36.49409 45.33866, 36.54055 45.34137, 36.57457 45.33152, 36.6204 45.33346, 36.63694 45.34971, 36.6368 45.37791, 36.60458 45.4186, 36.48526 45.44137, 36.29084 45.46527, 36.13623 45.45832, 36.06888 45.42505, 36.05693 45.40277, 36.04069 45.37777, 36.01514 45.36026, 35.99276 45.35818, 35.95513 45.36319, 35.93277 45.37027, 35.88665 45.39192, 35.86305 45.40443, 35.69735 45.32847, 35.54554 45.29306, 35.48894 45.28818, 35.45791 45.29847, 35.38276 45.33859, 35.35971 45.35111, 35.3193 45.37694, 35.24917 45.44664, 35.07083 45.63457, 35.05388 45.65387, 34.9911 45.73333, 34.98113 45.75145, 34.97943 45.75332, 34.93954 45.81983, 34.90221 45.88349, 34.865 45.96249, 34.85305 46.00083, 34.82365 46.07262, 34.79948 46.08772, 34.73347 46.10818, 34.66621 46.08637, 34.70054 46.0464, 34.71692 46.03083, 34.75486 46.01131, 34.84871 45.89811, 34.86488 45.86343, 34.90421 45.8131, 34.94638 45.75417, 34.96038 45.73987, 34.98082 45.70082, 35.00221 45.67192, 35.05429 45.60999, 35.08763 45.58486, 35.14694 45.52749, 35.2322 45.44304, 35.34304 45.3325, 35.33859 45.28611, 35.16708 45.33666, 35.13305 45.325, 35.12055 45.3286, 35.05874 45.3654, 35.01374 45.42335, 35.04596 45.4361, 35.0761 45.44776, 35.09359 45.46394, 35.08457 45.52485, 35.07068 45.5511, 34.98665 45.63193, 34.91387 45.66221, 34.78527 45.71583, 34.64915 45.78556, 34.46339 45.76929, 34.54583 45.84221, 34.60318 45.87881, 34.63124 45.91707, 34.63652 45.93741, 34.61388 45.94832, 34.54555 45.96548, 34.57162 45.9278, 34.49742 45.87478, 34.35845 45.88367, 34.37637 45.91874, 34.39616 45.92526, 34.41485 45.9486, 34.38166 45.99221, 34.35832 46.01616, 34.1814 46.03317, 34.22148 46.00766, 34.19769 45.99492, 34.20051 45.95623, 34.16137 45.93777, 34.13944 45.94012, 34.11694 45.96826, 34.11427 46.01761, 34.00534 46.09728, 33.96221 46.10082, 33.94422 46.08801, 33.98984 46.07179, 33.98958 46.02679, 33.96818 46.01722, 33.89999 46.03861, 33.88346 46.06783, 33.84581 46.16026, 33.80703 46.17059, 33.80208 46.14027, 33.78992 46.1211, 33.72957 46.145, 33.70568 46.16498, 33.67103 46.21547, 33.68164 46.22165, 33.77298 46.24812, 33.95721 46.21361, 33.97492 46.20034, 33.99305 46.16957, 34.03249 46.13333, 34.12687 46.1184, 34.12394 46.16007, 34.12777 46.20609, 34.15583 46.28145, 34.18331 46.27444, 34.20609 46.25916, 34.23957 46.22819, 34.32943 46.17027, 34.45637 46.15459, 34.47699 46.161, 34.5369 46.18446, 34.57402 46.15324, 34.57026 46.1211, 34.55971 46.09762, 34.54117 46.08791, 34.5169 46.10383, 34.4906 46.11204, 34.46243 46.09821, 34.44137 46.09388, 34.40519 46.01274, 34.50193 45.98664, 34.54083 45.98374, 34.56638 45.98596, 34.58263 45.99818, 34.63151 46.08221, 34.70249 46.17582, 34.81249 46.18138, 35.03389 46.25013, 35.05666 46.26013, 35.11076 46.29408, 35.11971 46.29943, 35.20541 46.38707, 35.21569 46.41027, 35.19805 46.44331, 35.34798 46.34963, 35.3343 46.32166, 35.28291 46.27055, 35.26756 46.25981, 35.24804 46.23333, 35.20429 46.18444, 35.18527 46.17235, 35.1518 46.1636, 35.10942 46.15554, 35.05465 46.14165, 34.98012 46.08603, 34.99673 46.07422, 35.12443 46.11249, 35.16061 46.12854, 35.19624 46.15443, 35.2812 46.25453, 35.35222 46.33166, 35.48422 46.44165, 35.51819 46.4554, 35.54845 46.46083, 35.58276 46.47222, 35.62804 46.48916, 35.64985 46.50165, 35.69916 46.54472, 35.72874 46.57305, 35.76055 46.5929, 35.81179 46.61859, 35.9072 46.65109, 36.06749 46.67028, 36.19319 46.66694, 36.21457 46.65957, 36.23902 46.63401, 36.35457 46.69526, 36.37554 46.70889, 36.39554 46.71721, 36.41666 46.72444, 36.51512 46.75306, 36.6136 46.77527, 36.70013 46.77249, 36.74166 46.76459, 36.76388 46.7511, 36.86791 46.79083, 36.91667 46.82554, 36.99304 46.85749, 37.03951 46.87403, 37.07833 46.88527, 37.19694 46.92569, 37.24728 46.9329, 37.32103 46.90013, 37.3936 46.94916, 37.45998 47.0111, 37.53888 47.07861, 37.55957 47.08644, 37.60943 47.08581, 37.64832 47.075, 37.75117 47.07006, 37.80166 47.08139, 37.83582 47.09276, 37.85971 47.09693, 37.89666 47.09722, 38.07139 47.09499, 38.13374 47.06222, 38.23583 47.10943, 38.31332 47.12562, 38.3336 47.11971, 38.35388 47.12165, 38.45209 47.13527, 38.48832 47.17083, 38.52346 47.20707, 38.54527 47.22027, 38.58194 47.23499, 38.60471 47.24027, 38.67443 47.2486, 38.76859 47.25332, 38.74305 47.24221, 38.67638 47.23638, 38.59916 47.22443, 38.56249 47.21582, 38.50361 47.16221, 38.48648 47.12801, 38.52275 47.11694, 38.55964 47.11146, 38.65916 47.13582, 38.76138 47.15902, 38.81055 47.16221, 38.93027 47.21721, 38.95665 47.25423, 39.06749 47.27778, 39.09248 47.28054, 39.25152 47.26319, 39.26903 47.24986, 39.27763 47.23124, 39.29999 47.07694, 39.27957 47.01721, 39.25978 47.00825, 39.18359 47.02027, 39.07471 47.02721, 39.01499 46.99387, 38.98998 46.97721, 38.91415 46.93776, 38.80038 46.88929, 38.77749 46.88193, 38.70248 46.86152, 38.67384 46.86119, 38.63944 46.85916, 38.4904 46.86034, 38.46652 46.8586, 38.41033 46.82694, 38.36631 46.74514, 38.38391 46.7112, 38.39339 46.73457, 38.4175 46.74305, 38.48305 46.73902, 38.55818 46.71235, 38.58166 46.69595, 38.58494 46.65721, 38.4575 46.64068, 38.38777 46.65277, 38.30228 46.67901, 38.29069 46.7043, 38.26751 46.72419, 38.12165 46.6811, 38.09971 46.66833, 38.05472 46.6311, 38.02541 46.62069, 38.00055 46.61888, 37.8736 46.62137, 37.84555 46.62318, 37.80541 46.63665, 37.77692 46.65498, 37.73749 46.66711, 37.82402 46.47998, 37.89777 46.40721, 37.99339 46.34568, 38.0044 46.36752, 37.98322 46.39325, 38.06694 46.39652, 38.08734 46.39012, 38.16081 46.34859, 38.26777 46.27235, 38.28012 46.24374, 38.29596 46.21846, 38.345 46.19915, 38.42471 46.1675, 38.51499 46.12915, 38.57086 46.09113, 38.56616 46.04339, 38.54798 46.02687, 38.45395 46.02638, 38.40638 46.04527, 38.35555 46.07331, 38.31415 46.09778, 38.26666 46.13096, 38.22069 46.13568, 38.19623 46.12957, 38.1761 46.11832, 38.16152 46.1036, 38.09554 45.94498, 38.07055 45.95361, 38.0954 46.05221, 38.07638 46.05916, 38.05222 46.05916, 37.95116 46.032, 37.92749 46.01166, 37.91276 45.98749, 37.89068 45.92291, 37.8843 45.8727, 37.87693 45.83887, 37.86832 45.81666, 37.85124 45.78305, 37.83457 45.76138, 37.80986 45.73985, 37.7197 45.69137, 37.69276 45.67832, 37.66551 45.66027, 37.70276 45.62804, 37.70484 45.6204, 37.66956 45.61518, 37.64526 45.62916, 37.63085 45.65814, 37.6025 45.65055, 37.59137 45.62748, 37.58374 45.42742, 37.60749 45.41533, 37.63139 45.42387, 37.64624 45.45152, 37.64749 45.52026, 37.62457 45.56756, 37.64267 45.58678, 37.70166 45.55777, 37.74082 45.38304, 37.73463 45.29881, 37.71333 45.2961, 37.59693 45.3277, 37.52089 45.36207, 37.4836 45.34665, 37.46193 45.33472, 37.43443 45.32332, 37.39777 45.31637, 37.31693 45.32166, 37.20416 45.32415, 37.21082 45.29888, 37.31385 45.27541, 37.22638 45.24887, 37.15416 45.23943, 37.11041 45.23442, 37.06759 45.25107, 37.09415 45.34054, 36.89638 45.42361, 36.8277 45.43568, 36.75111 45.41415, 36.72499 45.39791, 36.68027 45.35957, 36.66981 45.33255, 36.6977 45.34158, 36.71888 45.36193, 36.76964 45.38387, 36.96679 45.30763, 36.96234 45.27902, 36.8886 45.24693, 36.83666 45.22803, 36.7286 45.20332, 36.70235 45.2, 36.66972 45.20527, 36.58044 45.1927, 36.62555 45.12734, 36.71652 45.09915, 36.88221 45.08582, 37.20291 44.97978, 37.27637 44.93111, 37.3095 44.89332, 37.29639 44.87165, 37.29917 44.85943, 37.37443 44.74263, 37.48408 44.67145, 37.55666 44.65417, 37.75874 44.62986, 37.81339 44.63805, 37.8227 44.66366, 37.79929 44.69012, 37.78308 44.72336, 37.8654 44.69284, 38.1161 44.48915, 38.13332 44.46666, 38.1461 44.44054, 38.1586 44.41582, 38.17554 44.40069, 38.19749 44.38943, 38.2197 44.38361, 38.32444 44.35971, 38.35082 44.355, 38.41361 44.35026, 38.57111 44.33388, 38.59985 44.32944, 38.75375 44.27331, 38.77222 44.26054, 38.81471 44.21471, 38.84443 44.18998, 38.87582 44.17083, 38.90083 44.16442, 38.92957 44.16, 38.96429 44.14721, 39.05166 44.08027, 39.28694 43.92695, 39.37679 43.85971, 39.39193 43.84388, 39.41694 43.80999, 39.4543 43.77096, 39.47193 43.75777, 39.58999 43.67471, 39.69664 43.60166, 39.84541 43.51041, 39.87457 43.49096, 39.89256 43.46527, 39.9169 43.41293, 39.94554 43.39694, 40.00297 43.37926, 40.05139 43.37027, 40.10916 43.35388, 40.21844 43.31641, 40.25444 43.27444, 40.27193 43.2468, 40.36055 43.16332, 40.66137 43.09193, 40.72666 43.08929, 40.80208 43.0786, 40.83708 43.06985, 40.85999 43.05915, 40.87694 43.04472, 40.90887 43.00194, 40.93645 42.97359, 40.96166 42.97499, 41.00262 42.9877, 41.0261 42.97818, 41.07541 42.92318, 41.08498 42.89055, 41.09819 42.84679, 41.15908 42.78978, 41.19076 42.79617, 41.21561 42.79957, 41.37137 42.75777, 41.41957 42.74166, 41.44082 42.72986, 41.4561 42.71429, 41.46998 42.69416, 41.48444 42.66874, 41.50055 42.62498, 41.52506 42.5502, 41.52555 42.5211, 41.52887 42.48664, 41.53639 42.45277, 41.54762 42.40577, 41.5929 42.35442, 41.63277 42.27194, 41.64666 42.22026, 41.6561 42.17583, 41.6529 42.14763, 41.65915 42.12582, 41.76082 41.96138, 41.77472 41.88562, 41.77609 41.84193, 41.77387 41.81555, 41.72873 41.72333, 41.68387 41.67166, 41.64638 41.64423, 41.6161 41.63443, 41.53155 41.52388, 41.49875 41.48151, 41.41303 41.39444, 41.38495 41.37371, 41.3379 41.37068, 41.23471 41.32471, 41.20887 41.30767, 41.20877 41.3076, 41.17169 41.2853, 41.04387 41.23026, 40.92125 41.18672, 40.88276 41.1886, 40.84898 41.19558, 40.77275 41.16638, 40.72971 41.13694, 40.63777 41.07861, 40.58055 41.0547, 40.48166 41.0425, 40.46165 41.04318, 40.39332 41.01864, 40.36554 41.00235, 40.3582 40.9941, 40.34527 40.98359, 40.26915 40.95721, 40.14999 40.92027, 40.12859 40.91639, 40.10666 40.91707, 40.08138 40.92165, 39.91249 40.95665, 39.72142 41.01003, 39.69056 41.00306, 39.55111 41.05221, 39.48736 41.09757, 39.41423 41.10673, 39.38541 41.08916, 39.3536 41.07638, 39.32665 41.06611, 39.28472 41.05152, 39.26291 41.0493, 39.23305 41.05638, 39.21083 41.07416, 39.16583 41.0825, 39.15472 41.0734, 39.14792 41.06555, 39.12388 41.05721, 39.09833 41.05082, 39.05471 41.0411, 39.00576 41.03375, 38.92902 41.04096, 38.81611 41.01, 38.7836 40.99695, 38.76416 40.98152, 38.73444 40.96305, 38.70999 40.95, 38.5186 40.92027, 38.42055 40.91221, 38.38964 40.92001, 38.35583 40.91028, 38.32777 40.91847, 38.15999 40.94943, 38.11609 40.95547, 38.09722 40.9636, 37.98819 40.98764, 37.93443 40.98831, 37.89513 40.98236, 37.81486 41.02722, 37.79361 41.04555, 37.78284 41.06561, 37.78541 41.09874, 37.75361 41.11917, 37.68277 41.1352, 37.65624 41.11749, 37.62972 41.07943, 37.61041 41.05055, 37.58138 41.03749, 37.53965 41.02889, 37.49917 41.04194, 37.41776 41.08055, 37.29666 41.13694, 37.23805 41.14111, 37.15228 41.14491, 37.1293 41.1468, 37.05234 41.17041, 37.03222 41.1936, 37.02945 41.22417, 37.02881 41.2575, 37.0043 41.27901, 36.93083 41.31582, 36.86402 41.34513, 36.81 41.35556, 36.73445 41.36305, 36.71166 41.365, 36.65777 41.36083, 36.6125 41.3475, 36.5711 41.29569, 36.53514 41.26985, 36.49249 41.24791, 36.46694 41.2411, 36.43151 41.24207, 36.40013 41.25416, 36.34499 41.28333, 36.24027 41.35611, 36.17276 41.41943, 36.12379 41.47574, 36.11714 41.5093, 36.13319 41.5443, 36.13111 41.59513, 36.1136 41.63208, 36.07457 41.67484, 36.0561 41.68875, 35.97305 41.73222, 35.95305 41.73458, 35.93138 41.72555, 35.91111 41.71306, 35.87666 41.70083, 35.77679 41.67152, 35.64388 41.63666, 35.61694 41.63097, 35.57666 41.62721, 35.54942 41.63082, 35.50639 41.63805, 35.49317 41.64387, 35.47944 41.64666, 35.45638 41.6536, 35.28665 41.71306, 35.26527 41.72582, 35.21249 41.77056, 35.13694 41.85805, 35.09638 41.91867, 35.0993 41.96721, 35.11499 42.00097, 35.15737 42.02532, 35.04721 42.06527, 35.02749 42.07804, 35.00638 42.0861, 34.97888 42.09195, 34.94898 42.08593, 34.91721 42.03665, 34.88971 42.01027, 34.85082 41.97944, 34.8325 41.96832, 34.7925 41.95652, 34.74443 41.94666, 34.71555 41.94249, 34.64139 41.93971, 34.61472 41.94027, 34.55471 41.94805, 34.36444 41.94333, 34.31527 41.94082, 34.25555 41.94762, 34.20943 41.95943, 34.10195 41.97611, 33.99389 41.98111, 33.92388 41.97306, 33.83472 41.97499, 33.77416 41.97777, 33.73805 41.97971, 33.63221 41.98638, 33.59888 41.99, 33.5732 41.99513, 33.54361 42.00416, 33.3986 42.01692, 33.3386 42.01986, 33.21972 41.97638, 33.06833 41.93805, 32.98701 41.90639, 32.95083 41.88499, 32.91221 41.87499, 32.82805 41.85915, 32.79804 41.85889, 32.77277 41.85805, 32.72137 41.84916, 32.69249 41.83943, 32.68444 41.83376, 32.6027 41.8318, 32.53027 41.80917, 32.2775 41.71944, 32.17944 41.63333, 32.16069 41.60888, 31.99222 41.5425, 31.79789 41.45778, 31.74777 41.43305, 31.61471 41.37944, 31.55249 41.36277, 31.42153 41.27901, 31.41 41.21007, 31.37555 41.17055, 31.34055 41.14263, 31.33722 41.13722, 31.29889 41.11388, 31.23347 41.0893, 31.07333 41.07832, 30.98028 41.075, 30.95474 41.07457, 30.93361 41.07471, 30.87972 41.07694, 30.75722 41.08646, 30.60611 41.13388, 30.51694 41.14333, 30.49347 41.14722, 30.42505 41.16497, 30.37694 41.17499, 30.35514 41.18604, 30.3268 41.20305, 30.28472 41.20806, 30.26166 41.19222, 30.195 41.15138, 30.15861 41.14069, 29.98444 41.13958, 29.87472 41.14541, 29.86221 41.14723, 29.75472 41.16305, 29.62163 41.17576, 29.5796 41.173, 29.4711 41.19555, 29.29028 41.22805, 29.21979 41.23688, 29.16 41.22457, 29.13348 41.21277, 29.08735 41.17527, 29.07458 41.15943, 29.08822 41.13958, 29.08822 41.11862, 29.06161 41.07999)))"

Gazetteer Record by Name

example: High Seas

highseas_info <- mr_geo_code(place = "High Seas")
class(highseas_info)
#> [1] "data.frame"
str(highseas_info)
#> 'data.frame':    28 obs. of  14 variables:
#>  $ MRGID                     : int  63203 25721 25714 49698 25723 25713 26566 25727 25715 25712 ...
#>  $ gazetteerSource           : chr  "United Nations Convention on the Law of the Sea of 10 December 1982" "VLIZ (2020). Intersect of IHO Sea Areas and Exclusive Economic Zones (version 4)   " "VLIZ (2020). Intersect of IHO Sea Areas and Exclusive Economic Zones (version 4)   " "VLIZ (2020). Intersect of IHO Sea Areas and Exclusive Economic Zones (version 4)   " ...
#>  $ placeType                 : chr  "High Seas" "Marine Region" "Marine Region" "Marine Region" ...
#>  $ latitude                  : num  0 11.4 85.1 74.7 11.4 ...
#>  $ longitude                 : num  0 64.03 -7.33 39.36 87.2 ...
#>  $ minLatitude               : num  -90 0.864 72.783 72.102 5.68 ...
#>  $ minLongitude              : num  -180 54.4 -180 33.7 83.4 ...
#>  $ maxLatitude               : num  90 21.8 90 77 18.4 ...
#>  $ maxLongitude              : num  180 70.4 180 44 90.7 ...
#>  $ precision                 : logi  NA NA NA NA NA NA ...
#>  $ preferredGazetteerName    : chr  "High Seas" "High Seas of the Arabian Sea" "High Seas of the Arctic Ocean" "High Seas of the Barentsz Sea" ...
#>  $ preferredGazetteerNameLang: chr  "English" "English" "English" "English" ...
#>  $ status                    : chr  "standard" "standard" "standard" "standard" ...
#>  $ accepted                  : int  63203 25721 25714 49698 25723 25713 26566 25727 25715 25712 ...

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for mregions in R doing citation(package = 'mregions')
  • Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.