[mapserver-users] RE: mapserver-users Digest, Vol 12, Issue 73

Chad Clabaugh cclabaugh at centwire.com
Tue Jan 20 06:28:35 PST 2009


Am I not specifying my projection by using "init=epsg:4326" within the
PROJECTION BLOCK????  I have tried as many different projections as I can
find. Including 4326, 900913, 3785, and the following block...

PROJECTION
	"proj=merc"
	"a=6378137"
	"b=6378137"
	"lat_ts=0.0"
	"lon_0=0.0"
	"x_0=0.0"
	"y_0=0"
	"k=1.0"
	"units=m"
	"nadgrids=@null"
	"wktext"
	"no_defs"
END

...which didn't work for me.

------------------------------

Message: 3
Date: Mon, 19 Jan 2009 20:16:28 -0800
From: "Paul Ramsey" <pramsey at cleverelephant.ca>
Subject: Re: [mapserver-users] google tiles
To: "Chad Clabaugh" <cclabaugh at centwire.com>
Cc: mapserver-users at lists.osgeo.org
Message-ID:
	<30fe546d0901192016u1ad26e6fy7ec54e13da416c18 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

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&mo
de=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