test both geojson.input and ogr.input - refs #2666

This commit is contained in:
Dane Springmeyer 2015-02-02 10:58:03 -08:00
parent 33a7bbb4e1
commit 625a37ed12
8 changed files with 299 additions and 3 deletions

View file

@ -0,0 +1,138 @@
{
"keys": [
"",
"2",
"1"
],
"data": {},
"grid": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" !! !! ! !! !! ",
" ! ! !! !!! !! ! !! ",
" !!! !!! !!! !!! !!!! ",
" !! ! !! !! ",
" !! !! ",
" ! ! !!! !! ",
" !!!! !!! !!!! !! !!!! !! ! !!!! !!!! ",
" !!!!! !!! !!!!!! !!! !!!!! !! !!! !!!!! !!!!! ",
" !! !!! !! !! !! !! ! !!! !!! !!! !! !! !! !!! ",
" ! !! !! ! !! !! ! !! !!! !! !! !! !! !! ",
" ! !! !! ! !! !! ! ! !! !!! !! ! !! !!! ",
" !! ! ! ! ! !! !! !! ! !! !!!!!!! !!! !!! ",
" !!!!!!!!!!!!!! !!!!!!!!!!!!! !!!!!! !! !! !!!!!!!!!!!!!!!!!!! ",
" !!!!!!!!!!!! !!!!!!!!!!! !!!!!! ! ! !!!!!! !!!!!! ",
" !! !! ! !! ",
" !! !! !! !! ",
" !! !! ! !!! !!! ",
" !!!!!!!! !!!!!!!! !!! !!!!!!! !!!!!!! ",
" !!!!!!! !!!!!! !!! !!!!!! !!!!!! ",
" ! ! ! !! !! ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ## ",
" ## ",
" # ## ",
" ### ## ",
" ### ## ",
" # ## ",
" ## ## # ",
" ## # ## ## ## ",
" #### ## ## ### ## ### ### ",
" ##### ## ## ### ## ##### ##### ",
" ## ## ### ## ### ## ### # ##### ",
" ## ## ## ## ## ### # # ## ### ",
" # ## ## ## ## ## ## ## # ## ",
" ######## ## ## # ## ######## ## ## ",
" ######## ### ## ## ### # ######## ###### ## ",
" ### ######## ## ######## # ### ############# ",
" #### ## ##### # ### ### ",
" ## ",
" ### ",
" #### ",
" ####### ",
" #### ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
]
}

View file

