Closed krishnaglodha closed 1 year ago
Does the generated mbtiles file not work? have you loaded it in something like tileserver-gl to see what it generated?
I do something like this in my project.
In my Wireless database I have a process that exports geojson daily https://github.com/acalcutt/WifiDB/blob/master/wifidb/tools/daemon/geojsond.php
Then, on a different server, I pull that data and process it with tippecanoe in a similar way to what you are doing. https://github.com/acalcutt/wifidb-tileserver-gl/blob/master/convert/convert.sh
Maybe a zoom level thing? at zoom 4 I wouldn't expect that big of a file
I tried same command without -l
and it worked
Oh, the problem is that -l
takes a layer name argument. You could do -l poly poly.json
to specify that the layer name is poly
and that the input file is poly.json
. As it is, it is trying to use your input file poly.json
as the layer name and to read input from a pipe (or from the terminal).
(Tippecanoe is now maintained at https://github.com/felt/tippecanoe.)
thanks for the input @e-n-f
I'm trying to create
.mbtile
for a simple geojson which has 2 features onlyusing following command
tippecanoe -z4 --projection=EPSG:4326 -o poly.mbtiles -l poly.json
but for some reason it's not creating mbtiles. I tried waiting till 10 minutesthese 2 files are created. I also tried with bigger data set and still I got 2 files with same size.