Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register in table definitions which column is used as fid column #107

Open
arbakker opened this issue Jan 20, 2023 · 0 comments
Open

Register in table definitions which column is used as fid column #107

arbakker opened this issue Jan 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@arbakker
Copy link
Contributor

Since OGR/GDAL treats the fid column as a special column; it is not included in the feature attributes when outputting a feature with OGR/GDAL.

So the selection of the fid column impacts the schema of the featuretype, therefore it should be included in the schema definition. Proposal to add a fid_column field to the tables[] element in the table definitions file like this:

geopackage_validator_version: 0.7.0
projection: 3035
tables:
  - name: protected_site_nlps_nnn
    geometry_column: geom
    fid_column: fid
@RoelvandenBerg RoelvandenBerg added the enhancement New feature or request label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants