is it possible to use polybuffer to geopolyshape?

I've tried but it didn't work.
Thanks.

4 个评论

Show us your data and show us what you expect.
shape1 = geopolyshape({[37.4695 37.4719 37.4723 37.4698]},{[126.4470 126.4448 126.4452 126.4473]});
% In some case, it didn't make a rectangular so I used this code too
% shape1 = geopolyshape({[37.4695 37.4719 37.4723 37.4698 37.4695]}...
% ,{[126.4470 126.4448 126.4452 126.4473 126.4470]});
geoplot(shape1)
polyout1 = polybuffer(shape1,5,'JointType','square');
hold on
geoplot(polyout1)
hold off
and I want to know what the number 5 means. meter or kilometer?
It depends on what your shape1 units are...
I solved this problem using projcrs. Thanks!

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Sparse Matrices 的更多信息

提问:

2022-6-29

评论:

2022-6-29

Community Treasure Hunt

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

Start Hunting!

Translated by