File: test

package info (click to toggle)
node-carto 1.2.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,668 kB
  • sloc: javascript: 5,195; xml: 384; python: 33; makefile: 27
file content (19 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cat << END > expected
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map 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">
  <Style filter-mode="first" name="world">
    <Rule>
      <PolygonSymbolizer fill="#008000" />
      <LineSymbolizer stroke="#f0e6db" />
    </Rule>
  </Style>
  <Layer name="world" 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">
    <StyleName><![CDATA[world]]></StyleName>
  </Layer>
</Map>

END

carto test/rendering/layer_nodatasource.mml | diff - expected
rm expected