Skip to content

Instantly share code, notes, and snippets.

@ThomasG77
Created June 19, 2017 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThomasG77/6b665560fbf4d10303f529f4c70ba8cf to your computer and use it in GitHub Desktop.
Save ThomasG77/6b665560fbf4d10303f529f4c70ba8cf to your computer and use it in GitHub Desktop.
<OGRVRTDataSource>
<OGRVRTLayer name="nga_rivers">
<SrcDataSource>rivers.gpkg</SrcDataSource>
<SrcLayer>rivers</SrcLayer>
<SrcSQL>SELECT * FROM rivers</SrcSQL>
</OGRVRTLayer>
</OGRVRTDataSource>
@ThomasG77
Copy link
Author

Download the file and to try out, use

ogrinfo gpkg-rivers.vrt nga_rivers

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