Here is an example running the proj command with some input that works for me. Does it run on your Mac?
$ cat chkp proj +proj=eqc +lon_0=0 -r <<EOF 45d15'33.1" 111.5W 45d15.551666667N -111d30 +45.25919444444 111d30'000w EOF $ . ./chkp -12412123.22 5038230.48 -12412123.22 5038230.48 -12412123.22 5038230.48 Cheers, Chris On Thu, Nov 24, 2011 at 12:15 PM, Chris Marshall <[email protected]> wrote: > Matt- > > You'll need to read the man page for the proj command. > I think the hang you are getting below is because the input > is missing so it is waiting for input. Kind of like if you > type 'cat -' on the command line.... > > Cheers, > Chris > > On Thu, Nov 24, 2011 at 8:15 AM, Matthew Kenworthy > <[email protected]> wrote: >> >> ....and >> >> proj +proj=eqc +lon_0=0 +a=100 >> >> >> ...just freezes the system. >> >> Okay, unless someone speaks up for wanting Proj in SciPDL, I'm going >> onto the next library. >> >> Cheers, >> >> matt >> >> On Wed, Nov 23, 2011 at 10:45 PM, Puneet Kishor <[email protected]> wrote: >>> Hi Matt, Chris, >>> >>> The supporting files for Proj.4 are usually kept at $PREFIX/share/proj. So, >>> since I used macports to install Proj.4, and macports stuffs everything >>> under /opt/local, my Proj.4 definitions are under /opt/local/share/proj >>> >>> punkish@mumbai /opt/local/share/proj$ls >>> FL WI epsg.orig nad27 >>> nzgd2kgrid0005.gsb stlrnc >>> GL27 WO esri nad83 >>> other.extra stpaul >>> IGNF alaska esri.extra ntf_r93.gsb >>> proj_def.dat world >>> MD conus hawaii ntv1_can.dat >>> prvi >>> TN epsg nad.lst null >>> stgeorge >>> >>> >>> All of the above files are available at the Proj.4 download site. Hope this >>> helps. >>> >>> >>> On Nov 23, 2011, at 3:27 PM, Chris Marshall wrote: >>> >>>> In addition to the library files and executables for PROJ4, >>>> one also needs to have the datum files which have the >>>> definitions of the various coordinate systems for proj.exe >>>> and the library routines to use. If you don't have them >>>> installed, then you will not be able to convert coordinate >>>> projections. You'll either need to set an environment >>>> variable or get an additional package with those files. >>>> I don't know what or where that would be for the Mac. >>>> >>>> --Chris >>>> >>>> On Wed, Nov 23, 2011 at 3:58 PM, Matthew Kenworthy >>>> <[email protected]> wrote: >>>>> I've compiled and installed proj4 on Lion Mac OS X, but although I've >>>>> defined the paths for LIB and INCLUDE in perldl.conf, but the perl >>>>> Makefile.PL >>>>> >>>>> Will forcibly try and build PDL::GIS::Proj on this system >>>>> >>>>> PDL::GIS::Proj: Found /usr/local/lib/libproj.a >>>>> Trying check for projUV... >>>>> YES >>>>> PROJ4 library found but cannot initialize projection, won't build >>>>> >>>>> I can't see what's causing the build to skip, any suggestions as to what >>>>> to try? >>>>> >>>>> Many thanks, >>>>> >>>>> Matt >>>>> >>>>> >>>>> -- >>>>> Matthew Kenworthy / Assistant Professor / Leiden Observatory >>>>> Niels Bohrweg 2 (#463) / P.O. Box 9513 / 2300 RA Leiden / NL >>>>> >>>>> _______________________________________________ >>>>> Perldl mailing list >>>>> [email protected] >>>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >>>>> >>>> >>>> _______________________________________________ >>>> Perldl mailing list >>>> [email protected] >>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >>> >>> >> >> >> >> -- >> Matthew Kenworthy / Assistant Professor / Leiden Observatory >> Niels Bohrweg 2 (#463) / P.O. Box 9513 / 2300 RA Leiden / NL >> > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
