Tag Info

New answers tagged

1

Jakub Kania was correct in his comment that the date/time have to be added to the url to make it different from the url of tiles in the cache. You have to subclass OpenLayers.Layer.XYZ for that: OpenLayers.Layer.CustomXYZ = OpenLayers.Class(OpenLayers.Layer.XYZ, { getURL: function () { var url = OpenLayers.Layer.XYZ.prototype.getURL.apply(this, ...


1

The OpenStreetMap tiles are pre-rendered in Web-Mercator (i.e. EPSG:3857) and hence you can't get them in your projection, and show it in this map. You have two options: Tile your data in Web Mercator Download OSM data, and then create tiles for it your Projection.


0

I've found problem by myself at the end. The reason why it didn't work is because my tiles were created using gdal2tiles and they were created using TMS scheme while examples at http://tileserver.maptiler.com/#nasa/ol3 works only for tiles generated using MapTiler which renders tiles following XYZ schema. Difference between those 2 types is well explained ...


0

I guess you are mixing different things: OSM (and different other map providers, too) deliver maps as so called 'tiles' that are delivered and organized via a so called Tile Map Service standard. You can find the specs for the URL (or folder) structures here. You find different servers that support a TMS rendering. OSM itself uses Mapnik, that supports ...


1

Here's solution in C#: private const double MinLatitude = -85.05112878; private const double MaxLatitude = 85.05112878; private const double MinLongitude = -180; private const double MaxLongitude = 180; public static Tuple<int, int> LatLongToTileXY(double latitude, double longitude, int z) { int tileX; int ...


0

You can create a model in ArcGIS to do this. Actually, you need to create two models: a nested submodel and the full model. Make sure that each contour featureclass has a text field with the name of the featureclass (e.g. Contours1, Contours2...). If there are any differences in the fields, you will not be able to transfer that information to the merge ...


0

If the contour files are already tiled and don't overlap you could use a bounding box tool (i.e. Creates a shape file of the bounding box of an input file) for each contour file and then Append the boxes. A simple script could be used for the operation if you have too many contour files to do it manually. Whitebox GAT has a bounding box tool (Layer ...


1

Here's an example for C# for an envelope (i.e. polygon bounding box). This will grab extra tiles for irregular polygons, avoiding that will be complex. The Envelope class is this method is a MapDotNet object but it should be pretty obvious what the fields mean. /// <summary> /// Gets the quad tree node indicies. /// Returns the min x,y ...


1

If you don't plan on maintaining/upgrading a web application, its typically a good idea to leave the services that it utilizes alone as well. Because version 1.4 of the Esri JavaScript API was released years and years before ArcGIS Server was re-engineered/redesigned in its current native 64 bit form, there was no way for the developers to ensure that it ...



Top 50 recent answers are included