[mapserver-users] NQUERYMAP

Alfred Kleva alfred.kleva at siol.net
Wed Apr 24 15:42:48 EDT 2002


Hi !

I try to execute :

http://localhost/cgi-bin/mapserv3.6?map=/data/www/gis_ms/demo5_krem_test/parcele.map&imgsize=489+367&mapsize=489+367&imgext=399306+43548+400256+44259&layers=parcele&mode=nquerymap&qlayer=parcele&saveQuery=true&imgshape=100+100+200+200+100+200

MS returns :
#####################################################################################
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. 
Please contact the server administrator, root at gissrv.gis and inform them of the time the error occurred, and anything you might have done that may have caused the error. 

More information about this error may be available in the server error log.

######################################################################################

Here is my map file :
#####################################
NAME MITJA
STATUS ON
SIZE 600 480
SYMBOLSET ../symbols/symbols35.sym
FONTSET /data/www/fonts/font.list
EXTENT 387000 29000 420000 55400
UNITS METERS
SHAPEPATH "/data/www/gis_ms/data"

#
# Start of web interface definition
#
WEB
  TEMPLATE "loadXML.html"
  MINSCALE 200
  MAXSCALE 2500000
  IMAGEPATH "/tmp/"
  IMAGEURL "/upload/"
  LOG "demo.log"
END

QUERYMAP
  SIZE 600 480
  STATUS ON
  STYLE HILITE
  COLOR 200 200 0
END

#
# Start of reference map
#
REFERENCE
  STATUS ON
  IMAGE ../images/init_ref_mok.png
  EXTENT 387000 29000 419500 54500
  SIZE 140 112
  COLOR -1 -1 -1
  OUTLINECOLOR 0 255 255
END

#
# Start of legend
#
LEGEND
  KEYSIZE 18 12
  LABEL
    TYPE BITMAP
    SIZE MEDIUM
    COLOR 0 0 89
  END
  STATUS ON
END

#
# Start of scalebar
#
SCALEBAR
  IMAGECOLOR 255 255 255
  OUTLINECOLOR 0 0 0
  POSITION ul
  LABEL
    COLOR 0 0 0
    SIZE tiny
  END
  SIZE 200 3
  COLOR 0 0 0
  UNITS METERS
  INTERVALS 4
  STATUS ON
END

#
# Start of layer definitions
#

 LAYER
   CONNECTIONTYPE postgis
   NAME "parcele"
   GROUP "parcele"
   CONNECTION "user=username password=pwd dbname=kata host=localhost"
   DATA "the_geom from katp"
   STATUS ON
   TYPE POLYGON
   MAXSCALE 15000
   LABELITEM "parcela"
   LABELMAXSCALE 5000
   CLASS
     #COLOR 255 255 255
     NAME Parcele
     SYMBOL "PIKE"
     OUTLINECOLOR 0 255 0
        LABEL
          MINFEATURESIZE 10
          MINDISTANCE 2
          POSITION CC
          SIZE SMALL
          COLOR 255 255 255
        END
   END
   HEADER "loadXML.html"
   TEMPLATE "parcela_queryXML.html"
   TOLERANCE 0
 END

END # Map File
#####################################

Thanks


Lp Alfred Kleva
>From Slovenia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020424/da351ad0/attachment.html


More information about the mapserver-users mailing list