koopjs / koop-provider-s3-select

Koop provider for S3 data
2 stars 0 forks source link

Add default translations for point geometry coordinate fields. #2

Closed rgwozdz closed 5 years ago

rgwozdz commented 5 years ago

This PR adds some default geometry translations for S3 file data that is not already GeoJSON. If the collection contains the follow keys:

then a GeoJSON point geometry object will be added to the GeoJSON record. The search for the above key sets is case-insenstive, so the presence of fields like Longitude/Latitude or LONGITUDE/LATITUDE will also result in the creation of a point geometry object.