Terraservice.Net DOQ data

Brian Fischer bfischer at HOUSTONENGINEERINGINC.COM
Fri Mar 25 15:08:29 EST 2005


Robert,

I use the TerrServer imagery quite a bit and here is what my layer file
looks like.  I will mention I had problems with using it with MapServer
4.4.1, so I ended up going back to 4.2.1 and it works fine.  I never
figured out why it wouldn't work in the 4.4.1, but someone did post that
there is a bug with WMS client in that version.  Also make sure you are
using a 24bit output image type, otherwise the images will not look that
great.

LAYER
   NAME aerialphoto
   METADATA
     "wms_title" "USGS Digital Ortho-Quadrangles"
     "wms_srs"   "EPSG:26914" #NAD83 UTM zone 14N
     LYRNAME "DOQs (orthophotos)"
     LINK
"http://terraserver.microsoft.com/about.aspx?n=AboutTerraServiceOverview
"
   END
   STATUS OFF
   TYPE RASTER
   MINSCALE 1500
   MAXSCALE 80000
   CONNECTIONTYPE WMS
   CONNECTION
"http://terraservice.net/ogcmap.ashx?VERSION=1.1.1&SERVICE=wms&LAYERS=DO
Q&FORMAT=png&styles="
END

Brian Fischer
Houston Engineering, Inc.
Maple Grove, MN
(763) 493-4522
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Robert Aldridge
Sent: Friday, March 25, 2005 1:52 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Terraservice.Net DOQ data

Greetings list...

I can never get anything but a blank image when trying
to incorporate terraservice.net DOQ imagery via WMS.
Could some kind soul look at my map file and give me
some hints?  Or, better yet, could someone provide an
example of a working map file?

Thanks,

Robert

http://xxxxxxxx/cgi-bin/mapserv?map=/var/www/mapping/wms.map&mode=map
where wms.map is:

MAP
  NAME "wms_test"
  SIZE 800 500
  STATUS ON
  EXTENT -87.808037 33.865687 -87.673215 33.934717
  UNITS METERS
  IMAGETYPE PNG
WEB
  IMAGEPATH /var/www/tmp
END
LAYER
   NAME ortho
      METADATA
        "wms_title" "USGS Digital Ortho-Quadrangles"
 "wms_srs"   "EPSG:4326"
      END
      GROUP "BASE DATA"
      STATUS DEFAULT
      TYPE RASTER
      CONNECTIONTYPE WMS
      CONNECTION

"http://terraservice.net/ogcmap.ashx?VERSION=1.1.1&SERVICE=wms&LAYERS=DO
Q&FORMAT=jpeg"
      PROJECTION
 "init=epsg:4326"
      END
END
END

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



More information about the mapserver-users mailing list