[mapserver-users] 6.0.2 International Dateline Layer with HATCHED Symbol Causes Hanging Processes

Greg Corradini gregcorradini at gmail.com
Mon Jun 4 09:20:35 PDT 2012


Hello,
I'm experiencing very odd behavior that wasn't in previous versions of
Mapserver i used such as 5.7. The problem is certain layer geometry and
symbol combinations ( only 1 i can identify so far ) cause mapserver
processes to spike at 100% and hang for a long time ( > 60 minutes ).  I've
tested this on two different servers using Mapserver 6.0.2 and can
reproduce it accurately on both.

This behavior only seems to be happening with mulitpolygon layers that have
a multipolygon record that is on either side of the International Date Line
(meaning the multipolygon record is split at the dateline) and when using
the ANGLE argument for LAYER > CLASS > STYLE for a HATCH SYMBOL (see below
for an example).

If you remove or comment out the ANGLE argument then no CPU spike or
hanging processes occur.

Has anyone else experienced this?

I have an example shapefile with data that people can use. Is there a place
I can upload that to so others can test this out?


MapServer Version
-------------------------------
MapServer version 6.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=GEOS
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE


Layer and Symbol Definition That Cause Issue
-----------------------------------------------------------------------------
SYMBOL
NAME 'hatched'
TYPE HATCH
END

LAYER
  NAME "diss_idl_10896"
  CONNECTIONTYPE POSTGIS
  PROCESSING "CLOSE_CONNECTION=DEFER"
  CONNECTION "<na>"
  DATA "web_geometry from shapefile_12708 using unique gid using
srid=900913"
  PROJECTION
    "init=epsg:900913"
  END
  TYPE polygon
  STATUS ON
  DUMP TRUE
  TOLERANCE 10
  HEADER "<na>"
  FOOTER "<na>"
  TEMPLATE "<na>"
  OPACITY 100
  CLASS
    NAME "dissolvedIDL"
    TEMPLATE "<na>"
    STYLE
      SYMBOL "hatched"
      COLOR 0 0 255
      ANGLE 45
    END
    STYLE
      OUTLINECOLOR 0 0 0
    END
  END
  METADATA
    WMS_TITLE "dissolvedIDL"
    WMS_ABSTRACT "dissolvedIDL"
    WMS_SRS "epsg:900913"
    GML_INCLUDE_ITEMS "all"
    GML_EXCLUDE_ITEMS "the_geom"
  END
END



Thanks

-- 
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120604/1b8fc50c/attachment.html>


More information about the mapserver-users mailing list