Tag Info

New answers tagged

3

You could resort to using Mapproxy. It can read a z/x/y Tile source and provide a range of output services, including WMS. You probably can just use your directory with the tile layout as a cache backend. MapProxy Documentation Tile source (via http) docs Cache documenation Services You can install MapProxy on Windows if you have the right ammount of ...


0

Rather obvious mistake... The file format should have been --format=mbtiles which is pretty obvious. I'll leave this question to see if someone upvotes it or I'll delete it later.


0

Creating a mosaic from your source images takes only a few seconds if you use GDAL virtual raster as output. Read http://www.gdal.org/gdal_vrttut.html and http://www.gdal.org/gdalbuildvrt.html Often the artifacts like you have can also be avoided by taking care that the individually warped images are aligned to use a common canvas. This can be achieved by ...


0

one option is to download the osm data for the required country and view it uisng QGIS ... you might want to refer to this link .. How do I load OSM vector data in QGIS 2.x?


1

Selfrendering for smaller regions is easy with maperitive. The result almost looks like original Openstreetmap tiles. For browsing, Openlayers is all you need. Instead of fetching online tiles, you can supply an adress on disk using file:///, or use a local apache server to use http://localhost. Qlandkarte is also able to load locally stored tiles using ...


0

I found that I only get the extent of the polygon by using feature class in a file geodatabase. Whenever I used a shapefile I got the entire map.


0

What's the network tab in your browser tools telling you? Is it requesting tiles from a server? Is it returning an error message? Did you set the tile_layer parameter to something valid in your rails app before rendering to HTML? For example, http://{s}.tile.osm.org/{z}/{x}/{y}.png?


0

Your browser can load your local XYZ tiles. Check this tutorial at BostonGIS which shows how to do this relative to OpenLayers. The thinking should transfer to Leaflet or whatever else you want to use. You should install and setup Apache or IIS so that your development machine can behave like a server and serve itself the tiles in the same manner as any ...


1

I would definitely recommend going with the flow you're thinking of now (your geometries in CartoDB, your tiles in Mapbox, point to those tiles from CartoDB). The data problem is a big one! If you can, I would use the basic Mapbox map editor (web-based, not TileMill). There you are essentially styling Mapbox's data, so you don't have to think about that, ...


1

Bing Maps, Google Maps, OpenStreetMap and others use a Tiling scheme which has the following properties: Tiles are 256 × 256 pixel PNG files Each zoom level is a directory, each column is a subdirectory, and each tile in that column is a file Filename(url) format is /zoom/x/y.png This has been described in detail on MSDN as well as the ...


0

i just found out that MBTiles format does exactly that: Maps that cover large areas of solid color like ocean or empty land can contain thousands of duplicate, redundant tiles. As example, a tile in the middle of the pacific ocean might look like this: At higher zoom levels this could lead to millions of solid blue tiles, all exactly the same. ...


1

According to the docs, you should be able to change the cache directory by setting the GEOWEBCACHE_CACHE_DIR parameter in GeoServer's web.xml file: To set a different directory, stop GeoServer (if it is running) and add the following code to your GeoServer web.xml file (located in the WEB-INF directory): <context-param> ...


3

Just edit the renderd.conf and add a section for your second style (make sure the "URI" entry points to a different path than that of your default style). For example, my renderd.conf contains the sections [default] XML=/etc/mapnik-osm-carto-data/osm.xml URI=/osm/ DESCRIPTION=This is the standard osm mapnik style HOST=host.my CORS=* MINZOOM=0 MAXZOOM=20 ...


1

I've put a lot of time into trying to get route-me to render vectors. In my opinion using the built in vector rendering, RMPath and markers does not scale to the amount of data needed to render a map. That doesn't mean that route-me isnt an isn't an option, you could use mapnik to do the rendering, then pass the data to route-me to render. As of now there ...


0

Thanks for the solution. I was thinking of manipulating OSM.XML file to change the projection information and get a reprojected map on-the-fly. For example, I followed this tutorial but could not get the result. Just wondering if you have any experience in this regard. UPDATE: To have a map with a custom projection (rather than OSM default EPSG:3857), you ...


0

I am feeding my vector data into a OSM-like postgis database, and use Mapnik to render tiles from that (only the vector data, not together with other data). The mapnik style allows to create a transparent background: Map bgcolor="#ffffff" For displaying, I use openlayers, but leaflet should do as well: http://powerland.bplaced.net/osm-power.htm


0

I wouldn't recommend to alter the projection already at the DB level, as a lot of tools rely on the default projection for OSM: Instead try to use e.g. Mapproxy to reproject the output tiles.


3

Version 5 of the Mapbox Streets vector tiles includes the house number in a new layer. I used the following to add them to the starting style: #housenum_label { text-name: '[house_num]'; text-face-name: @sans; text-fill: darken(#cde, 20%); text-size: 9; }



Top 50 recent answers are included