[mapserver-users] query timeout problem

Tim Cera timcera at earthlink.net
Tue May 1 22:20:02 EDT 2001


I have a problem and I hope that someone can help me.

Problem:
Time-out for a basic query against a point shapefile.  

No error in apache error_log.  
No error from mapserv.
No files in the mapserver tmp directory.

Tried with 3.3.011, 3.4.  Tried the 3.4 version on Linux and Solaris 
2.5.  All had the same result.

Attached is the mapfile.  Suspect that there might be a problem with 
the shapefile, but nothing that ArcView notices.  Can forward the 
shapefile if needed to diagnose, didn't this time because of size.

thanks
Tim Cera
-------------- next part --------------
map
  extent 1204767.875 -118660.570312 1295298.75 220208.359375  
  imagecolor 255 255 255
  name "Uppergate"
  shapepath "shapefiles/data"
  size 600 600
  status on
  units feet
  symbolset "symbols/all.sym"
#  markerset "symbols/marker.sym"
  # 1 scalebar #none
  scalebar
    backgroundcolor 128 128 128
    color 255 255 255
    imagecolor 255 255 255
    intervals 4
    outlinecolor 0 0 0
    size 200 7
    status on
    style 0
    transparent true
    units feet
  end
  # 2 layer Counties
  layer
    data "countybnd"
    name "Counties"
    status default
    type polygon
    # 1 class Counties
    class
      color 255 255 128
      name "Counties"
      outlinecolor 0 0 0
    end
  end
  # 3 layer Municipalities
  layer
    data "cityboundries"
    name "Municipalities"
    status default
    type polygon
    # 1 class Municipalities
    class
      color 192 192 192
      name "Municipalities"
      outlinecolor 0 0 0
    end
  end
  # 4 layer Water
  layer
    data "water3"
    name "Water"
    status default
    type polygon
    # 1 class Water
    class
      color 0 0 255
      name "Water"
      outlinecolor 0 0 0
    end
  end
  # 5 layer Roads
  layer
    data "roads2"
    name "Roads"
    status default
    type line
    # 1 class Roads
    class
      color 0 0 0
      name "Roads"
      outlinecolor 0 0 0
    end
  end
  # 6 layer {Property Lines}
  layer
    data "propertylines"
    name "Property Lines"
    status default
    type line
    # 1 class {Property Lines}
    class
      color 255 0 0
      name "Property Lines"
      outlinecolor 0 0 0
    end
  end
  # 7 layer {Gates and Barricades}
  layer
    classitem "MGT_AGENCY"
    data "gates"
    footer "gates_footer.html"
    group "gates"
    header "gates_header.html"
    name "Gates and Barricades"
    status default
    type point
    # 1 class USCOE
    class
      backgroundcolor 128 128 128
      color 255 128 0
      expression "USCOE"
      name "USCOE"
      outlinecolor 0 0 0
      symbol circle
      size 15
    end
    # 2 class MDWFP
    class
      color 128 255 0
      expression "MDWFP"
      name "MDWFP"
      outlinecolor 0 0 0
      size 6
    end
    # 3 class {Crow's Neck Environmental Center}
    class
      color 128 128 128
      expression "CROWS NECK ENVIRONMENTAL CENTER"
      name "Crow's Neck Environmental Center"
      outlinecolor 0 0 0
      size 6
    end
    # 4 class {City of Burnsville}
    class
      color 128 128 255
      expression "CITY OF BURNSVILLE"
      name "City of Burnsville"
      outlinecolor 0 0 0
      size 6
    end
    # 5 class Other
    class
      color 128 255 255
      expression "OTHER"
      name "Other"
      outlinecolor 0 0 0
      size 6
    end
    # 6 query #none
    query
      template "gates_query.html"
    end
  end
  # 8 web uppergate.html
  web
    footer "uppergate_footer.html"
    header "uppergate_header.html"
    imagepath "/opt/htdocs/tmp/"
    imageurl "/tmp/"
    template "uppergate.html"
  end
  # 9 querymap hilite
  querymap
    color 255 0 0
    size 200 200
    status on
    style hilite
  end
  # 10 reference graphics/reference.gif
  reference
    color -1 -1 -1
    extent 1140681.27478 -238916.044756 1339354.9618 249581.561545
    image "graphics/reference.gif"
    outlinecolor 255 0 0
    size 120 120
    status on
  end
  # 11 legend #none
  legend
    keysize 18 12
    status on
    # 1 label #none
    label
      color 0 0 89
      size medium
      type bitmap
    end
  end
end



More information about the mapserver-users mailing list