@ -0,0 +1,138 @@
{
"keys": [
"",
"2",
"1"
],
"data": {},
"grid": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ! ",
"! !!!! !! ",
"!! !!! !! ",
"!!! !!! !!! !! ",
"!!!! !!!! !! !!!! ",
"!!! !!! !! !!!!!! ",
"!! !!!!! !!!!!!! ",
"! !!!! !!!!! ",
" !!!! !!!! ! ",
" !! ! !! ",
" !!!! !!!! ",
" ! !!!!! !!!! ",
" !!! !!! !!!!!! !!!!! ",
" !!!!!!! !!!! !!!!!!! !! !! !!!!!!! ",
" !!!!!!!!! !!!! !!!!!!!! !!! !!!! !!!!!!!! ",
"! !!!!!!!!!! !!!! !!! !!!!!! !!!! !!!! !!!!!!!!!! ",
"! !!!!!!!!!!! !!!!! !!! !!!!! !!!!! !!!! !!!!!! !!! ",
"! !!! !!!!! !!!!! !! !!!!! !!!!! !!!!! !!!! !!! ",
"! !!! !!!! !!!! !!! !!!! !!!!! !!!!! !!!! !!! ",
"! !! !!!! !!!! !! !!!!! !!!!! !!!! !!! !!! ",
"! !! !!!! !!!! !!! !!!! !!!! !!!!! !!! !!! ",
"! !!! !!! !!! !!! !!!! !!!!! !!!! !!! !!! ",
"! !!! !!! !!! !!! !! !!!! !!!! !!!!! !! ",
"! !!! !! !!! !!! !! !!!! !!!! !!!!!!!!!!! !! ",
"! !!!! !! !!!! !!!! !!!! !!! !!!! !!!!!!!!!!!!!! !",
" !!!!!!!! !!! !!!!!!! !!!!!! !!!!! !!! !!! !!!!!!!!!!!!!!! !!",
" !!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!! !! !!! !!!!!!! !!!!!!!!!!!",
" !!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!! !! !! !!!! !!!!!!!!!!",
" !!!!!!!!!!!!!!!!!!!!! !!!!!!!!! !! !!! !!!!!!!!!",
" !!!!!!!!!!!! !!!!! !!! !!! !!!!! ",
" !!! !!! !!! ",
" !!! !!! !!! ",
" !!!! !!!! !!!! ",
" !!!!! !! !!!!! !!!! ",
" !!!!! !!!! !!!!! !!!!!! ",
" !! !!!!!! !!!!!! ! !!!!!! !! !!!!!!! ",
" !!!!!!!!!!!!!!! !!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!!!!! ",
" !!!!!!!!!!!!! !!!!! !!!!!!!!!!!!! !!!!!!!!!!!!! ",
" !!!!!!!!!! !!! !!!!!!!!!! !!!!!!!!!! ",
" !!!!! ! !!!!! !!!!!! ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ## ",
" #### ",
" #### ",
" #### ",
" ##### ",
" ## ##### ",
" #### #### ",
" ###### #### ",
" ####### #### ",
" ###### #### ",
" #### #### ",
" # #### ",
" # #### ## ",
" ### #### # ### ",
" #### #### ## #### ",
" #### ## #### ### #### ",
" ##### ### #### #### # ##### ## ",
" ####### #### ### #### ## ####### ###### ",
" ######## #### ### ##### #### ######### ######## ",
" ########## ##### ### ##### #### ########## #########",
" ##### ### ##### ### ##### #### ###### #### ##########",
" #### ### #### ### ##### ##### #### ### ##### ####",
" #### ### #### ### ##### ##### ### ### ### ###",
" ### ### #### ### ##### #### ### ### #### ###",
" ### ## ### ### #### ##### ## ### ### ###",
" #### ## ### ### #### #### ### ### #### ##",
" ###### ## ### ### ### #### ####### ### ### ##",
" ############## ## ### ### ### ############### ##### ##",
" ############## #### ### ## ## #### ############### ######## ##",
" ########################### ### ################# ### ######### #########################",
" ###### ################ ### ################ ### ####### #########################",
" ## ############## ### ############### ### # ########### ###########",
" ########## ### ############ ## ######### ########",
" ### # ### ### ## ##",
" ### ",
" #### ",
" #### ",
" ##### ",
" ##### ",
" ### ######## ",
" ############## ",
" ############# ",
" ######### ",
" #### ",
" ",
" "
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,21 @@
<Map font-directory="../fonts/Noto/NotoNaskhArabic-Regular.ttf">
<Parameters>
<Parameter name="sizes">512,512</Parameter>
</Parameters>
<Style name="style">
<Rule>
<TextSymbolizer face-name="Noto Naskh Arabic Regular" size="50*2">[name]</TextSymbolizer>
</Rule>
</Style>
<Layer name="layer">
<StyleName>style</StyleName>
<Datasource>
<Parameter name="file">../data/kurdish.geojson</Parameter>
<Parameter name="type">ogr</Parameter>
<Parameter name="layer_by_index">0</Parameter>
</Datasource>
</Layer>
</Map>

View file

@ -6,7 +6,7 @@
<Style name="style">
<Rule>
<TextSymbolizer face-name="Noto Naskh Arabic Regular" size="100">[name]</TextSymbolizer>
<TextSymbolizer face-name="Noto Naskh Arabic Regular" size="50*2">[name]</TextSymbolizer>
</Rule>
</Style>
@ -14,8 +14,7 @@
<StyleName>style</StyleName>
<Datasource>
<Parameter name="file">../data/kurdish.geojson</Parameter>
<Parameter name="type">ogr</Parameter>
<Parameter name="layer_by_index">0</Parameter>
<Parameter name="type">geojson</Parameter>
</Datasource>
</Layer>
</Map>