[mapserver-dev] MapScript multithreading performance

adrian kruk adrian.kruk at gmail.com
Tue Feb 12 05:58:03 EST 2008


Skipped content of type multipart/alternative-------------- next part --------------
# Map file created from QGIS project file D:/Program Files/Quantum GIS/postgis.qgs
# Edit this file to customize for your map interface
MAP

WEB
  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
  IMAGEURL "/ms_tmp/"
END


  NAME "Mapa Polski"
  UNITS METERS
  FONTSET "fonts\fonts.list" 

  EXTENT 164464.162916 119780.320456 926562.436294 761428.792872
  PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
  END

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

# Symbol used by CLASS
  SYMBOL
    NAME "circle"
    TYPE ellipse
    FILLED true
    POINTS 1 1 END
  END #end symbol

SYMBOL
  NAME 'point'
  TYPE ELLIPSE
  POINTS
    1 1
  END
  FILLED TRUE
END

SYMBOL
  NAME 'rectangle-train'
  TYPE VECTOR
  POINTS
    0 0
    0 0.6
    1 0.6
    1 0
    0 0
  END
  FILLED TRUE
  STYLE
    8 12 8 12
  END
END

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


  # Legend
  LEGEND
      IMAGECOLOR 255 255 255
    STATUS ON
    KEYSIZE 18 12
    LABEL
      TYPE BITMAP
      SIZE MEDIUM
      COLOR 0 0 89
    END
  END
 
 QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
 END

#######################################################################################################
  LAYER
    NAME 'Morze'
	#group "Wody"
    TYPE POLYGON
#    DATA 'Morze'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM morze"

    METADATA
      'wms_title' 'Morze'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
TEMPLATE 'template.html'
       NAME 'Morze' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 138 166 189
         COLOR 138 166 189
       END
    END
  END
#######################################################################################################

  LAYER
    NAME 'Wojewodztwo'
    #group "Administracja"
    TYPE POLYGON
#	DATA Wojewodztwo
	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM wojewodztwo"

    METADATA
      'wms_title' 'Wojewodztwo'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
    TEMPLATE 'template.html'
       NAME 'Wojewodztwo' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 252 250 244
         COLOR 252 250 244
       END
    END
  END

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

  LAYER
    NAME 'Area100'
	#group "Zielen"
    TYPE POLYGON
#    DATA 'Area100'
	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM area100"

    METADATA
      'wms_title' 'Area100'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1000000 #w³¹cznie
    MAXSCALE 5000000
    CLASS
TEMPLATE 'template.html'
       NAME 'Area100' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 203 216 195
         COLOR 203 216 195
       END
     LABEL 
      SIZE medium
      COLOR 0 0 0 
      ANGLE 0
      BUFFER 1
     END 
    END
  END


    LAYER
    NAME 'Zielen'
	#group "Zielen"
    TYPE POLYGON
#	DATA Zielen
	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM zielen"

    METADATA
      'wms_title' 'Zielen'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1 #w³¹cznie
    MAXSCALE 1000000
    CLASS
TEMPLATE 'template.html'
       NAME 'Area100' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 203 216 195
         COLOR 203 216 195
       END
     LABEL 
      SIZE medium
      COLOR 0 0 0 
      ANGLE 0
      BUFFER 1
     END 
    END
  END


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

 LAYER
    NAME 'Miejscowosc1'
	#group "Miasta"
    TYPE POLYGON
#    DATA 'Miejscowosc1'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM miejscowosc1"

    METADATA
      'wms_title' 'Miejscowosc1'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    LABELITEM 'nazwa'
    CLASS
TEMPLATE 'template.html'
       NAME 'Miejscowosc1' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 222 225 230
         COLOR 222 225 230
       END
     LABEL
      POSITION   CC
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 10
      COLOR 60 60 60 
      ANGLE 0
      BUFFER 1
      PRIORITY 10
      MINDISTANCE 1000
      PARTIALS FALSE
    END 
    END
  END

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

  LAYER
    NAME 'wody_region'
	#group "Wody"
    TYPE POLYGON
