Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix readme duplications

  • Loading branch information...
commit 50c53c343c572c0f304c08170bebb752356e7049 1 parent 174d315
@nofxx nofxx authored
Showing with 15 additions and 20 deletions.
  1. +15 −20 README.rdoc
View
35 README.rdoc
@@ -21,7 +21,7 @@ If you are using Spatial Adapter, *remove it first*.
=== Dependencies
-- georuby
+- georuby gem
- postgres 8.3+
- postgis 1.3+
@@ -30,22 +30,17 @@ If you are using Spatial Adapter, *remove it first*.
Add dependency to Gemfile:
- gem "postgis_adapter", :git => 'git://github.com/nofxx/postgis_adapter.git'
-
+ gem "postgis_adapter"
-=== Rails 2
+Or, to use latest from repository:
- gem install postgis_adapter -v 0.7.8
+ gem "postgis_adapter", :git => 'git://github.com/nofxx/postgis_adapter.git'
-====== PostGIS SQL Scripts
-This is only for PostgreSQL databases:
-Place the following scripts in a folder named 'spatial' under the 'db' folder; For example:
- RAILS_ROOT/db/spatial/lwpostgis.sql
- RAILS_ROOT/db/spatial/spatial_ref_sys
+=== Rails 2
-These will be used when creating the Test database when running the Rake Test tasks. These scripts should have been installed when the PostGIS libraries were installed. Online reference: http://postgis.refractions.net/
+ gem install postgis_adapter -v 0.7.8
== How to Use
@@ -268,6 +263,7 @@ Types:
=== PostGIS Helper Scripts
+Optional, this will create postgis enabled database automatically for you.
Helpers to create postgis template database. At time of writing,
postgis.sql and spatial_ref_sys.sql are used.
@@ -281,17 +277,16 @@ Find where your OS put those sql files and:
rake postgis:template path/to/sqls/folder
-==== From project
-
+==== Vendorize
-Place the files in a folder named 'spatial' under the 'db' folder:
+Place the following scripts in a folder named 'spatial' under the 'db' folder; For example:
- RAILS_ROOT/db/spatial/postgis.sql
- RAILS_ROOT/db/spatial/spatial_ref_sys.sql
+ RAILS_ROOT/db/spatial/lwpostgis.sql
+ RAILS_ROOT/db/spatial/spatial_ref_sys
-These will be used when creating the Test database when running the
-Rake Test tasks. These scripts should have been installed when the
-PostGIS libraries were installed.
+These will be used when creating the Test database when running the Rake Test tasks.
+These scripts should have been installed when the PostGIS libraries were installed.
+Online reference: http://postgis.refractions.net/
=== Fixtures
@@ -369,7 +364,7 @@ Postgis Adapter is released under the MIT license.
== Support
-Tested using rails 2.2.2/2.3.3 / postgresql 8.3.7 / postgis 1.3.3 / linux / osx
+Tested using activerecord 3+ / postgresql 8.5+ / postgis 1.5+ / linux / osx
Any questions, enhancement proposals, bug notifications or corrections:
Please sign in to comment.
Something went wrong with that request. Please try again.