Modified geounit <-> geolevel relationship

7 views
Skip to first unread message

Kenneth Shepard

unread,
Oct 20, 2011, 10:25:29 AM10/20/11
to districtb...@googlegroups.com
Greetings devs,

I've implemented a change to the model to support a many-to-many relationship between geounits and geolevels. This is required for regionalization support, and has been pushed to the regionalization branch. If you are working on the regionalization branch, please perform the following actions after updating:
  • Run the sql script: 020_alter_geounit_geolevel_relationship.sql. This will create the new relationship table, populate it, and remove the geolevel_id column from the geounit table.
  • Run setup with the -V option to regenerate views. The views now require an additional join in order to access the geolevel id.
Let me know if you have any questions.

Thanks,
Kenny

--
Kenny Shepard

Azavea  |  340 N 12th St, Suite 402, Philadelphia, PA
kshe...@azavea.com  |  T 215.701.7711  |  F 215.925.2663
Web azavea.com  |  Blog azavea.com/blogs  |  Twitter @azavea

Reply all
Reply to author
Forward
0 new messages