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

Documentation of geometry column names in Tables #196

Closed
yeesian opened this issue May 21, 2021 · 1 comment · Fixed by #179
Closed

Documentation of geometry column names in Tables #196

yeesian opened this issue May 21, 2021 · 1 comment · Fixed by #179

Comments

@yeesian
Copy link
Owner

yeesian commented May 21, 2021

Copied over from #160 (comment) below.

Right now we only rename "" to "geometry". Turns out the default GEOMETRY_NAME for GeoPackage is "geom". Not that that is standard though, PostGIS has:

GEOMETRY_NAME: Set name of geometry column in new table. If omitted it defaults to wkb_geometry for > GEOM_TYPE=geometry, or the_geog for GEOM_TYPE=geography.

And MySQL for instance:

The geometry column, which defaults to SHAPE and can be overridden with the GEOMETRY_NAME layer creation option

https://gdal.org/drivers/vector/gpkg.html
https://gdal.org/drivers/vector/pg.html
https://gdal.org/drivers/vector/mysql.html

It should be turned into documentation per #160 (comment).

@yeesian
Copy link
Owner Author

yeesian commented Jun 1, 2021

This will be obsoleted by d2ae1bd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant