USGS Urban133 Ortho Imagery via WMS

Thomas Chesky thomaschesky at YAHOO.COM
Sat Sep 4 19:41:23 EDT 2004


I finally made it work (almost).

I have now some problem with reprojection.
I want to reproject to epsg:26910 but my linemap and reprojected USGS does not match.
If I reproject the linemap to 4326 it nicely overlays the 4326 default projection of the USGS ortho layer, but reprojecting both to 26910 does not work. I have the two layers in 2 different map file but it should not matter (when overlaying the graphics with photo sw)

Is there any special thing to know re: reprojecting raster layers?

Thanks in advance

Here is the working map file:
MAP
 NAME USGSUrban

 SHAPEPATH      "/usr/local/mapdata/"

 SIZE           600 400
 IMAGETYPE      PNG24
 IMAGECOLOR     0 0 0

 UNITS DD

    PROJECTION
  "init=epsg:26910"
    END

 WEB
  METADATA
   "wms_title" "Test"
   "wms_onlineresource" "http://localhost:8080/cgi-bin/mapserv?map=/usr/local/mapapp/urban.map&"
   "wms_srs" "EPSG:4269 EPSG:4326 EPSG:26910 EPSG:2227 EPSG:2926 EPSG:26911"
  END
                IMAGEPATH      /usr/local/httpd/htdocs/tmp/
 END

    # SanFrancisco01, CA
    # <LatLonBoundingBox minx="-122.631874313893" miny="37.1202124212771" maxx="-121.597707749044" maxy="38.2500104134292"/>
    LAYER
      NAME "SanFrancisco01"
      TYPE RASTER
      STATUS OFF
      CONNECTION "http://gisdata.usgs.net:80/servlet/com.esri.wms.Esrimap/USGS_EDC_Ortho_133Urban?"
      CONNECTIONTYPE WMS
      METADATA
        "wms_srs"             "EPSG:4326"
        "wms_name"            "SanFrancisco01"
        "wms_server_version"  "1.1.0"
        "wms_formatlist"      "image/png,image/jpeg"
        "wms_format"          "image/png"
      END
    END
 END # end of map file



"Swaminathan, Gayathri" <gayathri at OU.EDU> wrote:
Hi Thomas:

Here is an example....


### OKC 2002 Ortho USGS-WMS ###
LAYER
 NAME Urban133
 GROUP Imagery
 TYPE RASTER
 STATUS ON
 MAXSCALE 500000
 OFFSITE 255 255 255
 CONNECTIONTYPE WMS
 CONNECTION "http://gisdata.usgs.net:80/servlet/com.esri.wms.Esrimap?SERVICENAME=133urban&REASPECT=false&REQUEST=map"
 #MINSCALE 500
 PROJECTION
  "init=epsg:4326" #WGS 84
 END
 TRANSPARENCY 20
 METADATA
  "NoID" "T"
  "wms_name" "UA_ORTHO_302_01"
  "wms_server_version" "1.0.0"
  "wms_format" "png"
  "wms_title" "USGS Urban Color Ortho 2002"
  "wms_group_title" "Imagery"
  "wms_style" ""
  #"wms_extent" "-123.12987 45.241726 -122.3584 45.75648"
 END

END

HTH,
Gayathri

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Thomas Chesky
Sent: Saturday, August 28, 2004 3:33 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] USGS Urban133 Ortho Imagery via WMS


Does anyone have a working mapfile which can produce the color, urban aerial maps using USGS's WMS interface? I just could not make it work :-(
WMS server is at http://gisdata.usgs.net:80/servlet/com.esri.wms.Esrimap?

Thanks in advance.

Thomas



---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

---------------------------------
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040904/39003289/attachment.html


More information about the mapserver-users mailing list