neo4j-spatial 0.0.1-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. data/CHANGELOG +3 -0
  2. data/CONTRIBUTORS +5 -0
  3. data/Gemfile +15 -0
  4. data/README.rdoc +55 -0
  5. data/examples/export_layer.rb +54 -0
  6. data/examples/map.osm +6470 -0
  7. data/examples/map2.osm +131867 -0
  8. data/examples/osm_import.rb +29 -0
  9. data/examples/osm_layer.rb +55 -0
  10. data/examples/test.rb +92 -0
  11. data/lib/neo4j/spatial/cmd.rb +37 -0
  12. data/lib/neo4j/spatial/database.rb +85 -0
  13. data/lib/neo4j/spatial/image.rb +54 -0
  14. data/lib/neo4j/spatial/jars/gt-main/gt-api-2.7-M3.jar +0 -0
  15. data/lib/neo4j/spatial/jars/gt-main/gt-main-2.7-M3.jar +0 -0
  16. data/lib/neo4j/spatial/jars/gt-main/jdom-1.0.jar +0 -0
  17. data/lib/neo4j/spatial/jars/gt-main/jts-1.11.jar +0 -0
  18. data/lib/neo4j/spatial/jars/gt-main/xercesImpl-2.4.0.jar +0 -0
  19. data/lib/neo4j/spatial/jars/gt-render/gt-coverage-2.7-M3.jar +0 -0
  20. data/lib/neo4j/spatial/jars/gt-render/gt-cql-2.7-M3.jar +0 -0
  21. data/lib/neo4j/spatial/jars/gt-render/gt-render-2.7-M3.jar +0 -0
  22. data/lib/neo4j/spatial/jars/gt-render/imageio-ext-tiff-1.0.7.jar +0 -0
  23. data/lib/neo4j/spatial/jars/gt-render/imageio-ext-utilities-1.0.7.jar +0 -0
  24. data/lib/neo4j/spatial/jars/gt-render/jai_codec-1.1.3.jar +0 -0
  25. data/lib/neo4j/spatial/jars/gt-render/jai_core-1.1.3.jar +0 -0
  26. data/lib/neo4j/spatial/jars/gt-render/jai_imageio-1.1.jar +0 -0
  27. data/lib/neo4j/spatial/jars/gt-shapefile/commons-pool-1.5.4.jar +0 -0
  28. data/lib/neo4j/spatial/jars/gt-shapefile/geoapi-2.3-M1.jar +0 -0
  29. data/lib/neo4j/spatial/jars/gt-shapefile/geoapi-pending-2.3-M1.jar +0 -0
  30. data/lib/neo4j/spatial/jars/gt-shapefile/gt-data-2.7-M3.jar +0 -0
  31. data/lib/neo4j/spatial/jars/gt-shapefile/gt-metadata-2.7-M3.jar +0 -0
  32. data/lib/neo4j/spatial/jars/gt-shapefile/gt-referencing-2.7-M3.jar +0 -0
  33. data/lib/neo4j/spatial/jars/gt-shapefile/gt-shapefile-2.7-M3.jar +0 -0
  34. data/lib/neo4j/spatial/jars/gt-shapefile/jsr-275-1.0-beta-2.jar +0 -0
  35. data/lib/neo4j/spatial/jars/gt-shapefile/vecmath-1.3.2.jar +0 -0
  36. data/lib/neo4j/spatial/jars/json-simple-1.1.jar +0 -0
  37. data/lib/neo4j/spatial/jars/log4j-1.2.14.jar +0 -0
  38. data/lib/neo4j/spatial/jars/neo4j-spatial-0.3-SNAPSHOT.jar +0 -0
  39. data/lib/neo4j/spatial/layer.rb +60 -0
  40. data/lib/neo4j/spatial/listener.rb +29 -0
  41. data/lib/neo4j/spatial/osm.rb +52 -0
  42. data/lib/neo4j/spatial/shapefile.rb +50 -0
  43. data/lib/neo4j/spatial/version.rb +5 -0
  44. data/lib/neo4j/spatial.rb +56 -0
  45. data/neo4j-spatial.gemspec +31 -0
  46. metadata +158 -0
