My map does not have a correct ratio of scale.

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')

Antworten (2)

Image Analyst
Image Analyst am 12 Jul. 2015

0 Stimmen

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 am 13 Jul. 2015

0 Stimmen

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?

Gefragt:

am 12 Jul. 2015

Kommentiert:

am 13 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by