geopython / pygeometa

pygeometa is a Python package to generate metadata for geospatial datasets
https://geopython.github.io/pygeometa
Other
104 stars 44 forks source link

Feature Request: Import of CSV + New metadata profiles #184

Open KoalaGeo opened 2 years ago

KoalaGeo commented 2 years ago

We're considering the potential to merge the functionality of a couple of other projects into pygeometa

Namely the ability to submit CSV files as - https://github.com/AstunTechnology/gemini_csv_import

We'd also need to add profiles for two further metadata standards (based on ISO 19139) to allow validation / creation of XML/JSON:

The ability of pygeometa to use the existing .sch files instead of writing .j2 might be worth investigating?

What are the groups thoughts?

tomkralidis commented 1 year ago

@KoalaGeo

cc @pvgenuchten @kalxas for any additional comments/suggestions

pvgenuchten commented 1 year ago

Interesting @KoalaGeo, thanx for sharing. I happened to work on a similar workflow last week at https://github.com/pvgenuchten/pyGeoDataCrawler. I use a jinja2 template approach to populate mcf with csv fields, before using pygeometa to transform it to iso19139, see https://github.com/pvgenuchten/pyGeoDataCrawler/blob/main/geodatacrawler/templates/csv.j2

Sure would be interesting to have some of this functionality as part of pygeometa, i hadn't considered it yet. I'll give a look to your approach.