Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Looking for module for EPSG coodinate conversion

by japhy (Canon)
on Sep 22, 2010 at 14:00 UTC ( #861282=perlquestion: print w/ replies, xml ) Need Help??
japhy has asked for the wisdom of the Perl Monks concerning the following question:

I'm big into plotting things that can be mapped using OpenLayers. However, I'm an absolute dunce when it comes to understanding the various projection schemas used. I don't know what EPSG4326 or EPSG900913 are. I just know that one has very funky numbers that don't look like lat/lng coords to me, and the other has normal-looking lat/lng coords.

In my JavaScript code, I just call the transform() method to do the conversion, but I don't know where to start to do that conversion in Perl. I don't know what module to look for. Any suggestions?


Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
Nos autem praedicamus Christum crucifixum (1 Cor. 1:23) - The Cross Reference (My Blog)

Comment on Looking for module for EPSG coodinate conversion
Download Code
Re: Looking for module for EPSG coodinate conversion
by fod (Friar) on Sep 22, 2010 at 14:52 UTC
      Thanks. I just so happened to download and install proj4 before writing this node. I'm glad to see I was moving in the right direction. I'm still a bit baffled by the syntax, but I'm sure I'll figure it out.

      Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
      Nos autem praedicamus Christum crucifixum (1 Cor. 1:23) - The Cross Reference (My Blog)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://861282]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-07-31 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls