is it possible to use polybuffer to geopolyshape?

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

댓글 수: 4

KSSV
KSSV 2022년 6월 29일
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?
KSSV
KSSV 2022년 6월 29일
It depends on what your shape1 units are...
I solved this problem using projcrs. Thanks!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Polygonal Shapes에 대해 자세히 알아보기

질문:

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