doneill / koop-provider-pg

A postgis provider for koop
Apache License 2.0
13 stars 6 forks source link

Where to place id field configuration? #7

Closed maptastik closed 1 year ago

maptastik commented 2 years ago

Reading through the documentation on how to set up koop with this provider plugin, I've run into a snag with setting a custom value for the OBJECTID. The docs say I can do the following:

export PG_OBJECTID=<idField>

What I don't understand is where in the many possible files in my koop project this should go. Can you clarify where one would set this environment variable? Thanks!

doneill commented 2 years ago

@maptastik Sure, the PG_OBJECTID can be configured/added to your DB Configuration env variables.