Opened 19 years ago

Closed 16 years ago

#1279 closed defect (fixed)

Internal server error on WFS GetFeature on graticule layer

Reported by: bartvde@… Owned by: mapserverbugs
Priority: high Milestone: 5.2 release
Component: WFS Server Version: 4.4
Severity: normal Keywords:
Cc: tomkralidis

Description

Maybe this is not a use case you would want to support, but in that case it
could be handled more gracefully.

Using the following grid in my MAP file:

  LAYER
    METADATA
      WMS_TITLE "Grid"
      WMS_SRS "EPSG:28992"
      WFS_TITLE "Grid"
    END
    NAME "Grid"
    DUMP TRUE
    PROJECTION
      "init=epsg:28992"
    END
    TYPE LINE
    STATUS ON
    CLASS
      COLOR 128 128 128
      LABEL
        TYPE BITMAP
        SIZE SMALL
        COLOR 0 0 0
        PARTIALS FALSE
      END
    END
    GRID
      LABELFORMAT "%5.0f"
    END
  END

And issuing the following request:
http://myserver/cgi-bin/mapserv.exe?map=/ms4w/apps/general/map/gemeentes.map&request=GetFeature&version=1.0.0&typename=Grid&service=WFS

I get an internal server error. Apache error file:
[Tue Mar 08 20:26:07 2005] [error] [client 192.168.3.4] Premature end of script
headers: mapserv.exe

It does end up in the WFS capabilities.

Attachments (1)

bug1279.tgz (18.9 KB ) - added by bartvde@… 19 years ago.
Patch involving mapwfs.c and mapgml.c

Download all attachments as: .zip

Change History (6)

by bartvde@…, 19 years ago

Attachment: bug1279.tgz added

Patch involving mapwfs.c and mapgml.c

comment:1 by bartvde@…, 19 years ago

attachments.isobsolete: 01
(From update of attachment 304)
Attached to wrong bug.

comment:2 by bartvde@…, 19 years ago

Milestone: FUTURE
Changing target to future.

comment:3 by tomkralidis, 16 years ago

Cc: tomkralidis added

Bart: when I run this testcase now, I don't get a 500, but I get an incomplete XML document. Do you get this when running against trunk?

comment:4 by assefa, 16 years ago

Milestone: FUTURE5.2 release

graticule layers should not be part of the wfs. we can not really return any meaningful data out of this layer in Mapserver/gml. I am adding a test to remove grid layers.

comment:5 by assefa, 16 years ago

Resolution: fixed
Status: newclosed

committed in r7522.

Note: See TracTickets for help on using tickets.