My map does not have a correct ratio of scale.

1 view (last 30 days)
Amir
Amir on 12 Jul 2015
Commented: Amir on 13 Jul 2015
I use a shape file (.shp) to create a map file from the province of Alberta in Canada. My .shp file is from the government of Canada so I am sure that the data is correct. However, when I use the mapshow command to create my map, I do not get it in a correct scale ratio. Alberta has a rectangular shape, but my map is almost square, as you can see below. My code: mapshow(myShapeFile.shp, 'FaceColor', 'green','line','none')

Answers (2)

Image Analyst
Image Analyst on 12 Jul 2015
Try various axis commands, like axis equal, axis square, axis image, etc. and see if any of them get it to look the way you want.

Sean de Wolski
Sean de Wolski on 13 Jul 2015
My guess is the projection that was used to create X/Y was not an equal area one and thus you are seeing the distortion because Canada isn't near the equator. Can you post the shape file?

Community Treasure Hunt

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

Start Hunting!