This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in ~/postgres_backups/* | |
do | |
dbname=$(basename $file | sed s/\.gz//g) | |
createdb $dbname | |
gunzip -c $file | sed 's/Library\/PostgreSQL\/9.0\/lib\/postgis-1.5/usr\/local\/Cellar\/postgresql\/9.1.3\/lib\/postgis-1.5/g' | psql $dbname | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -dynamiclib -o .libs/libgdal.1.dylib /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/EnvisatFile.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/IdrisiDataset.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/IngrTypes.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/IntergraphBand.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/IntergraphDataset.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/JpegHelper.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/_getcell.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/_getrow.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/_gsomece.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/_putcell.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/_rputrow.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/aaigriddataset.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/ace2dataset.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/adrgdataset.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/.libs/aigccitt.o /Users/zacmcc/Downloads/gdal-1.9.0/frmts/o/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dnl *************************************************************************** | |
dnl $Id: configure.in 23690 2012-01-03 18:56:17Z rouault $ | |
dnl | |
dnl Project: GDAL | |
dnl Purpose: Configure source file. | |
dnl Author: Frank Warmerdam, warmerdam@pobox.com | |
dnl | |
dnl *************************************************************************** | |
dnl Copyright (c) 2000, Frank Warmerdam | |
dnl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building GDAL 1.9 with MDB (PGeo) support on OS X Lion | |
- Download and install the "Java for Mac OS X 10.7 Update 1 Developer Package" from https://developer.apple.com/downloads/index.action | |
- Download jackcess-1.2.6.jar from http://sourceforge.net/projects/jackcess/files/jackcess/1.2.6/jackcess-1.2.6.jar/download | |
- Download http://mdb-sqlite.googlecode.com/files/mdb-sqlite-1.0.2.tar.bz2 to get commons-lang-2.4.jar and commons-logging-1.1.1.jar. They will go alongside jackcess in the $CLASSPATH after it builds. | |
- In the GDAL source root, edit the configure.in and replace it with https://gist.github.com/1975654 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ otool -L ~/local/lib/libgdal.dylib | |
/Users/zacmcc/local/lib/libgdal.dylib: | |
/Users/zacmcc/local/lib/libgdal.1.dylib (compatibility version 18.0.0, current version 18.0.0) | |
/usr/local/lib/libpoppler.19.dylib (compatibility version 20.0.0, current version 20.0.0) | |
/usr/local/lib/libfreexl.1.dylib (compatibility version 2.0.0, current version 2.0.0) | |
/usr/local/lib/libgeos_c.1.dylib (compatibility version 9.0.0, current version 9.2.0) | |
/usr/local/lib/libwebp.2.dylib (compatibility version 3.0.0, current version 3.0.0) | |
/usr/local/lib/libodbc.2.dylib (compatibility version 3.0.0, current version 3.0.0) | |
/usr/local/lib/libodbcinst.2.dylib (compatibility version 3.0.0, current version 3.0.0) | |
/usr/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure \ | |
--with-local=yes \ | |
--prefix=/Users/zacmcc/local \ | |
--with-threads \ | |
--with-libtool \ | |
--with-libtiff=internal \ | |
--with-geotiff=internal \ | |
--with-pcraster=internal \ | |
--with-pcidsk=internal \ | |
--with-bsb \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./configure \ | |
--with-local=yes \ | |
--prefix=/Users/zacmcc/local \ | |
--with-threads \ | |
--with-libtool \ | |
--with-libtiff=internal \ | |
--with-geotiff=internal \ | |
--with-pcraster=internal \ | |
--with-pcidsk=internal \ | |
--with-bsb \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GDAL_ROOT = /Users/zacmcc/Downloads/gdal-1.9.0 | |
top_builddir = $(GDAL_ROOT) | |
# | |
# the library can be built by the native build or with the help of libtool | |
# | |
SHELL = /bin/sh | |
HAVE_LIBTOOL = yes | |
LIBTOOL = $(SHELL) $(top_builddir)/libtool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lldb) po [[NSManagedObjectContext defaultContext] objectWithID:[self projectObjectID]] | |
(id) $33 = 0x0048b520 <SNProject: 0x48b520> (entity: Project; id: 0x489040 <x-coredata://29AA8056-CC37-4157-A6DC-1D1A535BC425/Project/p1> ; data: { | |
accountID = 4f31fbfb14414036cc000006; | |
attributes = "(...not nil..)"; | |
createdAt = "2012-02-08 18:56:03 +0000"; | |
defaultFormID = nil; | |
deletedAt = nil; | |
downloadRecordFilterNELatitude = nil; | |
downloadRecordFilterNELongitude = nil; | |
downloadRecordFilterSWLatitude = nil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install_name_tool -id "$(pwd)/lib/libFileGDBAPI.dylib" ./lib/libFileGDBAPI.dylib | |
install_name_tool -change "@rpath/libfgdbunixrtl.dylib" "$(pwd)/lib/libfgdbunixrtl.dylib" ./lib/libFileGDBAPI.dylib | |
install_name_tool -id "$(pwd)/lib/libfgdbunixrtl.dylib" ./lib/libfgdbunixrtl.dylib |