NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

1
1

Hi Everybode ! I have a question about converting Lat/Lon to pixel Coordinate. I know to convert from Lat/Lon to map tile ( x,y ). But how i can get pixel in map tile(image) corresponding with the Lat/Lon.

Example : I have a lat/lon : 21.032644/105.852556 at zoom 12.

So maptile is x/y = 3252/1803 ( maptile size 256x256).

What pixel in tile image corresponding the Lat/lon ? How to determine it ?

asked 26 Nov '10, 05:57

haxoan's gravatar image

haxoan
15112
accept rate: 0%

closed 26 Nov '10, 09:22

TomH's gravatar image

TomH ♦♦
3.3k83943

The question has been closed for the following reason "Duplicate Question" by TomH 26 Nov '10, 09:22


That has already been aseked and answered here. Then next time before you ask a new question please check the documentation and this help system for existing explanations.

permanent link

answered 26 Nov '10, 06:48

petschge's gravatar image

petschge
8.3k217398
accept rate: 21%

thanks you very much !

(26 Nov '10, 07:30) haxoan

Can you show the detailed answer? in the link you posted nothing clear

(14 Oct '21, 16:08) Seghier

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×144
×35
×10
×8

question asked: 26 Nov '10, 05:57

question was seen: 18,512 times

last updated: 14 Oct '21, 16:08

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum