minus34 / gnaf-loader

A quick way to get started with Geoscape's open GNAF & Admin Boundaries
Apache License 2.0
182 stars 66 forks source link

The presence of the `gid` column #32

Closed CMCDragonkai closed 6 years ago

CMCDragonkai commented 6 years ago

The gid column isn't the primary key. It's only used for serial auto increment of numbers. It doesn't seem useful. Perhaps there's no need to export this gid column?

minus34 commented 6 years ago

The gid field makes it possible to parallel process the data in some platforms/frameworks. e.g. Python. Other than that it's a lightweight surrogate ID

On 6 April 2018 at 13:38, Roger Qiu notifications@github.com wrote:

The gid column isn't the primary key. It's only used for serial auto increment of numbers. It doesn't seem useful. Perhaps there's no need to export this gid column?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/minus34/gnaf-loader/issues/32, or mute the thread https://github.com/notifications/unsubscribe-auth/ABucvqHcFJ5L11uoqp_VKci3VnYaRp4eks5tluNIgaJpZM4TJdn8 .