User: vauxia Branch: HEAD Date: Tue, 01 Dec 2009 21:25:55 +0000 Added files: /modules/geo/includes/handlers geo.inc geo_simple.inc geo_sql.inc geo_sql_mysql.inc geo_sql_postgis.inc /modules/geo/modules/geo_data geo_data.install Modified files: /modules/geo geo.install geo.module Log message: SOME VERY LARGE AND IMPORTANT CHANGES! 1. One of my big TODO items has been to document the OGC specifications for geospatial data and consistently implement it as an API. This commit adds an Interface class for the specification, plus implementations for MySQL, PostGIS and some strictly PHP-based calculations. These will eventually supercede some of geo.inc's functions and the files in the db directory. As of now, they do not. This allows us to account for all of the specification's functionality, and to consistently identify what's supported by the available backends. 2. Another big TODO item has been to track each geospatial dataset and its metadata in a central table. My first attempt was in the geo_data module, but is better managed by the Geo API itself. This commit adds a tracking table "{geo}" to catalog all geo datasets, and copies whatever we can find into that table. 3. Adding a handful of API functions to geo.module to access the above functionality - list handlers, load a handler, list datasets, etc. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/geo/includes/handl... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/includes/handl... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/includes/handl... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/includes/handl... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/includes/handl... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/modules/geo_da... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/geo.install&ol... http://cvs.drupal.org/diff.php?path=contributions/modules/geo/geo.module&old...