[mapserver-users] google tiles

Paul Ramsey pramsey at cleverelephant.ca
Mon Jan 19 23:16:28 EST 2009


You need to specify the PROJECTION of your LAYER.

P.

On Mon, Jan 19, 2009 at 6:50 AM, Chad Clabaugh <cclabaugh at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list