[mapserver-users] Error: Failed to draw layer

Andrea Peri aperi2007 at gmail.com
Sun Mar 4 17:42:15 EST 2012


Hi,

I'm try-ing to set a mapserver as a wms server.
But I'm having this error:

On the getMap request I have this error:

(No error code was reported)

The WMS vendor also reported:

msDrawMap(): Image handling error. Failed to draw layer named 'idprovince2'.

msOGRFileOpen(): OGR error. Error parsing OGR connection information in
layer `idprovince2'


My settings for layer is this:

  LAYER
    NAME "idprovince2"
    STATUS ON
    TYPE POLYGON
    CONNECTIONTYPE OGR
    DATA "/home/..../shapefile_polygon"
    PROJECTION
      "init=epsg:3003"
    END
    METADATA
      'wms_title' 'Confini Provinciali2'
    END
    CLASS
      NAME 'am_prov_region_am_prov'
      STYLE
         WIDTH 0.91
         OUTLINECOLOR 0 0 0
         COLOR 103 132 169
         ANTIALIAS true
      END
      LABEL
        POSITION auto
        SIZE 8
        COLOR 0 0 0
        TYPE truetype
        FONT arial
      END
    END
  END

I try many settings, but nothing change :(

Any hints is welcome,

thx

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120304/fb919a54/attachment.html


More information about the mapserver-users mailing list