Permalink
Browse files

add test map for colorize-alpha comp-op

  • Loading branch information...
1 parent d63cf68 commit 27e9068ccf9719903d2a66c1a3139e43a172162f Dane Springmeyer committed Jul 25, 2012
Showing with 49 additions and 0 deletions.
  1. +49 −0 tests/data/good_maps/colorize-alpha.xml
  2. BIN tests/data/images/marker.png
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE Map[]>
+<Map>
+
+ <Style name="countries">
+ <Rule>
+ <PolygonSymbolizer fill-opacity=".9" gamma=".65"/>
+ </Rule>
+ </Style>
+
+ <Style name="style" comp-op="colorize-alpha">
+ <Rule>
+ <PointSymbolizer file="../images/marker.png" allow-overlap="true" />
+ </Rule>
+ </Style>
+
+ <Layer name="world">
+ <StyleName>countries</StyleName>
+ <Datasource>
+ <Parameter name="file">../../data/shp/ne_110m_admin_0_countries.shp</Parameter>
+ <Parameter name="type">shape</Parameter>
+ </Datasource>
+ </Layer>
+
+ <Layer name="style">
+ <StyleName>style</StyleName>
+ <Datasource>
+ <Parameter name="inline">
+ x,y
+ -170,20
+ -122,48
+ -122.2,48.2
+ -122.2,48.2
+ -122.3,48.3
+ -122.1,48.4
+ -122.1,48.2
+ -115,36
+ 90,30
+ 0,0
+ 1,1
+ 10,10
+ -10,-10
+ -20,-20
+ </Parameter>
+ <Parameter name="type">csv</Parameter>
+ </Datasource>
+ </Layer>
+
+</Map>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 27e9068

Please sign in to comment.