#    DATA 'wody_region'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM wody_region"

    METADATA
      'wms_title' 'wody_region'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
TEMPLATE 'template.html'
       NAME 'wody_region' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 168 195 211
         COLOR 168 195 211
       END
    END
  END

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

  LAYER
    NAME 'Miejscowosc2_point'
	#group "Miasta"
    TYPE POINT

    DATA 'Miejscowosc2_point'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc2_point"

	METADATA
      'wms_title' 'Miejscowosc2_point'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 3500000
    LABELITEM 'NAZWA'
    CLASS
	TEMPLATE 'template.html'
       NAME 'Miejscowosc2_point' 
     STYLE
       SYMBOL 'circle'
       COLOR 0 0 0
       SIZE 4
     END
     STYLE
      SYMBOL 'circle'
      COLOR 255 255 255
      SIZE 2
     END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 9
      COLOR 80 80 80 
      ANGLE 0
      BUFFER 1
      PRIORITY 9
      POSITION AUTO
      MINDISTANCE 1000
      PARTIALS FALSE
     END 
    END
  END

  LAYER
    NAME 'Miejscowosc2_region'
		#group "Miasta"
    TYPE POLYGON

    DATA 'Miejscowosc2_region'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc2_region"

    METADATA
      'wms_title' 'Miejscowosc2_region'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 3500000
    LABELITEM 'NAZWA'
    CLASS
       TEMPLATE 'template.html'
       NAME 'Miejscowosc2_region' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 222 225 230
         COLOR 222 225 230
       END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 9
      COLOR 80 80 80 
      ANGLE 0
      BUFFER 1
      PRIORITY 9
      MINDISTANCE 1000
      PARTIALS FALSE
     END 
    END
  END

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

  LAYER
    NAME 'Miejscowosc3_point'
	#group "Miasta"
    TYPE POINT

    DATA 'Miejscowosc3_point'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc3_point"


    METADATA
      'wms_title' 'Miejscowosc3_point'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 2000000
    LABELITEM 'NAZWA'
    CLASS
TEMPLATE 'template.html'
       NAME 'Miejscowosc3_point' 
     STYLE
       SYMBOL 'circle'
       COLOR 0 0 0
       SIZE 4
     END
     STYLE
      SYMBOL 'circle'
      COLOR 255 255 255
      SIZE 3
     END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 8
      COLOR 100 100 100 
      ANGLE 0
      BUFFER 1
      PRIORITY 6
      POSITION AUTO
      PARTIALS FALSE
     END 
    END
  END

  LAYER
    NAME 'Miejscowosc3_region'
		#group "Miasta"
    TYPE POLYGON

    DATA 'Miejscowosc3_region'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc3_region"


    METADATA
      'wms_title' 'Miejscowosc3_region'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 2000000
    LABELITEM 'NAZWA'
    CLASS
       TEMPLATE 'template.html'
       NAME 'Miejscowosc3_region' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 222 225 230
         COLOR 222 225 230
       END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 8
      COLOR 100 100 100 
      ANGLE 0
      BUFFER 1
      PRIORITY 6
      POSITION AUTO
      MINDISTANCE 500
      PARTIALS FALSE
     END 
    END
  END


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

  LAYER
    NAME 'Miejscowosc4_point'
	#group "Miasta"
    TYPE POINT

    DATA 'Miejscowosc4_point'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc4_point"

    METADATA
      'wms_title' 'Miejscowosc4_point'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 500000
    LABELITEM 'NAZWA'
    CLASS