@@ -0,0 +1,31 @@
1
+ lib = File.expand_path('../lib/', __FILE__)
2
+ $:.unshift lib unless $:.include?(lib)
3
+
4
+ require 'neo4j/spatial/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "neo4j-spatial"
8
+ s.version = Neo4j::Spatial::VERSION
9
+ s.platform = 'java'
10
+ s.authors = "Craig Taverner"
11
+ s.email = 'craig@amanzi.com'
12
+ s.homepage = "http://github.com/craigtaverner/neo4j-spatial.rb"
13
+ s.rubyforge_project = 'neo4j-spatial'
14
+ s.summary = "JRuby access to Neo4j-Spatial"
15
+ s.description = <<-EOF
16
+ Neo4j-Spatial adds GIS and spatial analysis capabilities to the Neo4j Graph Database. This allows you to load spatial data,
17
+ like points, lines, polygons and more complex geometries, index them and perform fast spatial queries on them. It includes
18
+ specific support for OSM data, and Simple Feature data (as found in Shapefile format), but can be layered on top of any
19
+ existing Neo4j database with spatial data, or data with some spatial elements. The Neo4j-Spatial.rb wrapper allows you to
20
+ access Neo4j-Spatial features from the convenience of the Ruby scripting language.
21
+ EOF
22
+
23
+ s.require_path = 'lib'
24
+ s.files = Dir.glob("{bin,lib,examples}/**/*").reject{|x| x=~/tmp/} + %w(README.rdoc CHANGELOG CONTRIBUTORS Gemfile neo4j-spatial.gemspec)
25
+ s.has_rdoc = true
26
+ s.extra_rdoc_files = %w( README.rdoc )
27
+ s.rdoc_options = ["--quiet", "--title", "Neo4j-Spatial.rb", "--opname", "index.html", "--line-numbers", "--main", "README.rdoc", "--inline-source"]
28
+ s.required_ruby_version = ">= 1.8.7"
29
+ s.add_dependency('neo4j',">= 1.0.0")
30
+ s.add_dependency('amanzi-sld',">= 0.0.1")
31
+ end
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: neo4j-spatial
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: java
12
+ authors:
13
+ - Craig Taverner
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-01-03 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: neo4j
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 23
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
34
+ version: 1.0.0
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: amanzi-sld
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 29
46
+ segments:
47
+ - 0
48
+ - 0
49
+ - 1
50
+ version: 0.0.1
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ description: |
54
+ Neo4j-Spatial adds GIS and spatial analysis capabilities to the Neo4j Graph Database. This allows you to load spatial data,
55
+ like points, lines, polygons and more complex geometries, index them and perform fast spatial queries on them. It includes
56
+ specific support for OSM data, and Simple Feature data (as found in Shapefile format), but can be layered on top of any
57
+ existing Neo4j database with spatial data, or data with some spatial elements. The Neo4j-Spatial.rb wrapper allows you to
58
+ access Neo4j-Spatial features from the convenience of the Ruby scripting language.
59
+
60
+ email: craig@amanzi.com
61
+ executables: []
62
+
63
+ extensions: []
64
+
65
+ extra_rdoc_files:
66
+ - README.rdoc
67
+ files:
68
+ - lib/neo4j/spatial/osm.rb
69
+ - lib/neo4j/spatial/database.rb
70
+ - lib/neo4j/spatial/layer.rb
71
+ - lib/neo4j/spatial/jars/gt-main/xercesImpl-2.4.0.jar
72
+ - lib/neo4j/spatial/jars/gt-main/gt-api-2.7-M3.jar
73
+ - lib/neo4j/spatial/jars/gt-main/jdom-1.0.jar
74
+ - lib/neo4j/spatial/jars/gt-main/jts-1.11.jar
75
+ - lib/neo4j/spatial/jars/gt-main/gt-main-2.7-M3.jar
76
+ - lib/neo4j/spatial/jars/json-simple-1.1.jar
77
+ - lib/neo4j/spatial/jars/log4j-1.2.14.jar
78
+ - lib/neo4j/spatial/jars/gt-render/jai_codec-1.1.3.jar
79
+ - lib/neo4j/spatial/jars/gt-render/imageio-ext-tiff-1.0.7.jar
80
+ - lib/neo4j/spatial/jars/gt-render/gt-render-2.7-M3.jar
81
+ - lib/neo4j/spatial/jars/gt-render/gt-coverage-2.7-M3.jar
82
+ - lib/neo4j/spatial/jars/gt-render/gt-cql-2.7-M3.jar
83
+ - lib/neo4j/spatial/jars/gt-render/imageio-ext-utilities-1.0.7.jar
84
+ - lib/neo4j/spatial/jars/gt-render/jai_core-1.1.3.jar
85
+ - lib/neo4j/spatial/jars/gt-render/jai_imageio-1.1.jar
86
+ - lib/neo4j/spatial/jars/neo4j-spatial-0.3-SNAPSHOT.jar
87
+ - lib/neo4j/spatial/jars/gt-shapefile/jsr-275-1.0-beta-2.jar
88
+ - lib/neo4j/spatial/jars/gt-shapefile/geoapi-2.3-M1.jar
89
+ - lib/neo4j/spatial/jars/gt-shapefile/gt-data-2.7-M3.jar
90
+ - lib/neo4j/spatial/jars/gt-shapefile/vecmath-1.3.2.jar
91
+ - lib/neo4j/spatial/jars/gt-shapefile/gt-shapefile-2.7-M3.jar
92
+ - lib/neo4j/spatial/jars/gt-shapefile/commons-pool-1.5.4.jar
93
+ - lib/neo4j/spatial/jars/gt-shapefile/gt-metadata-2.7-M3.jar
94
+ - lib/neo4j/spatial/jars/gt-shapefile/gt-referencing-2.7-M3.jar
95
+ - lib/neo4j/spatial/jars/gt-shapefile/geoapi-pending-2.3-M1.jar
96
+ - lib/neo4j/spatial/cmd.rb
97
+ - lib/neo4j/spatial/shapefile.rb
98
+ - lib/neo4j/spatial/image.rb
99
+ - lib/neo4j/spatial/listener.rb
100
+ - lib/neo4j/spatial/version.rb
101
+ - lib/neo4j/spatial.rb
102
+ - examples/osm_import.rb
103
+ - examples/test.rb
104
+ - examples/export_layer.rb
105
+ - examples/map2.osm
106
+ - examples/osm_layer.rb
107
+ - examples/map.osm
108
+ - README.rdoc
109
+ - CHANGELOG
110
+ - CONTRIBUTORS
111
+ - Gemfile
112
+ - neo4j-spatial.gemspec
113
+ has_rdoc: true
114
+ homepage: http://github.com/craigtaverner/neo4j-spatial.rb
115
+ licenses: []
116
+
117
+ post_install_message:
118
+ rdoc_options:
119
+ - --quiet
120
+ - --title
121
+ - Neo4j-Spatial.rb
122
+ - --opname
123
+ - index.html
124
+ - --line-numbers
125
+ - --main
126
+ - README.rdoc
127
+ - --inline-source
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ hash: 57
136
+ segments:
137
+ - 1
138
+ - 8
139
+ - 7
140
+ version: 1.8.7
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ hash: 3
147
+ segments:
148
+ - 0
149
+ version: "0"
150
+ requirements: []
151
+
152
+ rubyforge_project: neo4j-spatial
153
+ rubygems_version: 1.3.7
154
+ signing_key:
155
+ specification_version: 3
156
+ summary: JRuby access to Neo4j-Spatial
157
+ test_files: []
158
+