Tag Info

New answers tagged

0

Finally I found a method. Using tilemill server to call via url the tiles individually.


1

Solved. It is a QGIS bug with mbtiles format. I have QGIS 2.6.1-Brighton. It shifted the mbtiles 3m south. If I load the mbtiles file in my leaflet project, it fits perfectly.


0

SRS 900913 is not supported by QGIS anymore. It has been officially replaced by EPSG:3857, but the mapnik people still stick to their 900913. The projection has some pitfalls which are only solved if QGIS recognizes it correctly. If you load data from a OSM postgis database, a custom CRS will be created for it. You don't write how you add the tilemill ...


1

Yes, regex is supported with the =~ operator. For example, [name=~'^.{12,}$'] { text-name: ''; } will remove labels above a certain length. You can find this and more examples in this Advanced CartoCSS techniques slide deck.


0

I've been working on this exact same workflow, and would point out that you can use the MBTiles extension for Geoserver to serve the .mbtiles file directly, no need to unpack it. This has worked well for me, I just copy the .mbtiles file onto the server in the Geoserver data directory and then use it as a datastore. However, here is a little bit of ...


1

If you create xyz tiles with mbutil, you don't need GeoServer. Mapping libraries like OpenLayers and Leaflet can read the image tiles directly from the tile folder mbutil creates. For example, you create tiles in a folder called 'mytiles' and you place that folder in the root directory of your web server. The URL you pass to your mapping library to create ...


2

I've found a solution that seems to work. After trying to find an explanation of the different parameters to the index.js export command i found that I had to go to the source. I figured that the option --list=[file] Provide a list file for filescheme render. (Default: false) Could be what I was after. After digging a bit through the tilemill and ...


0

Try it in Firefox browser. On my end, apps that use a .json file are working fine in firefox while not working in Chrome.


0

The proper way in this example is to create the tiles with the command mb-util --grid_callback="" --scheme=xyz /folder/tile.mbtiles /var/www/html/my-tiles where "--scheme=xyz" is the standard. Furthermore make sure to call both the index.html as well as the utfgrid tiles from the same "server". So make sure to call http://localhost/index.html in your ...



Top 50 recent answers are included