MATLAB Answers

0

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

Asked by Kelly Kyriakou on 4 Apr 2017
Latest activity Commented on by 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

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.

0 Answers