New answers tagged

1

There is a good explanation at the OSM wiki. It boils down to projecting EPSG:4326 coordinates to EPSG:3857 and working the X and Y coordinates of the tile from the X and Y coordinates in that CRS. The "generalized" way to provide tiles for any CRS is TMS.


1

Although quite old, I stumbled upon this page with the same question- How do I fill the extents of a raster to a defined tile grid? The problem I was having is that all grid squares at the edge of my raster that were partially filled by the raster extents were being missed by a gdal_translate loop. Seeing as it took me a while to figure out the issues I was ...


1

The easiest ways would be either using Tilemill (works standalone and offline) or QGIS with the QTiles plugin. Both allow you to render your tiles.


0

Maybe you van also have a closer look at libosmscout. (found via Frameworks in the OSM wiki) Not sure myself whether it has tile display, but at least own offline vector map rendering in C++.


2

What you see if the effect of the camera's central projection (the image is projected through the camera's focal point). This means that there is a radial distortion where protruding objects in the images appear to lean away from the center. This is direct effect of object height and the distance from image nadir (center). The production of so-called "true ...


1

One way would be to serve the layer from GeoServer in GeoJSON format, and on the client side digest the layer with Mapbox-GL.js, then let MapboxGL convert & render the layer as a vector tile. This is not a recommended approach for very layer vector layers, but I have had success with layers with under 10 million vertices. Check out: ...


0

Marble is open source, written in C++ and supports online and offline tile viewing. Apart from that there is a long list of desktop software for OSM in the OSM wiki.


1

You wrote L.titleLayer, but it should be L.tileLayer. You also provided an URL that does not serve tiles (individual PNG or JPEG images), but an .html file that contains the complete code with a map already (try opening it, you'll see). You should use this URL from the Leaflet tutorial instead: ...


0

As far as I have understood your question is mainly about zooming and rotating a png-image in C++. If this is correct the problem boils down to finding the proper image-processing library. I can suggest libpng for displaying, but for manipulation (including rotation) you may want to have a look at openCV or at Magick++.


1

You could use CartoType (http://www.cartotype.com/index.html). The library supports map rendering, routing, turn by turn navigation, and geocoding. For a comprehensive list of frameworks visit http://wiki.openstreetmap.org/wiki/Frameworks. There are numerous other frameworks in the OSM environment depending on your needs.


1

As far as I know, there is no way to do that, someone would have to write a GWC TileLayer similar to ArcGisCache and then maybe also add a way to configure it from UI (e.g., going back to ArcGisCache, right now afaik you have to manually add the jar to the GeoServer, then manually change the GWC configuration file on disk, and force GeoServer to reload the ...



Top 50 recent answers are included