diff --git a/articles/intro.html b/articles/intro.html index 8fe51da..68d379f 100644 --- a/articles/intro.html +++ b/articles/intro.html @@ -186,7 +186,7 @@
Note that a temporary GeoPackage
-(/tmp/RtmpvJqhkn/Rgpkg1d6e35f09722.gpkg) is automatically created when
+(/tmp/Rtmp2dDbAM/Rgpkg1cba2f16d082.gpkg) is automatically created when
using the geopackage(<list>)
constructor.
You also may have a DBIConnection to a GeoPackage database already opened that you want to use. In any case (character, @@ -252,8 +252,8 @@
gpkg_tbl(g, "gpkg_contents")
#> # Source: table<gpkg_contents> [4 x 10]
-#> # Database: sqlite 3.45.0 [/tmp/RtmpvJqhkn/file1d6e7d779478.gpkg]
+#> # Database: sqlite 3.45.0 [/tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg]
#> table_name data_type identifier description last_change min_x min_y max_x
#> <chr> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl>
#> 1 DEM1 2d-gridded… DEM1 "" 2024-03-03… 6.01 49.7 6.27
@@ -354,12 +354,12 @@ Method 1: gpkg_table_pragma()
head(gpkg_table_pragma(g))
#> dsn table_name nrow table_info.cid
-#> 1 /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg DEM1 1 0
-#> 2 /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg DEM1 1 1
-#> 3 /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg DEM1 1 2
-#> 4 /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg DEM1 1 3
-#> 5 /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg DEM1 1 4
-#> 6 /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg DEM2 1 0
+#> 1 /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg DEM1 1 0
+#> 2 /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg DEM1 1 1
+#> 3 /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg DEM1 1 2
+#> 4 /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg DEM1 1 3
+#> 5 /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg DEM1 1 4
+#> 6 /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg DEM2 1 0
#> table_info.name table_info.type table_info.notnull table_info.dflt_value
#> 1 id INTEGER 0 <NA>
#> 2 zoom_level INTEGER 1 <NA>
@@ -389,7 +389,7 @@ Method 2: gpkg_vect()
an
#> geometry : polygons
#> dimensions : 1, 0 (geometries, attributes)
#> extent : 6.008333, 6.266667, 49.69167, 49.94167 (xmin, xmax, ymin, ymax)
-#> source : file1d6e7d779478.gpkg (bbox)
+#> source : file1cba35ea0acf.gpkg (bbox)
#> coord. ref. : lon/lat WGS 84 (EPSG:4326)
The table of interest need not have a geometry column, but this
method does not work on GeoPackage that contain only gridded data, and
@@ -400,7 +400,7 @@
Method 2: gpkg_vect()
an
#> geometry : none
#> dimensions : 0, 2 (geometries, attributes)
#> extent : 0, 0, 0, 0 (xmin, xmax, ymin, ymax)
-#> source : file1d6e7d779478.gpkg (SELECT)
+#> source : file1cba35ea0acf.gpkg (SELECT)
#> coord. ref. :
#> names : table_name feature_count
#> type : <chr> <int>
@@ -444,10 +444,10 @@ gpkg_rast()
#> resolution : 0.008333333, 0.008333333 (x, y)
#> extent : 6.008333, 6.266667, 49.69167, 49.94167 (xmin, xmax, ymin, ymax)
#> coord. ref. : lon/lat WGS 84 (EPSG:4326)
-#> sources : file1d6e7d779478.gpkg:DEM1
-#> file1d6e7d779478.gpkg:DEM2
-#> varnames : file1d6e7d779478
-#> file1d6e7d779478
+#> sources : file1cba35ea0acf.gpkg:DEM1
+#> file1cba35ea0acf.gpkg:DEM2
+#> varnames : file1cba35ea0acf
+#> file1cba35ea0acf
#> names : DEM1, DEM2
#> min values : ? , 195
#> max values : ? , 500
@@ -468,7 +468,7 @@ gpkg_table()
gpkg_table(g, "gpkg_contents")
#> # Source: table<gpkg_contents> [4 x 10]
-#> # Database: sqlite 3.45.0 [/tmp/RtmpvJqhkn/file1d6e7d779478.gpkg]
+#> # Database: sqlite 3.45.0 [/tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg]
#> table_name data_type identifier description last_change min_x min_y max_x
#> <chr> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl>
#> 1 DEM1 2d-gridded… DEM1 "" 2024-03-03… 6.01 49.7 6.27
@@ -525,7 +525,7 @@ Managing Connections#> sqlite_sequence
#> --------------------------------------------------------------------------------
#> <SQLiteConnection>
-#> Path: /tmp/RtmpvJqhkn/file1d6e7d779478.gpkg
+#> Path: /tmp/Rtmp2dDbAM/file1cba35ea0acf.gpkg
#> Extensions: TRUE
# disconnect
diff --git a/pkgdown.yml b/pkgdown.yml
index e34aaf4..24dcb1f 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -3,5 +3,5 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
intro: intro.html
-last_built: 2024-03-03T18:09Z
+last_built: 2024-03-03T18:53Z
diff --git a/reference/gpkg-srs.html b/reference/gpkg-srs.html
index 4dbd344..30f2469 100644
--- a/reference/gpkg-srs.html
+++ b/reference/gpkg-srs.html
@@ -122,7 +122,7 @@ Arguments
description
-_character. Description
+character. Description
@@ -137,8 +137,7 @@ Value
-gpkg_list_srs()
: vector of values from specified column_name
-
+gpkg_create_spatial_ref_sys()
: integer. Result of running sequential gpkg_execute()
statements. This method is run for the side-effect of creating the table if needed, and adding any "default" records.
gpkg_add_spatial_ref_sys()
: integer result of executing SQL statement
diff --git a/reference/gpkg_table.html b/reference/gpkg_table.html
index 1a2e78d..690fb5f 100644
--- a/reference/gpkg_table.html
+++ b/reference/gpkg_table.html
@@ -166,7 +166,7 @@ Examples
# inspect gpkg_contents table
gpkg_table(g, "gpkg_contents")
#> # Source: table<gpkg_contents> [2 x 10]
-#> # Database: sqlite 3.45.0 [/tmp/Rtmpr2SDGF/file1b9b66ac6855.gpkg]
+#> # Database: sqlite 3.45.0 [/tmp/Rtmp45BfrU/file1aebb51cf93.gpkg]
#> table_name data_type identifier description last_change min_x min_y max_x
#> <chr> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl>
#> 1 DEM1 2d-gridded-co… DEM1 "" 2024-03-03… 6.01 49.7 6.27
@@ -178,7 +178,7 @@ Examples
#> geometry : none
#> dimensions : 0, 10 (geometries, attributes)
#> extent : 0, 0, 0, 0 (xmin, xmax, ymin, ymax)
-#> source : file1b9b66ac6855.gpkg (SELECT)
+#> source : file1aebb51cf93.gpkg (SELECT)
#> coord. ref. :
#> names : table_name data_type identifier description last_change min_x
#> type : <chr> <chr> <chr> <chr> <chr> <num>
diff --git a/reference/gpkg_validate.html b/reference/gpkg_validate.html
index 8430534..c6057e8 100644
--- a/reference/gpkg_validate.html
+++ b/reference/gpkg_validate.html
@@ -69,19 +69,25 @@ Validate a GeoPackage
Arguments
- x
-Path to GeoPackages
+A geopackage object, or character path to GeoPackage
- diagnostics
-Return a list containing diagnostics (missing table names, invalid values, other errors)
+Return a list containing individual diagnostic test results (see Details)
Value
-TRUE
if valid. FALSE
if one or more problems are found. For full diagnostics run with diagnostics = TRUE
to return a list containing results for each input GeoPackage.
+logical. TRUE
if valid. FALSE
if one or more problems are found. For full diagnostics run with diagnostics = TRUE
to return a list containing results for each test run on the input GeoPackage.
+
+ Details
+ Several tests are run on the input GeoPackage, including:
required_tables
: logical. TRUE
if gpkg_contents
and gpkg_spatial_ref_sys
tables exist
+has_contents
: logical. TRUE
if the number of rows in gpkg_contents
table is greater than 0
and all tables listed in gpkg_contents
are in the database
+has_spatial_tables
: logical. TRUE
if the number of tables in gpkg_contents
with data_type
"features"
or "2d-gridded-coverage"
is greater than 0
+