Relationship between the ground resolution and scale of a Web Map (some content involves reprinting)

Source: Internet
Author: User

I have found a lot of information on the Internet and have never understood it. Today I finally learned it myself. I 'd like to share it with you.

(1) plane coordinate system

Resolution, ground resolution, similar to spatial
Resolution (spatial resolution). Here we mainly focus on the form of pixel size: the ground size (meters) represented by a pixel ). Take the day map as an example. If the level is 1, the image size is 256*256 (4 tile), and the resolution of the equator space is: the equator perimeter/512. The spatial resolution of other latitudes is the latitude circle length/512, and the extreme Arctic is 0. When the level is 2, the spatial resolution of the equator is the circumference of the equator/1024, And the other latitudes are the latitude circle length divided by 1024. Obviously, ground
The resolution depends on two parameters: Zoom level and latitude. level determines the number of pixels and latitude determines the distance between the ground.


Take level 1 as the premise, take the screen resolution as 96 DPI (pixel/inch)

Ground Resolution: One pixel represents the distance (meters) of the ground, measured in pixels/meters;
Resolution = actual distance/number of pixels on the screen
= Actual distance (meters)/512 (pixels)

Scale: The distance on the screen represents the distance of the ground, no unit, only a value
Scale = 512 (pixels)/screen resolution (pixels/inches) * 0.0254 (meters/inches)/Actual distance (meters)
Operation: the screen resolution of a map is 96 (pixels/inch)
Resolution * scale = 1/96*0.0254 = 0.0254/96
Scale = 0.0254/(96 * Resolution)
Scale = 1: (96 * Resolution/0.0254)
(2) longitude and latitude
The latitude and longitude are similar to the plane. However, because the latitude and longitude are measured in degrees, you need to change the degrees to meters during conversion. The conversion company is as follows:
Scale = 1: (96*2 * Math. Pi * 6378137 * Resolution/360
/0.0254 );


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.