Feature: spatial attribute on all resources and collections#117
Feature: spatial attribute on all resources and collections#117davemfish merged 8 commits intonatcap:mainfrom
Conversation
claire-simpson
left a comment
There was a problem hiding this comment.
Looks good to me, thanks!
|
This looks great to me! To confirm, this allows for manual entry of a spatial field for tables and archives, correct? |
Yes, there is a table_resource = geometamaker.describe('foo.csv')
raster_resource = geometamaker.describe('foo.tif')
table_resource.set_spatial(raster_resource.spatial)
# or
table_resource.spatial = raster_resource.spatialThe individual attributes of |
This is great! Thank you. |
Fixes #93
spatial: nullattribute by default, which can be set to an instance ofmodels.SpatialSchemaby the user if they wish.