
- USSPC-to-latlong-
- 04-24-2010
![]() Re: US-SPC to lat/long
| Melita Kennedy | 04-24-2010 |
If you were Registered and logged in, you could reply and use other advanced thread options
I am looking to find some formulas to use in php and/or BASH programs to
convert from the US - SPC to lat/long (decimal) so that these can be stored
in MySQL for various other functions and used with mapping sources.
I am not looking for existing programs unless they operate on Linux, and
Linux only. I do not have access to anything win based. This excludes the
US Army corpscon, arcgis etc.. Any program also needs to operate in a batch
mode to convert so the Perl script at NOAA is not of use. Also C/C++ libs
do not help as I will not be using this via C/C++. Only PHP, or BASH if
needed.
I am just looking for the math formulas to convert the E/W SPC -> lat/long
NAD83 and I will create my functions to do this from the files I have.
Thanks in advance.
Xrec9140X wrote:
> I am looking to find some formulas to use in php and/or BASH programs to
> convert from the US - SPC to lat/long (decimal) so that these can be stored
> in MySQL for various other functions and used with mapping sources.
>
> I am not looking for existing programs unless they operate on Linux, and
> Linux only. I do not have access to anything win based. This excludes the
> US Army corpscon, arcgis etc.. Any program also needs to operate in a batch
> mode to convert so the Perl script at NOAA is not of use. Also C/C++ libs
> do not help as I will not be using this via C/C++. Only PHP, or BASH if
> needed.
>
> I am just looking for the math formulas to convert the E/W SPC -> lat/long
> NAD83 and I will create my functions to do this from the files I have.
>
> Thanks in advance.
> convert from the US - SPC to lat/long (decimal) so that these can be stored
> in MySQL for various other functions and used with mapping sources.
>
> I am not looking for existing programs unless they operate on Linux, and
> Linux only. I do not have access to anything win based. This excludes the
> US Army corpscon, arcgis etc.. Any program also needs to operate in a batch
> mode to convert so the Perl script at NOAA is not of use. Also C/C++ libs
> do not help as I will not be using this via C/C++. Only PHP, or BASH if
> needed.
>
> I am just looking for the math formulas to convert the E/W SPC -> lat/long
> NAD83 and I will create my functions to do this from the files I have.
>
> Thanks in advance.
Proj.4 might work. http://trac.osgeo.org/proj/
A search on proj4 and php found some messages that imply there's a php
version available with MapServer. http://www.mapserver.org
For equations, you can look at http://www.epsg.org , Guidance Note 7-2
or John Snyder's Map Projections: A Working Manual which also has the
zone parameter values: http://pubs.er.usgs.gov/usgspubs/pp/pp1395
The NAD83 parameter changes from NAD27 are in an appendix.
Melita
- How long after road changes does it take before new speed limits show up on Start 20?
- Tomtom GPS
- 2011-11-21
- Nuvi 265W: Enter Location By Touching Screen? Lat/Long Direct Entry?
- Global Positioning System
- 2010-01-15
- Entering points by LAT-LONG ???
- Garmin GPS
- 2009-09-12
- Lat. Long data
- Garmin GPS
- 2009-09-11


