This may not be a bug at all, as I'm still learning about the spatial extensions. On MySQL 5.1.33 on Mac OS X 10.5,
shp2sql.rb tries to add a column with type 'multi_polygon', which generates an error. The sql statement generated is:
ALTER TABLE `zt44_d00` ADD `the_geom` multi_polygon NOT NULL
This statement will work if modified to:
ALTER TABLE `zt44_d00` ADD `the_geom` multipolygon NOT NULL
In my db.yml, I have adapter set to 'mysql'. |