whosonfirst / whosonfirst-properties

What things mean in Who's On First documents
Other
5 stars 5 forks source link

Catalogue date:* properties #76

Open stepps00 opened 6 years ago

stepps00 commented 6 years ago

Relevant code snippet: https://github.com/whosonfirst/py-mapzen-whosonfirst-export/blame/master/mapzen/whosonfirst/export/__init__.py#L172-L199

"date:inception_lower":"",
"date:inception_upper":"",

These properties are generated whenever the export code catches an "edtf:inception" date.

thisisaaronland commented 6 years ago

This is me, so I'll take this. Basically we're parsing edtf: dates in the export code and assigning upper and lower database-friendly ranges for querying.