Fascinating, thanks for sending the link! Since you state that you only get blank images when you try it out, perhaps it is a projection mis-match? It appears that your mapfile extents are defined in meters, which would match spherical mercator, but your layer is in EPSG 4326. What if you make your extents be in lat/lon instead?
Roger -- On Mon, Jan 19, 2009 at 10:29 AM, Chad Clabaugh <cclaba...@centwire.com>wrote: > Thanks for your reply Roger. The spec for tilemode is at > http://mapserver.org/output/tile_mode.html But I'll definitely look into > TileCache as well. > > > > > > *From:* Roger André [mailto:ran...@gmail.com] > *Sent:* Monday, January 19, 2009 12:03 PM > *To:* Chad Clabaugh > *Cc:* mapserver-users@lists.osgeo.org > *Subject:* Re: [mapserver-users] google tiles > > > > Hi Chad, > > I wasn't aware that "tile" is a valid mode of operation for Mapserver. I > looked on http://mapserver.org/cgi/controls.html and didn't see it > referenced there, but its entirely possible that it exists and that I've > just missed it. In any case, the way I'm familiar with generating google > map tiles is via the use of Tilecache. Tilecache works as in intermediary > between Mapserver and your Google map. It make the appropriate request to > Mapserver for a tile, and then returns the tile to your map. I think this > might be the solution you're looking for, http://tilecache.org/. > > Best of luck, > > Roger > -- > > On Mon, Jan 19, 2009 at 6:50 AM, Chad Clabaugh <cclaba...@centwire.com> > wrote: > > Greetings, > > I have been trying to generate google tiles from shapefiles using > mapserver. I have been able to successfully generate maps by calling the > url > http://0.0.0.0/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&mode=map. > but when I attempt to use the url > http://172.18.154.186/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&mode=tile&tile=4+6+4 > I receive only empty images, regardless of tile specified. > > > > Thanks for any help! > > > > MAP > > NAME COVERAGE > > STATUS ON > > SIZE 1400 900 > > EXTENT 639000.000000 4535300.000000 689900.000000 4582600.000000 > > UNITS METERS > > SHAPEPATH "shapefiles" > > IMAGECOLOR 220 220 220 > > > > IMAGETYPE PNG > > > > PROJECTION > > "init=epsg:4326" > > END > > > > LAYER > > NAME CoverageMap > > TYPE POLYGON > > STATUS DEFAULT > > DATA notforchad > > > > CLASS > > STYLE > > OUTLINECOLOR 255 128 128 > > COLOR 225 0 0 > > END > > END > > > > END > > END > > > > Chad Clabaugh > > Technical Support, Engineering > > Office: 260.760.6398 > > Mobile: 260.466.8861 > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users