bcgov / designatedlands

Python script to combine conservation related spatial data from many sources to create a single 'Designated Lands' layer for British Columbia
Apache License 2.0
9 stars 4 forks source link

Function to list layers in db, list fields in a layer #35

Closed ateucher closed 6 years ago

ateucher commented 7 years ago

Similar to ogrinfo and ogrListLayers

ateucher commented 6 years ago

I don't know for sure if this is the best way to go, but with the tiled processing, outputting directly from the db creates a layer chopped up by tiles... which is fine, but sometimes you want to aggregate, which is why I added the --aggregate_fields option to dump. The catch is, you don't necessarily know what fields are available to aggregate by, so this type of functionality would help

smnorris commented 6 years ago

I think this one can be closed.