TEMPLATE 'template.html'
       NAME 'Miejscowosc4_point' 
     STYLE
       SYMBOL 'circle'
       COLOR 0 0 0
       SIZE 4
     END
     STYLE
      SYMBOL 'circle'
      COLOR 255 255 255
      SIZE 3
     END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 8
      COLOR 100 100 100 
      ANGLE 0
      BUFFER 1
      PRIORITY 3
      POSITION AUTO
      PARTIALS FALSE
     END 
    END
  END

  LAYER
    NAME 'Miejscowosc4_region'
	#group "Miasta"
    TYPE POLYGON

    DATA 'Miejscowosc4_region'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc4_region"


    METADATA
      'wms_title' 'Miejscowosc4_region'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 500000
    LABELITEM 'NAZWA'
    CLASS
	TEMPLATE 'template.html'
       NAME 'Miejscowosc4_region' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 222 225 230
         COLOR 222 225 230
       END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 8
      COLOR 100 100 100 
      ANGLE 0
      BUFFER 1
      PRIORITY 3
      MINDISTANCE 500
      PARTIALS FALSE
     END 
    END
  END


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

  LAYER
    NAME 'Miejscowosc5_point'
	#group "Miasta"
	TYPE POINT

    DATA 'Miejscowosc5_point'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc5_point"

    METADATA
      'wms_title' 'Miejscowosc5_point'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 300000
    LABELITEM 'NAZWA'
    CLASS
TEMPLATE 'template.html'
       NAME 'Miejscowosc5_point' 
     STYLE
       SYMBOL 'circle'
       COLOR 0 0 0
       SIZE 5
     END
     STYLE
      SYMBOL 'circle'
      COLOR 255 255 255
      SIZE 3
     END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 7
      COLOR 110 110 110 
      ANGLE 0
      BUFFER 1
      PRIORITY 1
      POSITION LR
      PARTIALS FALSE
     END 
    END
  END

  LAYER
    NAME 'Miejscowosc5_region'
	#group "Miasta"
    TYPE POLYGON

    DATA 'Miejscowosc5_region'

#	CONNECTIONTYPE postgis
#    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
#    DATA "the_geom FROM miejscowosc5_region"

    METADATA
      'wms_title' 'Miejscowosc5_region'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 300000
    LABELITEM 'NAZWA'
    CLASS
TEMPLATE 'template.html'
       NAME 'Miejscowosc5_region' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 222 225 230
         COLOR 222 225 230
       END
     LABEL
      FONT "verdana"
      ENCODING "CP1250"
      TYPE     TRUETYPE
      ANTIALIAS   TRUE
      OUTLINECOLOR 255 255 255
      SIZE 7
      COLOR 110 110 110 
      ANGLE 0
      BUFFER 1
      PRIORITY 1
      MINDISTANCE 500
      PARTIALS FALSE
     END 
    END
  END


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

  LAYER
    NAME 'Koleje'
	#group "Drogi i koleje"
    TYPE LINE

#    DATA 'Koleje'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM koleje"

    METADATA
      'wms_title' 'Koleje'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1000000
    MAXSCALE 100000
    CLASS
TEMPLATE 'template.html'
       NAME 'Koleje' 
       STYLE
         SYMBOL 0 
         SIZE 6 
         OUTLINECOLOR 126 126 126
         COLOR 0 0 0
       END
    END
  END

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

  LAYER
    NAME 'Koleje'
	#group "Drogi i koleje"
    TYPE LINE


#    DATA 'Koleje'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM koleje"

    METADATA
      'wms_title' 'Koleje'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    MINSCALE 1
    MAXSCALE 100000
    CLASS
TEMPLATE 'template.html'
       NAME 'Koleje' 
       STYLE
        COLOR 102 102 102
        SYMBOL 'point'
        SIZE 4
       END
      STYLE
       COLOR 255 255 255
       SYMBOL 'rectangle-train'
       SIZE 2
      END
    END
  END


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

  LAYER
    NAME 'DrogiInne'
	#group "Drogi i koleje"
    TYPE LINE

#    DATA 'DrogiInne'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM drogiinne"

    METADATA
      'wms_title' 'DrogiInne'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
