Ticket #1279 (closed defect: fixed)

Opened 8 years ago

Last modified 5 years ago

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

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

Change History

Changed 8 years ago by bartvde@…

Patch involving mapwfs.c and mapgml.c

Changed 8 years ago by bartvde@…

  • attachments.isobsolete changed from 0 to 1
(From update of attachment 304)
Attached to wrong bug.

Changed 8 years ago by bartvde@…

  • milestone set to FUTURE
Changing target to future.

Changed 5 years ago by tomkralidis

  • 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?

Changed 5 years ago by assefa

  • milestone changed from FUTURE to 5.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.

Changed 5 years ago by assefa

  • status changed from new to closed
  • resolution set to fixed

committed in r7522.

Note: See TracTickets for help on using tickets.