New answers tagged

2

I've written a python script for this. This is the initial version of the script, so it needs to add certain values manually into the script. I've mentioned that in script. Here it is import math from pyproj import Proj, transform from PIL import Image import glob, os import sys from os import walk from os.path import join, getsize #this function would ...


0

Although AndreJ solution works fine, I found and easier way to manage local tiles in QGIS using MBTiles 1.2 (SQLite) format. SAS Planet has an option to export the downloaded tiles to this format.


9

I added aerial imagery from GIS server and created fishnet over the area of interest: I use fishnet as index layer for my data driven pages, making sure the sorting order coincides with record order in fishnet table. I applied script (see below) to travel through pages, export them to temp raster, clip it to PNG raster named after page name. Result shows ...


0

I think you can make this raster dataset to export it into other formats like image formats (.tif,.png,.sid) and then, you can add all these images into mosaic dataset and run "manage tile cache" to use as like base map or backfill layer.


1

You can do the same in QGIS with the TileLayer plugin. It needs a TAB delimited file with the path to your tiles. In the settings of the plugin, you have to point to the folder where the file is. An example line of mine: Topo Topo file:///F:/Tiles/Topo/{z}/{x}/{y}.png 1 0 16 -180 -85.0 180.0 85.0 I'm not sure if the plugin is limited ...


3

Basically you just need a PHP script that acts as a middle man and does the fetching for you, then returns what it gets directly to the client. I converted your JS snippet above into the relevant parts below. Notice that the url in your Leaflet tileLayer example has been changed to a PHP endpoint with URL parameters: ?s={s}&z={z}&x={x}&y={y} ...


1

There are a few open source implementations of GeoPackage that you can take a look at here: https://github.com/ngageoint/GeoPackage GeoPackage iOS is available via pod install for iOS. GeoPackage Android is available via gradle for Android. GeoPackage Java is available via the maven central repository for java based desktop applications. GeoPackage JS ...


2

Follow the map panes tutorial and create an explicit separate pane for the labels.


1

I solved the problem by taking a hint from this post. The problem seemed to have been that my shape files did not have the appropriate coordinate reference system (CRS) set. I fixed this by selecting all of the layers, right-click > Properties Then went to Coordinate reference system section and select the correct CRS in the drop down. On doing the next ...


0

Just tossing this in as part of the discussion on tiles, cached tiles, georeferencing, etc. Tiling schemes from what I know don't use an XY georeferencing system per se... For example, when you load the ESRI basemap into QGIS, it will create a tile stache folder structure like this: When viewing the top level images, you have requested the tiles, and ...



Top 50 recent answers are included