TEMPLATE 'template.html'
       MINSCALE 1 #w³¹cznie
       MAXSCALE 1000000
       NAME 'DrogiWojewodzkie' 
       STYLE
         SIZE 20
         COLOR 209 207 202
       END
    END
    CLASS
TEMPLATE 'template.html'
       MINSCALE 1 #w³¹cznie
       MAXSCALE 1000000
       NAME 'DrogiWojewodzkie' 
     STYLE
       SYMBOL 'circle'
       COLOR 158 157 153
       SIZE 4
     END
     STYLE
      SYMBOL 'circle'
      COLOR 255 255 255
      SIZE 2
     END
    END
  END

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

  LAYER
    NAME 'DrogiWojewodzkie'
	#group "Drogi i koleje"
    TYPE LINE

#    DATA 'DrogiWojewodzkie'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM drogiwojewodzkie"


    METADATA
      'wms_title' 'DrogiWojewodzkie'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
	TEMPLATE 'template.html'
       MINSCALE 1000000 #w³¹cznie
       NAME 'DrogiWojewodzkie' 
       STYLE
         SIZE 20
         COLOR 199 197 192
       END
    END
    CLASS
TEMPLATE 'template.html'
       MAXSCALE 1000000 #wy³¹cznie
       NAME 'DrogiWojewodzkie' 
     STYLE
       SYMBOL 'circle'
       COLOR 158 157 153
       SIZE 4
     END
     STYLE
      SYMBOL 'circle'
      COLOR 255 223 151
      SIZE 2
     END
    END
  END

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

 LAYER
    NAME 'DrogiKrajowe'
	#group "Drogi i koleje"
    TYPE LINE

 #   DATA 'DrogiKrajowe'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM drogikrajowe"

    METADATA
      'wms_title' 'DrogiKrajowe'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
TEMPLATE 'template.html'
      NAME 'DrogiKrajowe'
     STYLE
       SYMBOL 'circle'
       COLOR 132 131 130
       SIZE 4
     END
     STYLE
      SYMBOL 'circle'
      COLOR 222 60 41
      SIZE 2
     END
     LABEL 
      SIZE medium
      COLOR 0 0 0 
      ANGLE 0
      BUFFER 1
     END 
    END
  END

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



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

  LAYER
    NAME 'Wojewodztwo'
	#group "Administracja"
    TYPE LINE

#   DATA 'Wojewodztwo'

	CONNECTIONTYPE postgis
    CONNECTION "host=localhost dbname=postgis user=postgres password=postgres port=5432"
    DATA "the_geom FROM wojewodztwo"

    METADATA
      'wms_title' 'Wojewodztwo'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
TEMPLATE 'template.html'
       NAME 'Wojewodztwo' 
       STYLE
        SYMBOL 'circle'
        COLOR 160 160 160
       SIZE 2
     END
    END
  END

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

  LAYER
    NAME 'Geocoding_Result'
    GROUP "Bankomaty"
    TYPE POINT
    DATA 'Geocoding_Result.shp'
    METADATA
      'wms_title' 'Geocoding_Result'
      'queryable' 'true'
    END
    STATUS DEFAULT
    TRANSPARENCY 100
    PROJECTION
    'proj=sterea'
    'lat_0=51.67083333333333'
    'lon_0=16.67222222222222'
    'k=0.999800'
    'x_0=3703000'
    'y_0=5627000'
    'ellps=krass'
    'towgs84=33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84'
    'units=m'
    'no_defs'
    END
    CLASS
TEMPLATE 'template.html'
       NAME 'Geocoding_Result' 
       TEMPLATE 'template.html'
       STYLE
         SYMBOL 'CIRCLE' 
         SIZE 6 
         OUTLINECOLOR 0 0 0
         COLOR 150 123 90
       END
    END
  END

END


More information about the mapserver-dev mailing list