We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89186d7 commit 5838631Copy full SHA for 5838631
pycsw/core/repository.py
@@ -167,7 +167,8 @@ def __init__(self, database, context, app_root=None, table='records', repo_filte
167
'cloudcover': self.dataset.cloudcover,
168
'instrument': self.dataset.instrument,
169
'sensortype': self.dataset.sensortype,
170
- 'off_nadir': self.dataset.illuminationelevationangle
+ 'off_nadir': self.dataset.illuminationelevationangle,
171
+ 'gsd': self.dataset.distancevalue
172
}
173
174
if self.dbtype == 'postgresql':
@@ -864,7 +865,7 @@ def setup(database, table, create_sfsql_tables=True, postgis_geometry_column='wk
864
865
Column('crs', Text, index=True),
866
Column('geodescode', Text, index=True),
867
Column('denominator', Text, index=True),
- Column('distancevalue', Text, index=True),
868
+ Column('distancevalue', Float, index=True),
869
Column('distanceuom', Text, index=True),
870
Column('wkt_geometry', Text),
871
Column('vert_extent_min', Float, index=True),
tests/functionaltests/suites/stac_api/data/records.db
0 Bytes
0 commit comments