[MS4W-Users] Getting blank tiles in google maps

vaibhavgarg vaibhavkumargarg at gmail.com
Fri Sep 9 00:58:52 EST 2011


woohooo High Five!

The map renders now and I am glad to have reached the first step.

For this project the end requirements are rather complex and I am bound to
have trouble due to lack of knowledge and difficultly in finding information
online.

Can you give me some advice on how to learn more about Projections and GIS
is general, books, online resources etc as I look forward to doing a lot
more mapping work.


Thanks once again Brent.

Warm regards,
Vaibhav G


On Fri, Sep 9, 2011 at 1:55 AM, Brent Fraser [via OSGeo.org] <
ml-node+6773619-1603857014-354000 at n2.nabble.com> wrote:

> Your extents and units are wrong.  They must be valid for the projection
> specified.  Change to
>
> UNITS METERS
>
> and remove the LAYER EXTENTS.
>
> Best Regards,
> Brent Fraser
>
>
> On 9/8/2011 2:20 PM, vaibhavgarg wrote:
>
> * Ok now it is back to the empty tiles.. here is what the map file looks
> like:
> That other error shows up anytime I specify a unknown projection..a side
> product maybe. *
>
> MAP
>   NAME WMS_Server
>   SIZE 256 256
>   UNITS dd
>   EXTENT -2.290993 50.833757 -1.766036 51.105957
>   FONTSET '../etc/fonts.txt'
>   SYMBOLSET '../etc/symbols.txt'
>   STATUS ON
>   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"
>       "no_defs"
>   END
>   IMAGECOLOR 255 255 255
>   IMAGEQUALITY 95
>   IMAGETYPE png
>   OUTPUTFORMAT
>     NAME png
>     DRIVER 'GD/PNG'
>     MIMETYPE 'image/png'
>     IMAGEMODE RGB
>     EXTENSION 'png'
>   END
>
>   WEB
>     IMAGEPATH '/tmp/ms_tmp/'
>     IMAGEURL '/tmp/'
>     METADATA
>       'wms_title'           'Hampshire'
>       'wms_onlineresource'  'http://localhost:8088/cgi-bin/mapserv.exe?map=C:/ms4w/apps/gmap/htdocs/hampshire.map'
>       'wms_srs'             'EPSG:4326'
>       'wms_enable_request'  '*'
>     END
>     TEMPLATE 'fooOnlyForWMSGetFeatureInfo'
>   END
>
>   LAYER
>     NAME 'HampshireAreas'
>     TYPE POLYGON
> 	DEBUG ON
>     TEMPLATE fooOnlyForWMSGetFeatureInfo
>     EXTENT -2.290993 50.833757 -1.766036 51.105957
>     DATA 'C:/ms4w/apps/gmap/data/HampshireAreas.shp'
>     METADATA
>       'wms_title' 'HampshireAreas'
>     END
>     PROJECTION
> 	"proj=tmerc"
> 	"lat_0=49"
> 	"lon_0=-2"
> 	"k=0.9996012717"
> 	"x_0=400000"
> 	"y_0=-100000"
> 	"ellps=airy"
> 	"datum=OSGB36"
> 	"units=m"
> 	"no_defs"
>     END
>     STATUS DEFAULT
>     CLASS
>        NAME 'HampshireAreas'
>        STYLE
>          WIDTH 0.91
>          OUTLINECOLOR 0 0 0
>          COLOR 73 135 43
>        END
>     END
>   END
> END
>
>
> ------------------------------
> View this message in context: Re: Getting blank tiles in google maps<http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-tp6746323p6773599.html>
>
> Sent from the ms4w-users mailing list archive<http://osgeo-org.1803224.n2.nabble.com/ms4w-users-f4995553.html>at Nabble.com.
>
>
> _______________________________________________
> MS4W-Users mailing list[hidden email] <http://user/SendEmail.jtp?type=node&node=6773619&i=0>
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>
> _______________________________________________
> MS4W-Users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=6773619&i=1>
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-tp6746323p6773619.html
>  To unsubscribe from Getting blank tiles in google maps, click here<http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6746323&code=dmFpYmhhdmt1bWFyZ2FyZ0BnbWFpbC5jb218Njc0NjMyM3wtMTE2NTcxOTk2Nw==>.
>
>


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Getting-blank-tiles-in-google-maps-tp6746323p6774941.html
Sent from the ms4w-users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20110908/59f8b433/attachment-0001.htm 


More information about the MS4W-Users mailing list