You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating server endpoint wich serves vector tile from elasticsearch. I'm querying geojson features for tile from elasticsearch and want geojson-vt to generate exact tile, without its parents to be more cpu-efficient. Is it possible with geojson-vt?
The text was updated successfully, but these errors were encountered:
exe-dealer
changed the title
generate exact single tile
Generate exact single tile
Jan 11, 2018
constgeojson=get_features_within_tile(z,x,y);consttileIndex=geojsonvt(geojson,{/* some magic options */});consttile=tileIndex.getTile(z,x,y);// this is what i wantconsttiles_generated_count=Object.keys(tileIndex.tiles).length;console.assert(tiles_generated_count==1);
There's no way to do that currently, since geojson-vt generates tiles top-down recursively (more info) — first slicing out z0 tile, then doing 4 z1 tiles, etc.
I'm creating server endpoint wich serves vector tile from elasticsearch. I'm querying geojson features for tile from elasticsearch and want geojson-vt to generate exact tile, without its parents to be more cpu-efficient. Is it possible with geojson-vt?
The text was updated successfully, but these errors were encountered: