How to load a particular shp file?

5 ビュー (過去 30 日間)
Jimmy Pang
Jimmy Pang 2021 年 2 月 16 日
編集済み: Mark Brandon 2021 年 2 月 16 日
I downloaded a .shp file of uk catchment boundary (CAMELS-GB): https://www.dropbox.com/s/1m5kttkqhqlktnv/CAMELS_GB_catchment_boundaries.shp?dl=0
I want to read the data on matlab so i used the code:
boundary = shaperead('CAMELS_GB_catchment_boundaries.shp')
And errors come out. My question is: How can I view the boundary?
Thanks.
Reference: Coxon, G.; Addor, N.; Bloomfield, J.P.; Freer, J.; Fry, M.; Hannaford, J.; Howden, N.J.K.; Lane, R.; Lewis, M.; Robinson, E.L.; Wagener, T.; Woods, R. (2020). Catchment attributes and hydro-meteorological timeseries for 671 catchments across Great Britain (CAMELS-GB). NERC Environmental Information Data Centre. (Dataset). https://doi.org/10.5285/8344e4f3-d2ea-44f5-8afa-86d2987543a9

回答 (1 件)

Mark Brandon
Mark Brandon 2021 年 2 月 16 日
編集済み: Mark Brandon 2021 年 2 月 16 日
I think your download is scrambled Jimmy.
I've just downloaded the dataset from CEH
Uncompressed it.
Then uncompressed CAMELS_GB_catchment_boundaries.zip
to get this directory
Open it in matlab and then this is the result:
Good luck.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by