Tag Info

Hot answers tagged

5

I am not sure if I completely understand what your application is doing. Are you sending a query to postGIS every time the bbox changes and then render the response as a vector layer? If that's the case, in my experience, there are no obvious solutions to the problem. No magic bullets yet, but still solutions can be found, here some ideas: Maybe not what ...


4

A. I don't think tilestache will have problem with serving 200 users (assuming that they're really just human users, not some bot scraping the server) from MBTiles. B. Client side caching isn't really determined by the server architecture. So it is possible to use MBTiles (or another caching solution) on the client side, if you want to. See MapBox IOS ...


4

The default OSM preview page's URL is ip_address:port_number/osm/preview.html#10/37.8000/-122.2600 which indicate the zoom level is 10, so I guess you did not export mbtiles file up to that zoom level that's why TileStache generates empty page then you could manually change the zoom level and lat/lon value to force TileStache to work out preview page. I ...


3

You will need a Linux machine to deploy what you have been working on. I would use nginx as webserver/reverse proxy (because it serves static tiles very fast), the rest (tilestache,django) are very familiar on Linux distro (Ubuntu particularly), you can find many tutorials about deployment of Django + nginx on Google.


2

Does anyone know how i can display the UTF Character overlays by themselves? Something like this is done by glower - it'd be possible to just display all grids all the time. i want to understand more about how this technology works. I assume the utfgrid overlays are drawing as vector tiles beneath the image tiles but firebug isn't showing me much. ...


2

Using OpenJump to calculate the affine transformation parameters yields: Scale x: 0.02550720529745378 Scale y: 0.025669710194697357 Rotation: -88.6538203230914 Dx: 357101.9 (Translation x) Dy: 4512814.6 (Translation y) These parameters when properly applied should transform your shapefile from the local CRS that it uses to WGS84/UTM Zone 17 North ...


2

Use OpenLayers.Layer.XYZ instead. TMS is just XYZ with the Y flipped for historical non-reasons.


1

I would try to use the tilestache-seed.py script: https://github.com/TileStache/TileStache/blob/master/scripts/tilestache-seed.py You can get the bounds of your parcel (which units depend on the units of your data) and pass it into the script. use the '-x', '--ignore-cached' options to force the tiles to be regenerated. Since your data is coming from ...


1

Not a lot of documentation about that parameter, but I was able to get my configuration working by specifying "png options": {"palette256": True} in my layer configuration.


1

You can use tilestache to output to a mbtiles, it is documented here Documentation Looking at this you change the configuration file to have "provider": { "name": "mbtiles", "tileset": "collection.mbtiles" }


1

In Tilestache you specify the following array of resolution in the projection object: [5545984, 2772992, 1386496, 693248, 346624, 173312, 86656, 43328, 21664, 10832, 5416, 2708, 1354, 677, 338.5, 169.25, 84.625, 42.3125, 21.15625, 10.578125, 5.2890625, 1] You told us that you are using the same resolutions as link #2 which are: [234.375, 117.1875, ...


1

How about GeoServer? Geoserver's development is guided by the OGC and it is the reference implementation for many geospatial web standards. It was the latter fact that 'sold' it to me when I was looking for something similar to you. Geoserver provides you with a single and very accessible UI rater than the rather bitty feel of other web-mapping stacks. ...


1

There's an existing MapBox iOS SDK that pulls raster tiles rather than vector tiles, but is native. It can bring in other vector sources for overlays, like GeoJSON and KML, if necessary. TileStache is a Python map server, not a Obj-C map client.


1

Srisa, I know it's been many months since you asked this question, but I've just had to grapple with the same issue. Turns out that the zoom limit of 18 is in modestmaps.js, not TileStache, and you can get around it by adding a call to .setZoomRange() in TileStache/Core.py. Here are lines 729-746: <body> <div id="map"></div> ...


1

When I set a value of 1 to the zoomOffset, the tilestache layer is visible. Bing maps zoom levels start with 0. Looks like the tiles layer (like google) starts with 1. By giving a proper offset, tiles of the required zoom level are being requested and shown.


1

I had the same problem. Almost drove me crazy - documentation is a bit scarce and I started to look in the sources. Turned out to be a bug in the mapnik library (installed from some Ubuntu PPA). After cloning the git repository and building everything from source, it is working fine now. Note that the UTFGrid spec has provisions to avoid the character ...


1

Likely too late but here is a good example I found: https://gist.github.com/1716010. I had to draw 30000 features and found that canvas performs quite a bit better than svg.



Only top voted, non community-wiki answers of a minimum length are eligible