Skip to content

Instantly share code, notes, and snippets.

@dchapman1988
Created September 30, 2013 15:01
Show Gist options
  • Save dchapman1988/6765085 to your computer and use it in GitHub Desktop.
Save dchapman1988/6765085 to your computer and use it in GitHub Desktop.
> ShapeFile.all.map(&:name)
(3.0ms) SELECT f_geometry_column,coord_dimension,srid,type FROM geometry_columns WHERE f_table_name='shape_files'
ShapeFile Load (1.5ms) SELECT "shape_files".* FROM "shape_files"
=> ["S_Label_Ld.shp",
"S_Quad_Index.shp",
"S_Label_Pt.shp",
"S_Cst_Tsct_Ln.shp",
"S_Perm_Bmk.shp",
"S_BFE.shp",
"S_Fld_Haz_Ln.shp",
"S_Gen_Struct.shp",
"S_XS.shp",
"S_CBRS.shp",
"S_Pol_Ar.shp",
"S_LOMR.shp",
"S_Fld_Haz_Ar.shp",
"S_PLSS_Ar.shp",
"S_Pol_Ln.shp",
"S_Trnsport_Ln.shp",
"S_Firm_Pan.shp",
"S_PLSS_Ln.shp",
"S_Wtr_Ln.shp"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment