about 6 months ago - No comments
Below is a summary of how I was able to implement Mapserver, TileCache and Route-Me iPhone Mapping Framework. 1. Assuming you have a working Mapserver/TileCache setup. Take note of the ff parameters: resolution and bbox. Below is my tilecache.cfg: 61 [mapserver_australia_3857] 62 type=MapServerLayer 63 mapfile=/Users/rupert/projects/pelicancorp/DMOB/trunk/map/australia_3857.map 64 layers=all 65 extension=jpg 66 bbox=-20037508.34, -20037508.34, 20037508.34, 20037508.34 68
about 1 year ago - No comments
Got this one from IRC this morning.. In order to recache single tiles in TC, as long as it is not metatile (metatile=false), then we can simply append “FORCE=1″ in the URL.. http://192.168.2.14/tilecache/tilecache.py?FORCE=1&LAYERS=beijing_900913_wide_en&MAP=%2Fmyhome%2Fmap%2Fbeijing%2Fnew%2Fbeijing_900913_wide_en%2Fbeijing.map&FORMAT=jpg&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A900913&BBOX=12951949.03168994,4852222.893873828,12952101.905746482,4852375.767930372&WIDTH=256&HEIGHT=256 Well for completeness, I gave my ofcmate a DELETE tool which wipes out everything in the /tilecache/map_dir directory..
about 2 years ago - No comments
Just a couple of notes to onself using gdal: Use gdalwarp to reproject your GeoTIFF files! I wanted to use my own satellite images acquired from GeoEye, however, on some areas I wanted to use google sat images as well since I don’t have the coverage. In order to do so, I need to reproject
about 2 years ago - No comments
There is a problem with a “jpeg decoder” because Python Imaging Library (PIL) cannot find the jpeg libraries. Remember that we installed kyngchaos UnixIO libraries, therefore the PIL setup.py script should point to use those libraries. Actually, I even installed the jpegsrc manually. I believe there is no need to do this, since UnixIO Image
about 2 years ago - No comments
I had a few problems with TileCache the other week which I am eager to blog about, since I knew for sure that later on, I might encounter the same. I don’t have the exact errors with me right now, so I’m jotting this down from my head… Classic Resolutions problem. Use extent_type=loose Can not
about 3 years ago - No comments
1. Install Apache ./configure –prefix=/usr/local/apache2 –enable-so –enable-rewrite –with-mpm=prefork make make install rm -Rf /usr/local/apache2/htdocs/* 2. Install mod_python-3.3.1 ./configure –with-apxs=/usr/local/apache2/bin/apxs make make install 3. Install Python Imaging Library (PIL) – Imaging-1.1.6 python setup.py install Note: To check if PIL was successfully installed: #python selftest.py ***Test Failed*** 1 failures. *** 1 tests of 57 failed. 47 ln
about 3 years ago - No comments
I am now able to do tilecache using TileCache1.3 from metacarta. Base from archives (archive-user.txt) From crschmidt at metacarta.com Wed Nov 22 17:54:29 2006 From: crschmidt at metacarta.com (Christopher Schmidt) Date: Wed, 22 Nov 2006 17:54:29 -0500 Subject: [OpenLayers-Users] TileCache – Tiling issues In-Reply-To: <4564D326.6020607@refractions.net> References: <4564D326.6020607@refractions.net> Message-ID: <20061122225429.GA18180@metacarta.com> On Wed, Nov 22, 2006
about 3 years ago - No comments
1. Downloaded TileCache1.8 from http://www.tilecache.org/ 2. Get the current releases of python and mod_python. http://www.python.org/download/releases/2.5/ http://httpd.apache.org/modules/python-download.cgi -> click on win32 binaries. Get the mod_python-3.3.1.win32-py2.5-Apache2.2.exe if your Apache is running on 2.2. http://www.pythonware.com/products/pil/ http://effbot.org/downloads/PIL-1.1.6.win32-py2.5.exe 3. Install python2.5 4. Install mod_python and python_imaging. 5. Edit httpd.conf LoadModule python_module modules/mod_python.so <directory> AddHandler python-program .py PythonHandler test PythonDebug