This forum is in archive mode. You will not be able to post new content.

Author Topic: Need help on programming/calculation.  (Read 1676 times)

0 Members and 1 Guest are viewing this topic.

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Need help on programming/calculation.
« on: August 09, 2013, 11:49:06 AM »
Alright so it should be pretty simple but im a total noob when it comes this stuff.
37.4192008972 -122.057403564
These are latitude and longitude values.
I want to project them on a flat surface so in pixels x,y coordinates.

So on a screen of 1920x1080 its  should for example be 931,296.

Preferably in python as thats the language im coding it in.

Anyone?
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: Need help on programming/calculation.
« Reply #1 on: August 10, 2013, 01:24:08 PM »
« Last Edit: August 10, 2013, 01:25:48 PM by Deque »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Need help on programming/calculation.
« Reply #2 on: August 10, 2013, 01:54:55 PM »
Thanks ma'am ill take a look at that.
I really should have paid more attention to math, thats often just to virtual for me.
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.