New answers tagged sqlite
You may find the following code from tilemaker relevant: https://github.com/systemed/tilemaker/blob/master/src/coordinates.cpp I don't have any experience with osm2vectortiles because I find Docker and npm about as appealing as sandpapering my eyeballs, but I presume it uses the same tile layout.
Now I have some trouble, I try to fill my geometry column with the following code : for i in range(0,len(list)): cur.execute("INSERT INTO %s (geometry) VALUES ('Polygon Z ((%s %s %s, %s %s %s, %s %s %s, %s %s %s))')" %(table_facette, Xp1[i], Yp1[i], Zp1[i], Xp2[i], Yp2[i], Zp2[i], Xp3[i], Yp3[i], Zp3[i], Xp1[i], Yp1[i], Zp1[i])) conn.commit() I got ...
The Example from the spatialite cookbook https://www.gaia-gis.it/gaia-sins/spatialite-cookbook/html/new-geom.html denotes: SELECT AddGeometryColumn('test_geom', 'the_geom', 4326, 'POINT', 'XY'); Strings are quoted here, so try to modify your comand to cur.execute("SELECT AddGeometryColumn('%s', '%s', %s, '%s', '%s')" %(table_name, geometry_column_name, ...
Unfortunately, it appears the Offline Tool is not working correctly in version 2.14.3 however, I did a very basic test of the nightly build 2.15.0-26 and the tool performed as expected. I am hopeful that the tool will be functional in 2.16.
Top 50 recent answers are included