Hi, I'm trying to add my wms layers to Google Earth and it is failing when I’m using the GetCapabilities url in the “Web Mapping Service parameters” window (the address is working fine in ArcCatalog or IE). The error says that this WMS service has no layers that can be rendered by Google Earth.
http://ntgomap.nwtgeoscience.ca/cgi-bin/wms_test.php? VERSION=1.1.1&request=Getcapabilities&service=wms&srs=EPSG:4326 I can add individual WMS layers by entering the “GetMap” url in the Link textbox from the same map file that is failing on GetCapabilities. http://ntgomap.nwtgeoscience.ca/cgi-bin/wms_test.php? VERSION=1.1.1&request=GetMap&srs=EPSG:4326&BBOX=-146.4,52.15,- 93.6,97.74&WIDTH=500&HEIGHT=500&LAYERS=ArcheanLimits&STYLES=&FORM AT=image/png Bellow is the map file that has this behavior. I need to know what do I have to do as Google map to be able to get handle the GetCapabilities url as well. MAP DEBUG OFF NAME "NTGO_Portal_WMS" STATUS ON EXTENT -146.4 52.161287067696 -93.6 97.7368329192244 SIZE 684 561 SHAPEPATH "D:\Gomap_data\Export" SYMBOLSET "GeoPortal.symbols" FONTSET "GeoPortal.fonts" TRANSPARENT ON UNITS dd IMAGETYPE PNG24 OUTPUTFORMAT NAME PNG24 DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION PNG TRANSPARENT ON FORMATOPTION "INTERLACE=NO" END WEB MAXSCALE 40000000 MINSCALE 100 IMAGEPATH "C:\Inetpub\wwwroot\tmp\" IMAGEURL "/tmp/" LOG /tmp/log/MS_ERRORS.LOG HEADER "templates/header.html" FOOTER "templates/footer.html" TEMPLATE "set in index.html" METADATA WMS_ONLINERESOURCE 'http://ntgomap.nwtgeoscience.ca/cgi- bin/wms_test.php?' WMS_SRS 'epsg:4326' WMS_ACCESSCONSTRAINTS 'none' WMS_TITLE 'NTGO Web GIS Portal' WMS_FEATURE_INFO_MIME_TYPE 'text/html' WMS_ABSTRACT 'This Web Map Service broadcasts metadata ' END #METADATA END #WEB PROJECTION "init=epsg:4326" #unprojected lat long END LAYER NAME 'NTGOSurvey' DATA '4326Geoch_Geoph_Survey' STATUS on DUMP true # VERY IMPORTANT atribute TYPE Polygon TRANSPARENCY 100 TOLERANCE 10 TOLERANCEUNITS pixels TEMPLATE "null" METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'NTGOSurvey' WMS_FEATURE_INFO_MIME_TYPE 'text/html' gml_include_items "all" gml_exclude_items "geometry" END #METADATA PROJECTION 'init=epsg:4326' END CLASS NAME 'Geoch/Geoph Survey' STYLE COLOR 255 0 0 OUTLINECOLOR 0 0 0 END #STYLE END #CLASS END #LAYER LAYER NAME 'ArcheanLimits' DATA '4326Archean_Limits_lambert' STATUS on DUMP true # VERY IMPORTANT atribute TYPE Polygon TRANSPARENCY 100 TOLERANCE 10 TOLERANCEUNITS pixels TEMPLATE "null" METADATA WMS_SRS 'epsg:4326' WMS_TITLE 'ArcheanLimits' WMS_FEATURE_INFO_MIME_TYPE 'text/html' gml_include_items "all" gml_exclude_items "geometry" END #METADATA PROJECTION 'init=epsg:4326' END CLASS NAME 'ArcheanLimits' STYLE SYMBOL "line" SIZE 3 OUTLINECOLOR 254 172 0 END #STYLE END #CLASS END #LAYER END #End of Mapfile I appreciate any kind of help that will bring some light to my problem. Silvia Petcu DPRA Inc.
