Tag Info

New answers tagged

0

I've written a slippy map tile generator for QGIS that runs from the Python console. It renders the map exactly as displayed in QGIS (without rendering errors). Output is 256px x 256px PNG, WGS-84 pseudo-Mercator, structured in either Google Maps or TMS format. Not a plug-in but easy to use. Slippy map tile generator for QGIS


1

To download vector tiles you need to be requesting a source, not a style, and the extension is .vector.pbf For example you can download a vector tile for mapbox streets at http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6/1/1/1.vector.pbf?access_token=token


0

I changed boundaries of the layer to totally new numbers, other than on map and other than configured on GeoServer, this is the relevant code I added to Layer init: tileGrid: new ol.tilegrid.XYZ({ extent: [-380188, 5249943, 1347312, 8226943], resolutions: [2048.0, 1024.0, 361.0, 256.0, 128.0, 64.0, 32.0, 16.0, 8.0, 4.0, 2.0, ...


1

Openlayers and leaflet usually render tiles in World Mercator EPSG:3857. So you have to reproject your source file into that projection using gdalwarp, then start the tiling.


0

Literally the stupidest of problems. Forgot to include the layer in the url. As the documentation clearly points out, the URL format works like this: http://localhost:<port>/<layer-name>/<z>/<x>/<y>/<route-name> With that small change, I now have it working on my Mapbox.js map without any problems.


0

I resolved this issue in a different manner (this is an approach for relatively sparse tiles). The first time I load the tiles, I send an AJAX call back to the server and walk through the tiles directories sending back the existent tiles in a list. This list format matches the way your api request the tiles. Then, before requesting a given tile, I look ...


0

Well, I don't know how Golden Layout works, But I can Identify what is the reason behind the Issue. The problem is actually container re sizing, you can say that after the map starts rendering before the container finish to have its size. So, what you have to do You need to identify if you have a body onload event or document ready event like things ...


2

Ciao, a few things: It looks to me you are mostly rendering vector data, hence JAI does not helpat all If you are mostly serving vector data with complex styling rules, I am hoping you are using a DBMS rather than shapefiles especially for OSM. If not at global scale GeoServer will have to load all the shapefile into memory and then filters as we only ...


1

Doing such a conversion (or supporting both in the same file) was a goal of GeoPackage. It isn't just a schema change though, because of different Y order conventions - you need to use a view to support both; or update all of the tile row indexes. You can try https://launchpad.net/gpkgtools (disclaimer: I'm the author) for the mbtiles to geopackage ...


-1

No, there isn't any JS or CSS function/setting that can do this. Nor Openlayers can. If you want to make things (move/zoom) faster, as I understand, the tiles (images) have to be cached on client side, in your case, each visitor (mobile) of your website. Now, the only reasonable possibility is if you already know where your visitor is going to move, like a ...



Top 50 recent answers are included