Thanks for your reply Roger. The spec for tilemode is at http://mapserver.org/output/tile_mode.html But Ill definitely look into TileCache as well.
From: Roger André [mailto:[email protected]] Sent: Monday, January 19, 2009 12:03 PM To: Chad Clabaugh Cc: [email protected] 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 <[email protected]> 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 <http://0.0.0.0/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverage.map&m ode=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 <http://172.18.154.186/cgi-bin/mapserv?map=/srv/www/htdocs/mapserver/coverag e.map&mode=tile&tile=4+6+4> &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 [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
