[contributions:vauxia] /modules/geo/modules/geo_field geo_field.module
User: vauxia Branch: HEAD Date: Wed, 10 Jun 2009 16:39:10 +0000 Modified files: /modules/geo/modules/geo_field geo_field.module Log message: Allow CCK to handle field storage "natively" using the Schema API This means removing over 100 lines of hacky code, and prevents the addition of another pile of code to address the side-effects. This code: 1) Provides a geo API call that returns a field definition that can be used by the Schema API for creating new columns. 2) Removes all of the code in the Geo Field module that forces a field to "multiple" and then sneaks up behind CCK and molests its tables. CCK is now free to create and move Geo data with impunity. STILL TO DO Because we're adding the columns manually and not with e.g. PostGIS' AddGeometryColumn() function, we'll need to account for the post-processing and indexes on the resulting tables. That's next. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/geo/modules/geo_fi...
participants (1)
-
drupal-cvs@drupal.org