MATLAB Answers

How to read a shapefile using x,y instead of lat,lon?

1 view (last 30 days)
Kelly Kyriakou
Kelly Kyriakou on 4 Apr 2017
Commented: KSSV on 5 Apr 2017
I have a shapefile which contains both lat, lon and x,y. However, I need to read the shapefile based on x,y. According to mapshow help the default value for "UseGeoCoord" is false and this means that it searches for x,y. At my case even if it is false it uses lat,lon to read the shapefile. How could I read the shapefile using x,y?
  1 Comment
KSSV on 5 Apr 2017
How you are reading the shape file? Is it not using shaperead ? In that case your data will be a structure, you can use what ever you want lon,lat or x,y. How it is a trouble?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!