add geometry type and gist indexing