-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PRAGMA foreign_keys=OFF; | ||
BEGIN TRANSACTION; | ||
CREATE TABLE IF NOT EXISTS "tiles" ("x" INTEGER NOT NULL, "y" INTEGER NOT NULL, "z" INTEGER NOT NULL, "s" INTEGER, "image" BLOB, "time" INTEGER, PRIMARY KEY ("x", "y", "z")); | ||
CREATE TABLE IF NOT EXISTS "info" ("useragent" TEXT, "minzoom" TEXT, "maxzoom" TEXT, "url" TEXT, "randoms" TEXT, "referer" TEXT, "ellipsoid" INTEGER, "inverted_y" INTEGER, "tilesize" TEXT, "timeSupported" TEXT, "timecolumn" TEXT, "expireminutes" TEXT, "tilenumbering" TEXT); | ||
INSERT INTO info VALUES('OsmAnd Maps CFNetwork','6','16','https://wxs.ign.fr/altimetrie/geoportail/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=GEOGRAPHICALGRIDSYSTEMS.SLOPES.MOUNTAIN&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={0}&TILEROW={2}&TILECOL={1}&FORMAT=image/png','','',0,0,'256','yes','yes','43200','simple'); | ||
CREATE INDEX "index_tiles_on_x" ON "tiles" ("x"); | ||
CREATE INDEX "index_tiles_on_y" ON "tiles" ("y"); | ||
CREATE INDEX "index_tiles_on_z" ON "tiles" ("z"); | ||
CREATE INDEX "index_tiles_on_s" ON "tiles" ("s"); | ||
COMMIT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
all: | ||
rm *.sqlitedb | ||
sqlite3 "IGN Scan25.sqlitedb" < IGN-scan25.txt | ||
sqlite3 "IGN maps.sqlitedb" < IGN-maps.txt | ||
sqlite3 "IGN Maps.sqlitedb" < IGN-maps.txt | ||
sqlite3 "IGN Slopes.sqlitedb" < IGN-slopes.txt |