This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Remove vendored gems.

  • Loading branch information...
crowbot committed Feb 2, 2013
1 parent 1f596da commit 6a1ff7ca3e0f3ee69d801298e9b0f798dbbf6ceb
Showing 1,965 changed files with 0 additions and 249,796 deletions.
@@ -1,138 +0,0 @@
---- !ruby/object:Gem::Specification
-name: GeoRuby
-version: !ruby/object:Gem::Version
- prerelease: false
- segments:
- - 1
- - 3
- - 4
- version: 1.3.4
-platform: ruby
-authors:
-- Guilhem Vellut
-autorequire:
-bindir: bin
-cert_chain: []
-
-date: 2009-03-19 00:00:00 +00:00
-default_executable:
-dependencies: []
-
-description: GeoRuby is intended as a holder for data returned from PostGIS and MySQL Spatial queries. The data model roughly follows the OGC "Simple Features for SQL" specification (see www.opengis.org/docs/99-049.pdf), although without any kind of advanced functionalities (such as geometric operators or reprojections)
-email: guilhem.vellut@gmail.com
-executables: []
-
-extensions: []
-
-extra_rdoc_files:
-- README
-files:
-- lib/geo_ruby/shp4r/dbf.rb
-- lib/geo_ruby/shp4r/shp.rb
-- lib/geo_ruby/simple_features/envelope.rb
-- lib/geo_ruby/simple_features/ewkb_parser.rb
-- lib/geo_ruby/simple_features/ewkt_parser.rb
-- lib/geo_ruby/simple_features/geometry.rb
-- lib/geo_ruby/simple_features/geometry_collection.rb
-- lib/geo_ruby/simple_features/geometry_factory.rb
-- lib/geo_ruby/simple_features/georss_parser.rb
-- lib/geo_ruby/simple_features/helper.rb
-- lib/geo_ruby/simple_features/line_string.rb
-- lib/geo_ruby/simple_features/linear_ring.rb
-- lib/geo_ruby/simple_features/multi_line_string.rb
-- lib/geo_ruby/simple_features/multi_point.rb
-- lib/geo_ruby/simple_features/multi_polygon.rb
-- lib/geo_ruby/simple_features/point.rb
-- lib/geo_ruby/simple_features/polygon.rb
-- lib/geo_ruby.rb
-- test/test_ewkb_parser.rb
-- test/test_ewkt_parser.rb
-- test/test_georss_kml.rb
-- test/test_shp.rb
-- test/test_shp_write.rb
-- test/test_simple_features.rb
-- README
-- MIT-LICENSE
-- rakefile.rb
-- test/data/multipoint.shp
-- test/data/point.shp
-- test/data/polygon.shp
-- test/data/polyline.shp
-- test/data/multipoint.dbf
-- test/data/point.dbf
-- test/data/polygon.dbf
-- test/data/polyline.dbf
-- test/data/multipoint.shx
-- test/data/point.shx
-- test/data/polygon.shx
-- test/data/polyline.shx
-- tools/db.yml
-- tools/lib/spatial_adapter/test/db/database_mysql.yml
-- tools/lib/spatial_adapter/test/db/database_postgis.yml
-- tools/lib/spatial_adapter/init.rb
-- tools/lib/spatial_adapter/lib/common_spatial_adapter.rb
-- tools/lib/spatial_adapter/lib/mysql_spatial_adapter.rb
-- tools/lib/spatial_adapter/lib/post_gis_adapter.rb
-- tools/lib/spatial_adapter/rakefile.rb
-- tools/lib/spatial_adapter/test/access_mysql_test.rb
-- tools/lib/spatial_adapter/test/access_postgis_test.rb
-- tools/lib/spatial_adapter/test/common/common_mysql.rb
-- tools/lib/spatial_adapter/test/common/common_postgis.rb
-- tools/lib/spatial_adapter/test/find_mysql_test.rb
-- tools/lib/spatial_adapter/test/find_postgis_test.rb
-- tools/lib/spatial_adapter/test/fixture_mysql_test.rb
-- tools/lib/spatial_adapter/test/fixture_postgis_test.rb
-- tools/lib/spatial_adapter/test/migration_mysql_test.rb
-- tools/lib/spatial_adapter/test/migration_postgis_test.rb
-- tools/lib/spatial_adapter/test/models/models_mysql.rb
-- tools/lib/spatial_adapter/test/models/models_postgis.rb
-- tools/lib/spatial_adapter/test/schema/schema_mysql.rb
-- tools/lib/spatial_adapter/test/schema/schema_postgis.rb
-- tools/shp2sql.rb
-- tools/lib/spatial_adapter
-- tools/lib/spatial_adapter/lib
-- tools/lib/spatial_adapter/MIT-LICENSE
-- tools/lib/spatial_adapter/README
-- tools/lib/spatial_adapter/test
-- tools/lib/spatial_adapter/test/common
-- tools/lib/spatial_adapter/test/db
-- tools/lib/spatial_adapter/test/models
-- tools/lib/spatial_adapter/test/schema
-has_rdoc: true
-homepage: http://thepochisuperstarmegashow.com/projects/
-licenses: []
-
-post_install_message:
-rdoc_options:
-- --main
-- README
-require_paths:
-- lib
-required_ruby_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- segments:
- - 0
- version: "0"
-required_rubygems_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- segments:
- - 0
- version: "0"
-requirements:
-- none
-rubyforge_project:
-rubygems_version: 1.3.6
-signing_key:
-specification_version: 2
-summary: Ruby data holder for OGC Simple Features
-test_files:
-- test/test_ewkb_parser.rb
-- test/test_ewkt_parser.rb
-- test/test_georss_kml.rb
-- test/test_shp.rb
-- test/test_shp_write.rb
-- test/test_simple_features.rb
@@ -1,7 +0,0 @@
-Copyright (c) 2006 Guilhem Vellut <guilhem.vellut+georuby@gmail.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,83 +0,0 @@
-=GeoRuby
-
-This is GeoRuby 1.3.0 It is intended as a holder for data returned from PostGIS and the Spatial Extensions of MySql. The data model roughly follows the OGC "Simple Features for SQL" specification (see http://www.opengis.org/docs/99-049.pdf), although without any kind of advanced functionalities (such as geometric operators or reprojections). It also supports various output and input formats (GeoRSS, KML, Shapefile).
-
-===Available data types
-The following geometric data types are provided :
-- Point
-- Line string
-- Linear ring
-- Polygon
-- Multi point
-- Multi line string
-- Multi polygon
-- Geometry collection
-
-They can be in 2D, 3DZ, 3DM, and 4D.
-
-On top of this an Envelope class is available, to contain the bounding box of a geometry.
-
-===Input and output
-These geometries can be input and output in WKB/EWKB/WKT/EWKT format (as well as the related HexWKB and HexEWKB formats). HexEWKB and WKB are the default form under which geometric data is returned respectively from PostGIS and MySql.
-
-GeoRSS Simple, GeoRSS W3CGeo, GeoRSS GML can also be input and output. Note that they will not output valid RSS, but just the part strictly concerning the geometry as outlined in http://www.georss.org/1/ . Since the model does not allow multiple geometries, for geometry collections, only the first geometry will be output. Similarly, for polygons, the GeoRSS output will only contain the outer ring. As for W3CGeo output, only points can be output, so the first point of the geometry is chosen. By default the Simple format is output. Envelope can also be output in these formats: The box geometric type is chosen (except for W3CGeo, where the center of the envelope is chose). These formats can also be input and a GeoRuby geometry will be created. Note that it will not read a valid RSS file, only a geometry string.
-
-On top of that, there is now support for KML output and input. As for GeoRSS, a valid KML file will not be output, but only the geometric data. Options <tt>:id</tt>, <tt>:extrude</tt>, <tt>:tesselate</tt> and <tt>:altitude_mode</tt> can be given. Note that if the <tt>:altitude_mode</tt> option is not passed or set to <tt>clampToGround</tt>, the altitude data will not be output even if present. Envelopes output a LatLonAltBox instead of a geometry. For the output, the following geometric types are supported : Point, LineString, Polygon.
-
-===SHP reading et writing
-Georuby has support for reading ESRI shapefiles (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf). A tool called <tt>shp2sql.rb</tt> is also provided : it shows how to use the SHP reading functionality together with the spatial adapter plugin for Rails to import spatial features into MySQL and PostGIS.
-
-Here is an example of Shapefile reading, that goes through all the geometries in a file and disaply the values of the attributes :
- ShpFile.open(shpfile) do |shp|
- shp.each do |shape|
- geom = shape.geometry #a GeoRuby SimpleFeature
- att_data = shape.data #a Hash
- shp.fields.each do |field|
- puts att_data[field.name]
- end
- end
- end
-
-Support for ESRI shapefile creation and modification has been added as well. New shapefiles can be created given a geometry type and specifications for the DBF fields. Data can be added and removed from an existing shapefile. An update operation is also provided for convenience : it just performs a 'delete' and an 'add', which means the index of the modified record will change. Note that once a shapefile has been created, GeoRuby does not allow the modification of the schema (it will probably be done in a subsequent version).
-
-Here is an example of how to create a new Shapefile with 2 fields :
- shpfile = ShpFile.create('hello.shp',ShpType::POINT,[Dbf::Field.new("Hoyoyo","C",10),Dbf::Field.new("Boyoul","N",10,0)])
-The file is then open for reading and writing.
-
-Here is an example of how to write to a shapefile (created or not with GeoRuby) :
- shpfile = ShpFile.open('places.shp')
- shpfile.transaction do |tr|
- tr.add(ShpRecord.new(Point.from_x_y(123.4,123.4),'Hoyoyo' => "AEZ",'Bouyoul' => 45))
- tr.update(4,ShpRecord.new(Point.from_x_y(-16.67,16.41),'Hoyoyo' => "EatMe",'Bouyoul' => 42))
- tr.delete(1)
- end
- shpfile.close
-
-Note the transaction is just there so the operations on the files can be buffered. Nothing happens on the original files until the block has finished executing. Calling <tt>tr.rollback</tt> at anytime during the execution will prevent the modifications.
-
-Also currently, error reporting is minimal and it has not been tested that thoroughly so caveat emptor and backup before performing any destructive operation.
-
-===Installation
-To install the latest version, just type :
- gem install GeoRuby
-
-===Changes since the last version
-- Writing of ESRI shapefiles
-- Reading of ESRI shapefiles
-- Addition of a small tool to import spatial features in MySQL and PostGIS from a SHP file
-
-===Coming in the next versions
-- Schema modification of existing shapefiles
-- More error reporting when writing shapefiles
-- More tests on writing shapefiles ; tests on real-world shapefiles
-- Better shp2sql import tool
-- Documentation
-
-===Acknowledgement
-The SHP reading part uses a modified version of the DBF library (http://rubyforge.org/projects/dbf/) by Keith Morrison (http://infused.org). Thanks also to Pramukta Kumar and Pete Schwamb for their contributions.
-
-===License
-GeoRuby is released under the MIT license.
-
-===Support
-Any questions, enhancement proposals, bug notifications or corrections can be sent to mailto:guilhem.vellut@gmail.com.
@@ -1,16 +0,0 @@
-require 'geo_ruby/simple_features/helper'
-require 'geo_ruby/simple_features/geometry'
-require 'geo_ruby/simple_features/point'
-require 'geo_ruby/simple_features/line_string'
-require 'geo_ruby/simple_features/linear_ring'
-require 'geo_ruby/simple_features/polygon'
-require 'geo_ruby/simple_features/multi_point'
-require 'geo_ruby/simple_features/multi_line_string'
-require 'geo_ruby/simple_features/multi_polygon'
-require 'geo_ruby/simple_features/geometry_collection'
-require 'geo_ruby/simple_features/envelope'
-require 'geo_ruby/simple_features/geometry_factory'
-require 'geo_ruby/simple_features/ewkb_parser'
-require 'geo_ruby/simple_features/ewkt_parser'
-require 'geo_ruby/simple_features/georss_parser'
-require 'geo_ruby/shp4r/shp'
Oops, something went wrong.

0 comments on commit 6a1ff7c

Please sign in to comment.