Skip to content

Commit

Permalink
Added IGN Slopes
Browse files Browse the repository at this point in the history
  • Loading branch information
StC-OSM authored Feb 20, 2022
1 parent c4c4497 commit 2ae1e67
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions IGN-slopes.txt
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;
3 changes: 2 additions & 1 deletion Makefile
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

0 comments on commit 2ae1e67

Please sign in to comment.