Once Shapefile is uploaded, How to use longitude and latitude data
1 view (last 30 days)
Show older comments
I created a shapefie from a portal item in Arc GIS. So, on Matlab, I have this map:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282030/image.jpeg)
The shapefile I have is called "Sewershed.shp".
I type in:
shaperead('Sewershed');
Then, I get a 17x1 structure![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282031/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282031/image.jpeg)
So, the heading, "Bounding Box" are the longitude and latitude boundaries that defined the Sewershed (under heading "SewerShed")
The polygons in the map I showed above are the outlines of the sewer shed.
Now, I have an Excel spreadsheet that lists items as defined by longitude latitudes. I need to identify which Sewer Shed each item belongs to.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/282032/image.jpeg)
I appreciate any help! Thanks.
0 Comments
Answers (0)
See Also
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!