-
Notifications
You must be signed in to change notification settings - Fork 2
/
project_shalkislot.xml
108 lines (108 loc) · 5.83 KB
/
project_shalkislot.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map background-color="rgba(0, 0, 0, 0)" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<Parameters>
<Parameter name="bounds">-180,-85.05112877980659,180,85.05112877980659</Parameter>
<Parameter name="center">0,0,2</Parameter>
<Parameter name="format"><![CDATA[png8]]></Parameter>
<Parameter name="minzoom">0</Parameter>
<Parameter name="maxzoom">20</Parameter>
<Parameter name="scale">1</Parameter>
<Parameter name="metatile">2</Parameter>
<Parameter name="id"><![CDATA[shalkislot]]></Parameter>
<Parameter name="_updated">1730886336000</Parameter>
<Parameter name="tilejson"><![CDATA[2.0.0]]></Parameter>
<Parameter name="scheme"><![CDATA[xyz]]></Parameter>
</Parameters>
<Style filter-mode="first" name="lot-label">
<Rule>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<Filter><![CDATA[([area_hectares] > 10)]]></Filter>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="15"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>12500</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<Filter><![CDATA[([area_hectares] > 10)]]></Filter>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="14"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>12500</MinScaleDenominator>
<Filter><![CDATA[([area_hectares] > 10)]]></Filter>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="13"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<Filter><![CDATA[([area_hectares] > 2)]]></Filter>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="15"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>12500</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<Filter><![CDATA[([area_hectares] > 2)]]></Filter>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="14"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<Filter><![CDATA[([area_hectares] > 1)]]></Filter>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="15"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
<Rule>
<MaxScaleDenominator>2500</MaxScaleDenominator>
<TextSymbolizer face-name="Open Sans Bold" fill="#333333" halo-fill="rgba(255, 255, 255, 0.7)" halo-radius="1" placement="interior" placement-type="simple" size="16"><![CDATA[[parcel_number]]]></TextSymbolizer>
</Rule>
</Style>
<Style filter-mode="first" name="lot-shape">
<Rule>
<MaxScaleDenominator>1500</MaxScaleDenominator>
<LineSymbolizer stroke="#333333" stroke-width="2.2" />
<PolygonSymbolizer fill="#fdf7f7" fill-opacity="0.1" />
</Rule>
<Rule>
<MaxScaleDenominator>5000</MaxScaleDenominator>
<MinScaleDenominator>1500</MinScaleDenominator>
<LineSymbolizer stroke="#333333" stroke-width="2" />
<PolygonSymbolizer fill="#fdf7f7" fill-opacity="0.1" />
</Rule>
<Rule>
<MaxScaleDenominator>12500</MaxScaleDenominator>
<MinScaleDenominator>5000</MinScaleDenominator>
<LineSymbolizer stroke="#333333" stroke-width="1" />
<PolygonSymbolizer fill="#fdf7f7" fill-opacity="0.1" />
</Rule>
<Rule>
<MaxScaleDenominator>25000</MaxScaleDenominator>
<MinScaleDenominator>12500</MinScaleDenominator>
<LineSymbolizer stroke="#333333" stroke-width="0.4" />
<PolygonSymbolizer fill="#fdf7f7" fill-opacity="0.1" />
</Rule>
<Rule>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<LineSymbolizer stroke="#333333" stroke-width="0.2" />
<PolygonSymbolizer fill="#fdf7f7" fill-opacity="0.1" />
</Rule>
<Rule>
<MinScaleDenominator>50000</MinScaleDenominator>
<LineSymbolizer stroke="#333333" stroke-width="0.1" />
<PolygonSymbolizer fill="#fdf7f7" fill-opacity="0.1" />
</Rule>
</Style>
<Layer name="lot" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName><![CDATA[lot-shape]]></StyleName>
<StyleName><![CDATA[lot-label]]></StyleName>
<Datasource>
<Parameter name="type"><![CDATA[postgis]]></Parameter>
<Parameter name="table"><![CDATA[(SELECT parcel_number, ST_Area(ST_Transform(ST_GeomFromEWKB(wkb_geometry), 3587)) / 10000 AS area_hectares, wkb_geometry FROM sh_alkis_parcel) as _subquery]]></Parameter>
<Parameter name="key_field"><![CDATA[]]></Parameter>
<Parameter name="geometry_field"><![CDATA[wkb_geometry]]></Parameter>
<Parameter name="extent_cache"><![CDATA[dynamic]]></Parameter>
<Parameter name="extent"><![CDATA[]]></Parameter>
<Parameter name="dbname"><![CDATA[oklab]]></Parameter>
<Parameter name="host"><![CDATA[127.0.0.1]]></Parameter>
<Parameter name="port"><![CDATA[5432]]></Parameter>
<Parameter name="user"><![CDATA[oklab]]></Parameter>
</Datasource>
</Layer>
</Map>