Check out:
http://sourceforge.net/projects/gds2/

fast gdsii to gdt (graphics data text) format translator
written in C/C++ that converts a binary gdsii file to a 
text format that is compact and easy to parse with Perl.

