Questions tagged [utfgrid]

UTFGrid is a specification for rasterized interaction data.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

OpenLayers UTFGrid placeholders not resolved

I am trying to implement an UTFGrid layer on my OL 7.5.2 map, according to this sample: https://openlayers.org/en/latest/examples/utfgrid.html. However, when creating the layer, the placeholders in ...
0 votes
0 answers
30 views

Read utfgrid with maplibre-gl

Is there any way to display a UTF-Grid interaction in maplibre-gl, like there is with Leaflet? I have read through the maplibre-gl documentation, but i haven't found anything like a UTF-Grid source. ...
1 vote
0 answers
58 views

Population density grid confusion

I have a multi polygons data where red means most populated and white means less populated. I created a gridded population density (image on the right) out of them, but the result seems not quite make ...
1 vote
2 answers
375 views

Carto UTF Grid in OpenLayers 5

Openlayers doesn't seem to support the URL that Carto prefers for getting UTF Grids. import TileLayer from 'ol/layer/Tile'; import UTFGrid from 'ol/source/UTFGrid'; const newUTFLayer = new TileLayer(...
0 votes
1 answer
119 views

UTFGrid grid map generated by TileMill v0.10.1 looks off from the actual map

I have been trying to create UTFGrid from shapefiles using TileMill v0.10.1. For some reason the grid map it generated looks like it is stretched from the original map. For Example: This is the ...
0 votes
1 answer
597 views

serving UTFgrid information made with mb-util with leaflet

I've created the mbtiles file with tilemill and exported it on my ubuntu webfolder with the following command: mb-util --scheme=xyz /folder/tile.mbtiles /var/www/html/my-tiles To get utfgrid ...
6 votes
0 answers
784 views

Creating dynamically filtered layers using Tilestache/Mapnik?

I'm using Tilestache to generate two layers with the mapnik and mapnik grid providers, and it's working great! However, I want users to be able to filter the data over many (more than ten) dimensions,...
3 votes
1 answer
2k views

Calculate bounding box + buffer for rendering a map tile with mapnik library

Mapnik library has a Projection object (I'm using Python bindings): spherical_mercator = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +...
1 vote
1 answer
182 views

PostGIS raster to UTFGrid

I am trying to create a UTFgrid JSON with a Raster in PostGIS. The goal is to provide weather data for web maps. I found some libraries: https://github.com/Ecotrust/create-utfgrids https://github....
1 vote
1 answer
458 views

Geoserver get UTFGrid in Zoom, X, Y format

I am trying to overlap an UTF grid on a WMS layer in order to interact with it. As front end library I am using leaflet and the layers are served by GeoServer. Now, I found some Leaflet plugins that ...
1 vote
2 answers
786 views

Access MBTiles png and json using tilestache?

I've got a Tilestache server running locally with an MBTiles source file. I can get the PNG tiles without problem, but I'm having a hard time figuring out how to also get the UTFgrid. Is it possible ...
1 vote
1 answer
73 views

Tilestache Multiple Grids results in PostGIS error

I've got a PostGIS database which Mapnik and Tilestache pull from. The mapnik xml has multiple layers as I'm pulling from different tables depending on the zoom - and these different tables have ...
1 vote
2 answers
1k views

Display GeoServer's UTFGrid output in OpenLayers 3

GeoServer added UTFGrid output for vector features starting from the 2.9-beta version. It is implemented as a WMS service output format. After installing GeoServer 2.9-beta, adding a datastore with a ...
3 votes
1 answer
1k views

How to display UtfGrid info

First off sorry if this question have been asked, I have been looking for an answer for some time now but can't find any solution. I have created a .mbtiles file with Tilemill, extracted the .png and ...
1 vote
0 answers
141 views

UTFGrid and line features: UTFGrid not consistently triggering mouse events for line features

[Update: My first solution works (notes below), but I'm still interested in responses to the second solution I suggested.] Original Post: Has anyone experienced and resolved difficulties with ...
0 votes
0 answers
112 views

UTFgrid to shapefile

Is it possible to transform utf grid documents into shape files? I only have the utfgrid files and wish to use the shape files to render outlines on a map.
1 vote
0 answers
316 views

Serving Dynamic Tiles

I want to display data (tiles and utfgrid info) inside MSSQL on top of google maps using Mapnik. I have looked into mapnik and setup a small prototype both with tilestache and also with node-mapnik ...
0 votes
2 answers
135 views

How to make interactive OpenStreetMap layers in TileMill?

If I'm reading the UTFGrid spec right, you can only have 65,501 different interactive features. Or more precisely, every feature needs a unique ID in the range 0-65501. TileMill uses UTFGrid for its ...
0 votes
3 answers
868 views

Get basic image/utf grid tile URLs from CartoDB visualization?

I'd like to add the layers from a CartoDB visualization to a Leaflet map directly (NOT through CartoDB.js). My visualization has one image tile layer generated from data, and one utf grid tile layer ...
1 vote
0 answers
277 views

UTFGrid from raster source

Is it possible to make utfgrids from a raster source (e.g. GeoTIFF)? I am trying to get utfgrids from a .tif with mapnik.xml and TileStache but it seems not to be working. As a workaround I am ...
2 votes
0 answers
397 views

UTFGrid and custom tiles in OpenLayers

This is my first post here so I apologize in advance if a convention is escaping me in the question format. I am trying to display information from utfgrid in OpenLayers. I am using custom tiles in a ...
3 votes
1 answer
303 views

Displaying large number of polygons on web map?

I've started working on a project with a huge number of polygons, and I'm unsure of how to display/host it. The map I'd like to end up with will have three layers: 1) Shaded polygons representing ...
8 votes
3 answers
2k views

Create interactive map with no server

I have managed to build a great web mapping application using tiles created from GeoWebCache and a custom gridset, but I now need to add an overlay to the base maps. The only interactivity I need is a ...
5 votes
2 answers
3k views

How Can I make UTFGrid files?

I have been looking at the UTFGrid specification and the usage of UTFGrid in Openlayers. How do I create the required UTFGrid files for my data in PostGIS?
3 votes
1 answer
1k views

Displaying UTFGrids with Mapnik and TileStache

I'm new to using Mapnik and TileStache. The reason i wanted to use these two pieces of software was to understand the UTFGrid specification i've seen used all over the place ( examples here, here, ...
2 votes
1 answer
344 views

TileStache & UTF Grid provider is having unexpected results

I am having some weird output by the UTF grid provider in Tilestache on specific shapefiles; Specifically shapefiles reprojected from Census TIGER files. I know my server is configured correctly ...