is it possible to use polybuffer to geopolyshape?

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

4 Comments

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!

Sign in to comment.

Answers (0)

Categories

Find more on Sparse Matrices in Help Center and File Exchange

Asked:

on 29 Jun 2022

Commented:

on 29 Jun 2022

Community Treasure Hunt

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

Start Hunting!