Skip to content

GetCoords and Mercator Projection ? #422

Open
@alfalf99

Description

@alfalf99

Hello,

I have a SOUTHAMERICA map (png) from a mercator projection, and want to use it in Excel by applying on it an X/Y chart.

I want to use your very interesting getCoords function to translate the long/lat into X/Y coords (but I see it is for EQUIRECTANGULAR translation, not Mercator)

When I apply the factors and offsets calculated, points are not well positioned :(
For example for Bazil points :
image

Below my setting (I have set x2 and Y2 with Width/ Height of my map image):
image

For example , for rio de Janeiro, I have the following long/lat : -43,23 / -22,9
If I apply factor, I get : 406,41 / 403,18

Is it normal ? Is there a way to get the right factor/offset to help on plot on a mercator projection ?
Thank your for your valuable help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions