[Mapserver-users] WMS test mapfile and Test server would be appreciated

Arnulf Christl arnulf.christl at ccgis.de
Thu Apr 29 06:42:09 PDT 2004


This is a multi-part message in MIME format.
--------------070109020808000301050608
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi,
get the WMS GetCapabilities URL here:
http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&request=capabilities&wmtver=1.0.0

Corresponding MAP file which cascades this service is attached (modify 
server URLs and paths to match your installation). What I didn't know 
was that the UMN needs the IMAPGEPATH und URL although it is requested 
as a WMS because it saves the image of the cascaded WMS in the temporary 
sessions dir.

We put the project on our backup server, so you can have a look at the 
results in a client.
http://wms1.ccgis.de/
Select the project <test_cascading_wms>

We met some "interesting phenomena" while toying your problem on four 
different UMN MapServer installations - problems with the PNG lib which 
was used instead of the OGR. MS 4.01 on Windows 2000 didn't work, MS 4.2 
on FreeBSD does.

Regards, Arnulf.

Nicolas Boretos wrote:

> Hi Again,
>
> I gues the topic says it all
> need a sample mapfile to test WMS client capability of my ms 
> installation...
>
> regards,
>
> nicolas
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>


-- 
----------------------------
CCGIS Christl & Stamm GbR
----------------------------
http://www.ccgis.de
http://www.mapbender.org
----------------------------
Service: +49 (0)228 90826 0
Direct:  +49 (0)228 90826 23
Fax:     +49 (0)228 90826 11
----------------------------
CCGIS Christl & Stamm GbR
Siemensstraße 8
53121 Bonn
GERMANY


--------------070109020808000301050608
Content-Type: text/plain;
 name="test_cascading_wms.map"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="test_cascading_wms.map"

MAP
  NAME "test_cascading_WMS"
  STATUS ON
	EXTENT 4426500 5466000 4448000 5490200
	PROJECTION
			"init=epsg:31494"
  END
  SIZE 650 420
  IMAGECOLOR 255 255 255
	TRANSPARENT ON
  UNITS meters	 #Units mapcoordinates; für scale/scalebar Berechnungen
  RESOLUTION 72					 #Pixel/inch für Output (scalecomputation; def 72), vorher 300
  INTERLACE OFF
  IMAGETYPE PNG							#output imagetype
  WEB
    MINSCALE 0
		MAXSCALE 2000000
    LOG "test_cascaded.log"
    IMAGEPATH "/data/umn/umn-www/sessions/"
    IMAGEURL "http://wms1.ccgis.de/umn/sessions/"
    METADATA
      "WMS_TITLE"    "test_cascading_wms"
      "WMS_ABSTRACT"    "Test cascading WMS"
      "WMS_ACCESSCONSTRAINTS"   "none"
      "WMS_SRS"   "epsg:31494"
      "WMS_ONLINERESOURCE"   "http://192.168.2.71/cgi-bin/mapserv?map=/data/umn/test_cascading_wms.map"
      "WMS_FEATURE_INFO_MIME_TYPE"    "text/html"
    END
  END
#-----------------------------------------------------------------------------------------
   LAYER
      NAME "cascaded_WMS"
      TYPE RASTER
			STATUS ON
	 		CONNECTION "http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&wmtver=1.0.0" 
	 		CONNECTIONTYPE WMS
	 		METADATA
	       "wms_srs"    "epsg:31494"
				 "wms_title"  "cascaded WMS"
	    END
	 		PROJECTION
	       "init=epsg:31494"
	 		END
   END
#-----------------------------------------------------------------------------------------

END

--------------070109020808000301050608--



More information about the MapServer-users mailing list