Fehlermeldung beim Hochladen der Capabilities

Michael Schwarz mschwarz at umwelt-freiraum.de
Fri Dec 1 03:43:33 EST 2006


Hallo,
 
seit kurzem bekomme ich beim Hochladen der Capabilities immer folgende Fehlermeldung:
 
file_get_contents(http://localhost:90/cgi-bin/mapserv.exe?map=c:/ms4w/apps/maplab-2.2.1/projekt1/mymap.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.0) [ <http://localhost:90/mapbender/php/function.file-get-contents> function.file-get-contents]: failed to open stream: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht ordnungsgemäß reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat. in C:\ms4w\apps\mapbender\http\classes\class_connector.php on line 50… usw.
 
In der map-Datei scheint mir alles okay zu sein. Kann mir jemand einen Tipp geben, an welcher Stelle ich den Fehler noch suchen könnte? Ich arbeite mit dem ms4w 2.2.1- Paket mit Apache 2.2.3, php 5.2 und mapserv 4.10.0 . 
 
Vielen Dank!
 
Michael Schwarz
 
hier noch die map-Datei:
 
MAP
  NAME "test"
  STATUS ON
  EXTENT 4508118 5987004 4510081 5988412 
  SIZE 500 450 
  SHAPEPATH "./data"
  SYMBOLSET "./etc/symbols.sym"
  FONTSET "./etc/fonts.txt"
  IMAGETYPE PNG
  IMAGECOLOR 255 255 255
  UNITS METERS
  WEB
    MINSCALE 20
    MAXSCALE 12000
    IMAGEPATH "/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
    METADATA
    END
  END
  REFERENCE
    STATUS ON
    IMAGE "./images/luftbild_290702.png"
    SIZE 100 75 
    EXTENT 4508117 5986919 4510085 5988408 
    COLOR -1 -1 -1
    OUTLINECOLOR 255 0 0
    MINBOXSIZE 3
    MAXBOXSIZE 0
    MARKER 0
    MARKERSIZE 0
  END
  QUERYMAP
    STATUS ON
    SIZE 200 200 
    COLOR 255 0 0
    STYLE HILITE
  END
  PROJECTION
    "init=epsg:31464" 
  END
  LEGEND
    STATUS ON
    IMAGECOLOR 255 255 255
    POSITION LL
    KEYSIZE 18 12 
    KEYSPACING 5 5 
    LABEL
      TYPE BITMAP
      SIZE MEDIUM
      OFFSET 0 5 
      BUFFER 0
      MINDISTANCE -1
      MINFEATURESIZE -1
      COLOR 0 0 89
      PARTIALS TRUE
      FORCE FALSE
    END
  END
  SCALEBAR
    STATUS ON
    COLOR 255 255 255
    OUTLINECOLOR 0 0 0
    BACKGROUNDCOLOR 0 0 0
    IMAGECOLOR 255 255 255
    UNITS METERS
    INTERVALS 10
    SIZE 400 5 
    STYLE 0
    POSITION LL
    LABEL
      TYPE BITMAP
      SIZE SMALL
      OFFSET 0 5 
      BUFFER 0
      MINDISTANCE -1
      MINFEATURESIZE -1
      COLOR 0 0 0
      PARTIALS TRUE
      FORCE FALSE
    END
  END
  OUTPUTFORMAT
    NAME "png"
    MIMETYPE "image/png"
    DRIVER "GD/PNG"
    EXTENSION "png"
    IMAGEMODE PC256
    TRANSPARENT FALSE
  END
  LAYER
    NAME "Luftbild"
    STATUS ON
    DATA "luftbild_290702.tif"
    TYPE RASTER
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    METADATA
      "DESCRIPTION"    "Karte"
    END
    CLASS
    END
  END
  LAYER
    NAME "Gewaesser"
    GROUP "Nutzung"
    STATUS ON
    DATA "geom from gewaesser"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    TOLERANCE 20
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    METADATA
      "DESCRIPTION"    "Gewaesser"
    END
    CLASS
      NAME "Gewässer"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 0 0 231
        OUTLINECOLOR 0 0 0
        SIZE 1
        MINSIZE 1
        MAXSIZE 1
        ANTIALIAS TRUE
        OFFSET 0 0 
      END
    END
  END
  LAYER
    NAME "Gruenland"
    GROUP "Nutzung"
    STATUS ON
    DATA "geom from gruenland"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    METADATA
    END
    CLASS
      NAME "Grünland"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 0 254 0
        OUTLINECOLOR 0 0 0
        OFFSET 0 0 
      END
    END
  END
  LAYER
    NAME "Acker"
    GROUP "Nutzung"
    STATUS ON
    DATA "geom from acker"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    METADATA
      "discription"    "Acker"
    END
    CLASS
      NAME "Acker"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 240 255 61
        OUTLINECOLOR 0 0 0
        OFFSET 0 0 
      END
    END
  END
  LAYER
    NAME "Wald"
    GROUP "Nutzung"
    STATUS ON
    DATA "geom from wald"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    METADATA
      "discription"    "Wald"
    END
    CLASS
      NAME "Wald"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 0 120 0
        OUTLINECOLOR 0 0 0
        SIZE 1
        MINSIZE 1
        MAXSIZE 1
        OFFSET 0 0 
      END
    END
  END
  LAYER
    NAME "Brache"
    GROUP "Nutzung"
    STATUS ON
    DATA "geom from brache"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    METADATA
      "DESCRIPTION"    "Brache"
    END
    CLASS
      NAME "Brache"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 131 131 0
        OUTLINECOLOR 0 0 0
        SIZE 1
        MINSIZE 1
        MAXSIZE 1
        OFFSET 0 0 
      END
    END
  END
  LAYER
    NAME "Torfstich"
    GROUP "Nutzung"
    STATUS ON
    DATA "geom from torfstich"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    METADATA
      "DESCRIPTION"    "Torfstich"
    END
    CLASS
      NAME "Torfstich"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 124 214 113
        OUTLINECOLOR 0 0 0
        OFFSET 0 0 
      END
    END
  END
  LAYER
    NAME "Autobahntrasse"
    STATUS ON
    DATA "geom from autobahntrasse"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TEMPLATE "ttt"
    CLASS
      NAME "A 20"
      TEMPLATE "ttt"
      STYLE
        SYMBOL 0
        COLOR 255 0 0
        OUTLINECOLOR 0 0 0
        SIZE 3
        MINSIZE 3
        MAXSIZE 3
        ANTIALIAS TRUE
      END
    END
  END
  LAYER
    NAME "Biotope"
    STATUS ON
    DATA "geom from biotope"
    TYPE POINT
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres_data password=Friedfisch31 dbname=GIS host=localhost port=5432"
    TILEITEM "BESCHREIBU"
    CLASSITEM "BESCHREIBU"
    UNITS METERS
    SIZEUNITS PIXELS
    MINSCALE 20
    MAXSCALE 12000
    LABELITEM "beschreibu"
    LABELSIZEITEM "BESCHREIBU"
    LABELCACHE ON
    POSTLABELCACHE TRUE
    TOLERANCE 20
    TOLERANCEUNITS PIXELS
    STYLEITEM "BESCHREIBU"
    FILTERITEM "BESCHREIBU"
    TRANSFORM TRUE
    TEMPLATE "ttt"
    METADATA
    END
    CLASS
      NAME "Fundstellen"
      MINSCALE 20
      MAXSCALE 12000
      TEMPLATE "ttt"
      LABEL
        TYPE TRUETYPE
        FONT "vera-bold"
        SIZE 8
        MINSIZE 7
        MAXSIZE 15
        POSITION CR
        OFFSET 0 5 
        ANGLE AUTO
        BUFFER 15
        MINDISTANCE 15
        MINFEATURESIZE AUTO
        COLOR 0 0 0
        OUTLINECOLOR 255 113 0
        ANTIALIAS TRUE
        PARTIALS TRUE
        FORCE FALSE
      END
      STYLE
        SYMBOL 7
        COLOR 255 113 0
        OUTLINECOLOR 0 0 0
        SIZE 10
        MINSIZE 10
        MAXSIZE 15
        OFFSET 0 0 
      END
    END
  END
END
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapbender_users/attachments/20061201/ea4ed156/attachment.html


More information about the Mapbender_users mailing list