shp2db 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/shp2db +5 -5
- data/shp2db.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/bin/shp2db
CHANGED
@@ -38,7 +38,7 @@ optparse = OptionParser.new do |opts|
|
|
38
38
|
opts.on( '-a', '--db_adapter ADAPTER', 'The ActiveRecord db adapter type' ) do |dbtype|
|
39
39
|
options[:dbtype] = dbtype.downcase
|
40
40
|
end
|
41
|
-
options[:dbhost] =
|
41
|
+
options[:dbhost] = "localhost"
|
42
42
|
opts.on( '-H', '--db_host HOSTNAME', 'The database hostname. Default: localhost' ) do |dbhost|
|
43
43
|
options[:dbhost] = dbhost
|
44
44
|
end
|
@@ -54,12 +54,12 @@ optparse = OptionParser.new do |opts|
|
|
54
54
|
opts.on( '-p', '--db_pass DBPASS', 'The database password') do |dbpass|
|
55
55
|
options[:dbpass] = dbpass
|
56
56
|
end
|
57
|
-
options[:db_shape_table] =
|
58
|
-
opts.on( '-s', '--db_shape_table', 'The name of the table in the database which will store shape file information. Default: shapes') do |db_shape_table|
|
57
|
+
options[:db_shape_table] = "shapes"
|
58
|
+
opts.on( '-s', '--db_shape_table DBSHAPETABLE', 'The name of the table in the database which will store shape file information. Default: shapes') do |db_shape_table|
|
59
59
|
options[:db_shape_table] = db_shape_table
|
60
60
|
end
|
61
|
-
options[:db_point_table] =
|
62
|
-
opts.on( '-P', '--db_point_table', 'The name of the table in the database which will store shape vertices. Default: points') do |db_point_table|
|
61
|
+
options[:db_point_table] = "points"
|
62
|
+
opts.on( '-P', '--db_point_table DBPOINTTABLE', 'The name of the table in the database which will store shape vertices. Default: points') do |db_point_table|
|
63
63
|
options[:db_point_table] = db_point_table
|
64
64
|
end
|
65
65
|
options[:offset] = 0
|
data/shp2db.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{shp2db}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ryan J. Geyer"]
|
12
|
-
s.date = %q{2011-03-
|
12
|
+
s.date = %q{2011-03-16}
|
13
13
|
s.default_executable = %q{shp2db}
|
14
14
|
s.description = %q{Converts TIGER shapefiles to relational databases using ActiveRecord}
|
15
15
|
s.email = %q{me@ryangeyer.com}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shp2db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan J. Geyer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-16 00:00:00 -07:00
|
19
19
|
default_executable: shp2db
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|