shapes 0.3 → 0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -1
- data/ext/shapes/safileio.c +1 -1
- data/lib/shapes/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Shapes
|
2
2
|
|
3
|
-
|
3
|
+
This is a simple Ruby Gem for reading and writing Shape Files.
|
4
|
+
|
5
|
+
It does pretty much what we need it to do for Predpol, and not much else.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -22,6 +24,15 @@ TODO: Write usage instructions here
|
|
22
24
|
|
23
25
|
## Contributing
|
24
26
|
|
27
|
+
If you use Ruby and need to work with ShapeFiles, consider contributing to the project.
|
28
|
+
|
29
|
+
The gem is based off this C code: http://shapelib.maptools.org, which has been modified slightly, but not changed in any major way.
|
30
|
+
Chceck out the documentation for that project to learn how to work with it.
|
31
|
+
|
32
|
+
If you want to make big changes, get in touch with me and I'll add you on as a contributor. I'm @omarqazi everywhere on the internet.
|
33
|
+
|
34
|
+
But if you just want to add something small or fix a bug:
|
35
|
+
|
25
36
|
1. Fork it
|
26
37
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
38
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
data/ext/shapes/safileio.c
CHANGED
@@ -166,7 +166,7 @@ int SADRemove( const char *filename )
|
|
166
166
|
void SADError( const char *message )
|
167
167
|
|
168
168
|
{
|
169
|
-
rb_raise(rb_eIOError,message);
|
169
|
+
rb_raise(rb_eIOError,"%s",message);
|
170
170
|
}
|
171
171
|
|
172
172
|
/************************************************************************/
|
data/lib/shapes/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shapes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.4'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A simple ruby library for writing shape files
|
15
15
|
email:
|