New answers tagged

0

If you use latest MapTiler version from http://www.maptiler.com/ to generate the tiles, it will directly produce for you an ready to use openlayers.html viewer. You clearly use a very old version of MapTiler - as the viewer you show here is based on the old OpenLayers (v2) and the XML file is not anymore generated by recent MapTiler versions. Instead, there ...


0

I wrote some R codes to manually create the properties files which is generated by geoserver (actually by GeoTools). The codes are not perfect, but work for me. I post here for other who will need them in R. geoserver_retile <- function( input_file, target_dir, levels = 8) { # Call gdal_retile to generate tiles cmd <- paste0( ...


2

You can create these files anywhere that you do have write permission and then move them. You could use some GeoTools code to construct the image pyramid as a user that does have write permission.


2

I know this is a late answer, but since I found this question when looking up a similar problem, I will post this here for future reference. The main point is that by default OpenLayers 3 follows the widely-used Google grid where x 0 and y 0 are in the top left. Grids like TMS where x 0 and y 0 are in the bottom left can be used by using the {-y} placeholder ...


0

Note: this "answer" is partially (A) am going to share the result/answer as pointed by comments of my question, (B) i need to show image not possible in comment, and (C) maintain the flow of: question --> comment of question --> showing result. @Andrea Aime, I tried the "buffer" parameter in WMS. It worked! Unfortunately I can not found examples/docs ...


3

You are right that metatiles alone do not prevent cutting the symbols. In the picture below with 3x3 metatiles the inner star symbol will not be cut but the outer will because it is on the border of the metatile. With symbols you can get a perfect result by using "gutter" parameter with a value that is bigger than half of the size of the biggest symbol. ...


2

Projection of this kind of files is sinusoidal. For this one: ftp://ladsweb.nascom.nasa.gov/allData/6/MOD13Q1/2016/129/MOD13Q1.A2016129.h07v06.006.2016147112419.hdf the next code can access to coordinates for 256 values for subDatasets[0][0] (NDVI values). from osgeo import gdal import struct nameraster = "/home/zeito/Desktop/MOD13Q1.A2016129.h07v06....


0

Yes. It's possible. http://jsfiddle.net/5Lkpbbr8/ Change chroma to 0%. Raster layer will become desaturated whereas vector layer remain colored.


0

Would it be technically possible to have Mapbox's compact vector tile format sent to the client (instead of PNG tiles), then rendered inside the browser with JS code That's exactly what Mapbox-GL-JS does. Leaflet.MapboxVectorTile is another option, implemented as a plugin to Leaflet. when using TM2/Mapbox Studio, why are the tiles rendered remotely? ...



Top 50 recent answers are included