Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
6.9 kB
34
Indexable
Never
MAP

NAME "AED"

EXTENT -20037508.34 -20048966.1 20037508.34 20048966.1

UNITS METERS

SIZE 512 512

IMAGETYPE PNG

FONTSET "/var/www/mapbender/fonts.txt"

SHAPEPATH "/data/"

CONFIG "MS_ERRORFILE" "/DyskPlanetiler/OSM/error.txt"

PROJECTION

    "init=epsg:3857"

END

WEB

   # IMAGEPATH "/tmp/"

   # IMAGEURL "/tmp/"

    METADATA

      "wms_title"           "AED"

      "wms_onlineresource"  "***" #must change mapfile path

      "wms_srs"             "EPSG:3857"

      "wms_enable_request"  "*"

      "wms_server_version" "1.3.0"

      "wms_feature_info_mime_type" "text/html"

      "wms_include_items" "all"

      "wms_getcapabilities_version" "1.3.0"

    END

END

                          SYMBOL

                            NAME "yes"

                            TYPE svg
                            
                            IMAGE "/DyskPlanetiler/marker_yes.svg"

          END # SYMBOL
                          SYMBOL

                            NAME "customers"

                            TYPE svg
                            
                            IMAGE "/DyskPlanetiler/marker_customers.svg"
                            
          END # SYMBOL
                          SYMBOL

                            NAME "noaccess"

                            TYPE svg
                            
                            IMAGE "/DyskPlanetiler/marker_no.svg"

          END # SYMBOL
                          SYMBOL

                            NAME "private"

                            TYPE svg
                            
                            IMAGE "/DyskPlanetiler/marker_private.svg"

          END # SYMBOL
          
                          SYMBOL

                            NAME "unknown"

                            TYPE svg
                            
                            IMAGE "/DyskPlanetiler/marker_unknown.svg"

          END # SYMBOL
          
          
                          SYMBOL

                            NAME "circlef"

                            TYPE ellipse

                            FILLED true

                            POINTS

                            10 10

                            END # POINTS

          END # SYMBOL

LAYER

                          NAME "Latest"

                          STATUS ON

                          TYPE POINT

                          DEBUG 5

                          DATA "/DyskPlanetiler/OSM/aed_poland.shp"
                          
                          CLASSITEM "access"
                          
                          LABELITEM "Cluster_FeatureCount"
                          
                          CLUSTER
                          	MAXDISTANCE 50
                          	REGION "ellipse"
                          END

                          PROJECTION

                                                    "init=epsg:3857"

                          END

  
                                
							CLASS

                                  NAME "AED2"
                                  EXPRESSION ("[Cluster_FeatureCount]" != "1")
                                  
                                  STYLE

                                    COLOR 0 102 0
                                    
                                    OUTLINECOLOR 255 255 255
                                    
                                    OPACITY 70

                                    SYMBOL "circlef"

                                    SIZE 25
                                  END
                                  LABEL
        						    FONT scb
        							TYPE TRUETYPE
        							SIZE 8
        							COLOR 255 255 255
        							ALIGN CENTER
        							PRIORITY 10
        							BUFFER 1
        							FORCE TRUE
        							PARTIALS TRUE
        							POSITION cc
      							  END

                                END                               
                                
                              CLASS

                                  NAME "public"
                                  EXPRESSION ("[Cluster_FeatureCount]" = "1" AND ("[access]" = "yes" OR "[access]" = "public"))
                                  
                                  STYLE

                                    COLOR 255 0 0

                                    SYMBOL "yes"

                                    SIZE 15

                                  END
                                  


                                END
                               
                              CLASS

                                  NAME "private"
                                  EXPRESSION ("[Cluster_FeatureCount]" = "1" AND ("[access]" = "private" OR "[access]" = "permit" OR "[access]" = "permissive" OR "[access]" = "emergency"))
                                  
                                  STYLE

                                    COLOR 255 0 0

                                    SYMBOL "private"

                                    SIZE 15

                                  END
                                  


                                END
                                
                              CLASS

                                  NAME "private"
                                  EXPRESSION ("[Cluster_FeatureCount]" = "1" AND "[access]" = "customers")
                                  
                                  STYLE

                                    COLOR 255 0 0

                                    SYMBOL "customers"

                                    SIZE 15

                                  END
                                  


                                END
                                
                              CLASS

                                  NAME "No Access"
                                  EXPRESSION ("[Cluster_FeatureCount]" = "1" AND "[access]" = "no")
                                  
                                  STYLE

                                    COLOR 255 0 0

                                    SYMBOL "noaccess"

                                    SIZE 15

                                  END
                                  


                                END
                                
                              CLASS

                                  NAME "Unknown"
                                  EXPRESSION ("[Cluster_FeatureCount]" = "1" AND "[access]" = "")
                                  
                                  STYLE

                                    COLOR 255 0 0

                                    SYMBOL "unknown"

                                    SIZE 15

                                  END
                                  


                                END
                                


    END

END

END