completely purge buggy osm plugin from visual tests

This commit is contained in:
Dane Springmeyer 2014-10-07 15:44:20 -07:00
parent 29c7c5ac3e
commit 0a192a5260
14 changed files with 159 additions and 274 deletions

View file

@ -0,0 +1,5 @@
wrap|type|wkt
no|point|POINT(0.28436221472838974 0.2614258628766519)
yes|point|POINT(0.1306627157552161 0.2589062249349994)
no|line|LINESTRING(0.48404558019763577 0.22552097681732494, 0.7876650822675934 0.22426115456321344)
yes|line|LINESTRING(0.48341566421823756 0.32315682259650147, 0.7870351662881953 0.3218970105980799)
1 wrap type wkt
2 no point POINT(0.28436221472838974 0.2614258628766519)
3 yes point POINT(0.1306627157552161 0.2589062249349994)
4 no line LINESTRING(0.48404558019763577 0.22552097681732494, 0.7876650822675934 0.22426115456321344)
5 yes line LINESTRING(0.48341566421823756 0.32315682259650147, 0.7870351662881953 0.3218970105980799)

View file

@ -1,39 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' upload='true' generator='JOSM'>
<node id='-106' action='modify' visible='true' lat='0.2614258628766519' lon='0.28436221472838974'>
<tag k='type' v='point' />
<tag k='wrap' v='no' />
</node>
<node id='-77' action='modify' visible='true' lat='0.22426115456321344' lon='0.7876650822675934' />
<node id='-76' action='modify' visible='true' lat='0.22552097681732494' lon='0.48404558019763577' />
<node id='-67' action='modify' visible='true' lat='0.3218970105980799' lon='0.7870351662881953' />
<node id='-66' action='modify' visible='true' lat='0.32315682259650147' lon='0.48341566421823756' />
<node id='-63' action='modify' visible='true' lat='0.2589062249349994' lon='0.1306627157552161'>
<tag k='type' v='point' />
<tag k='wrap' v='yes' />
</node>
<node id='-59' action='modify' visible='true' lat='0.38992738501365903' lon='0.012688551274111854' />
<node id='-57' action='modify' visible='true' lat='0.38808843986576325' lon='0.9063673051214256' />
<node id='-55' action='modify' visible='true' lat='0.1488697450798257' lon='0.9058750417159153' />
<node id='-54' action='modify' visible='true' lat='0.15070872632895005' lon='0.01219628786860134' />
<way id='-75' action='modify' visible='true'>
<nd ref='-76' />
<nd ref='-77' />
<tag k='type' v='line' />
<tag k='wrap' v='no' />
</way>
<way id='-68' action='modify' visible='true'>
<nd ref='-66' />
<nd ref='-67' />
<tag k='type' v='line' />
<tag k='wrap' v='yes' />
</way>
<way id='-56' action='modify' visible='true'>
<nd ref='-54' />
<nd ref='-55' />
<nd ref='-57' />
<nd ref='-59' />
<nd ref='-54' />
<tag k='type' v='boundary' />
</way>
</osm>

View file

@ -0,0 +1,5 @@
wkt
"LINESTRING(0.8511083807156015 0.03967486460801543, 0.5994991376749135 0.2096131480715248)"
"LINESTRING(0.27084293293759165 0.26302812355087024, 0.04604697152647152 0.05893796680132844)"
"LINESTRING(0.07145061369178042 0.3118185090592599, 0.3750701157617382 0.3105586956821123)"
"LINESTRING(0.8179010492787097 0.3099287889371784, 0.514281547208752 0.3111886023894954)"
1 wkt
2 LINESTRING(0.8511083807156015 0.03967486460801543, 0.5994991376749135 0.2096131480715248)
3 LINESTRING(0.27084293293759165 0.26302812355087024, 0.04604697152647152 0.05893796680132844)
4 LINESTRING(0.07145061369178042 0.3118185090592599, 0.3750701157617382 0.3105586956821123)
5 LINESTRING(0.8179010492787097 0.3099287889371784, 0.514281547208752 0.3111886023894954)

View file

@ -1,75 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' upload='true' generator='JOSM'>
<node id='-93' action='modify' visible='true' lat='0.03967486460801543' lon='0.8511083807156015' />
<node id='-92' action='modify' visible='true' lat='0.2096131480715248' lon='0.5994991376749135' />
<node id='-69' action='modify' visible='true' lat='0.26302812355087024' lon='0.27084293293759165' />
<node id='-68' action='modify' visible='true' lat='0.05893796680132844' lon='0.04604697152647152' />
<node id='-42' action='modify' visible='true' lat='-0.20982409791135584' lon='0.011974068267005027' />
<node id='-40' action='modify' visible='true' lat='-0.21121932961473797' lon='0.9056535149055025' />
<node id='-38' action='modify' visible='true' lat='0.3883099615915542' lon='0.9065895247230221' />
<node id='-36' action='modify' visible='true' lat='0.38970517055516746' lon='0.012910078084524709' />
<node id='-34' action='modify' visible='true' lat='0.3118185090592599' lon='0.07145061369178042' />
<node id='-32' action='modify' visible='true' lat='0.3105586956821123' lon='0.3750701157617382' />
<node id='-30' action='modify' visible='true' lat='0.3111886023894954' lon='0.514281547208752' />
<node id='-28' action='modify' visible='true' lat='0.3099287889371784' lon='0.8179010492787097' />
<node id='-26' action='modify' visible='true' lat='-0.01562962731515521' lon='0.09323275285705514' />
<node id='-24' action='modify' visible='true' lat='0.18846110288315726' lon='0.3180287142681753' />
<node id='-22' action='modify' visible='true' lat='0.27779079174549004' lon='0.6437316506608692' />
<node id='-20' action='modify' visible='true' lat='0.10785306850072697' lon='0.8953408937015574' />
<node id='-18' action='modify' visible='true' lat='0.18384945467557984' lon='0.3746377051316065' />
<node id='-16' action='modify' visible='true' lat='-0.11957497643332685' lon='0.3855811820622415' />
<node id='-14' action='modify' visible='true' lat='0.18888875585009277' lon='0.5371560278163559' />
<node id='-12' action='modify' visible='true' lat='-0.11453565911646134' lon='0.5480995047469907' />
<node id='-10' action='modify' visible='true' lat='0.06363313935634328' lon='0.250346751840884' />
<node id='-8' action='modify' visible='true' lat='0.06363313935634328' lon='0.2843622147283897' />
<node id='-6' action='modify' visible='true' lat='0.06993229486822683' lon='0.6673511302025271' />
<node id='-4' action='modify' visible='true' lat='0.0686724638310369' lon='0.7038862570076257' />
<way id='-91' action='modify' visible='true'>
<nd ref='-93' />
<nd ref='-92' />
</way>
<way id='-67' action='modify' visible='true'>
<nd ref='-69' />
<nd ref='-68' />
</way>
<way id='-60' action='modify' visible='true'>
<nd ref='-42' />
<nd ref='-40' />
<nd ref='-38' />
<nd ref='-36' />
<nd ref='-42' />
<tag k='type' v='boundary' />
</way>
<way id='-58' action='modify' visible='true'>
<nd ref='-34' />
<nd ref='-32' />
</way>
<way id='-56' action='modify' visible='true'>
<nd ref='-28' />
<nd ref='-30' />
</way>
<way id='-54' action='modify' visible='true'>
<nd ref='-26' />
<nd ref='-24' />
</way>
<way id='-52' action='modify' visible='true'>
<nd ref='-22' />
<nd ref='-20' />
</way>
<way id='-50' action='modify' visible='true'>
<nd ref='-18' />
<nd ref='-16' />
</way>
<way id='-48' action='modify' visible='true'>
<nd ref='-12' />
<nd ref='-14' />
</way>
<way id='-46' action='modify' visible='true'>
<nd ref='-10' />
<nd ref='-8' />
</way>
<way id='-44' action='modify' visible='true'>
<nd ref='-4' />
<nd ref='-6' />
</way>
</osm>

View file

@ -1,10 +1,10 @@
{
"keys": [
"",
"-68",
"-63",
"-106",
"-75"
"4",
"2",
"1",
"3"
],
"data": {},
"grid": [

View file

@ -1,10 +1,10 @@
{
"keys": [
"",
"-68",
"-106",
"-63",
"-75"
"4",
"1",
"2",
"3"
],
"data": {},
"grid": [

View file

@ -1,16 +1,10 @@
{
"keys": [
"",
"-58",
"-56",
"-52",
"-67",
"-91",
"-54",
"-48",
"-50",
"-44",
"-46"
"3",
"4",
"2",
"1"
],
"data": {},
"grid": [
@ -58,72 +52,72 @@
" !! ! !! # ## # ## ",
" ! # # ",
" ",
" $ ",
" $ ",
" % $ ",
" % $ ",
" % $ ",
" % $ ",
" % $$ ",
" $ ",
" % $ $ ",
" % $$ $ ",
" %% $$ $$$$$ ",
" %% & $$$$ $ ",
" % & $$ ",
" % & $ ",
" % % & $ $$$$ $ ",
" % %% ' ( & $$$ ",
" % ' ( & $ $$ $ ",
" %% % % ' ) ( & $$ $$ ",
" %% %% % ' ) ( & $$$$ $$ ",
" %% % ' ) ( & & $ ",
" %% %%% ' ) ( & & && $$$ ",
" %% % ' ) ( & & & $$ ",
" %% ' ) ( &&& & $$ ",
" %%% ' ) ( &&& & $ ",
" % % ' ) && && $ ",
" % % ' ) & & & $ ",
" % '' ' ) && &&& $ ",
" % '' ) (( & & && $ ",
" %% ' )) && && ",
" % ' ' ) &&& && ",
" % ' '' ) && & ",
" % '''' '' '' & & ",
" % '' '' '' && ",
" % ' ' ( & ",
" % '' ' ) (( **** & ",
" % '' '' ++++++ )) )) ( (( (( & ",
" ''' '' + )) )) (( ( & ",
" '' ' ) )) ( & ",
" ' ) (( (( & ",
" '' ) ) )) (( (( & ",
" ' )) )) (( (( ",
" ' )) ) )) (( ( ( ",
" ' )) (( ( ( ",
" ) ) ) ( ( ( ( ",
" ' )) ) (( ( ( ",
" ' )) ) ) ( ( ",
" ' ) ( ",
" ' )) ( ",
" ' ) ( ",
" ) ( ",
" ) ( ",
" ) ( ",
" ) (( ",
" ) ",
" ) ",
" ) ",
" ) ",
" ) ",
" ) ",
" ",
" ",
" $ ",
" $ ",
" $ ",
" $ ",
" $ ",
" ",
" $ ",
" $ ",
" $$ ",
" $$ % ",
" $ % ",
" $ % ",
" $ $ % ",
" $ $$ % ",
" $ % ",
" $$ $ $ % ",
" $$ $$ $ % ",
" $$ $ % % ",
" $$ $$$ % % %% ",
" $$ $ % % % ",
" $$ %%% % ",
" $$$ %%% % ",
" $ $ %% %% ",
" $ $ % % % ",
" $ %% %%% ",
" $ % % %% ",
" $$ %% %% ",
" $ %%% %% ",
" $ %% % ",
" $ % % ",
" $ %% ",
" $ % ",
" $ % ",
" $ % ",
" % ",
" % ",
" % ",
" % ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ( ",
" ",
" ",
" ",

View file

@ -1,16 +1,10 @@
{
"keys": [
"",
"-58",
"-56",
"-52",
"-67",
"-91",
"-54",
"-50",
"-48",
"-44",
"-46"
"3",
"4",
"2",
"1"
],
"data": {},
"grid": [
@ -57,73 +51,73 @@
" !! ! # ",
" ",
" ### ",
" ! !!! !!!! $ # # # ## # # ",
" !!!! !! ! !!!! ## # # $ # # ## # ",
" !! !!!!!!!!! ## $$ ## # ## # $ ",
" !! %! $ # $$ ",
" % $$ $ $ ",
" % $$ $$ $ $ ",
" % $$$$ $ $ $ ",
" %% $ $$$ $ $ $ $ $ ",
" %% $$$ $ $ $$$ ",
" % %% $ $$$ $ $ ",
" % $$ $$$$ $ ",
" % % %% $$$$ $ ",
" %% & $ $ $ ",
" %% %% && $ $$$ $ $ ",
" %%% & & $ $ $ $ ",
" % % ' && $ $$$$$ $ $$ ",
" %% %% ' ( ) & &$ $ $$ ",
" % % %%% % ' ( ) & & &&$ $ $$$ ",
" % %%%% % % ' ( ) && &$$$$ $ $$$ ",
" % % % %%%% % %%%% % ' ( ) & && & & $ $$ ",
" %%% %%% % % ' ' ( ) & &&& & & & $ $$ ",
" % % %% % % %' ' ( ) &&&&&& &&$ $ $$$ ",
" % %%%% % ' '' ( ) & && $$&$ $ $$ ",
" % % % %' ''' ( ) & &&& $ $ $ $$$$ ",
" %% % %% ''' ( ) &&& $$&$$$$ $$ ",
" % %% % %' '' ( ) & &&&& $& $$ ",
" %%%% ' '' (( ) & && &&& & $ $ ",
" %%%% '' '' ( ) & && && $$ ",
" % %% % ' ' ( ))) & & &&& $ ",
" %%%% % ''' ' ' '' (((( ))) & &&& $ ",
" % % % ' ' ' ' (( ) )) & && ",
" % % '' ' ''' ' ' ' (((( ( ) )))) & &&&& ",
" % '%' ' '''' ' ' ' (((( ) ) & & &&& ",
" % '' ''' ''''' ' ' ' ( (( ) ) ) ))) & &&&& && ",
" % '' ' ' '' ' ' ((( ((( ) ))) && && && ",
" % ' ''''' ''' ' ( ((( ( ) ) )) ******* & & & & & ",
" % ' '' ' '++++++ ( ( (((( ) )) )))) &&& && ",
" % ''' ' ' ( ( (((( ) ) ) & & ",
" ''' ( ( )) ) & & && ",
" ''' '' ( ((( ((( )))) & ",
" ' ''' ''' ( ( ((( )) ) ) & ",
" ' '' ' ' (( ( ( ) ))) ",
" '' ' ' ' ( ( (((( ( ))) ) ) ",
" '' ' ' (( ))) ) ",
" ''' ( ((( )) )) ",
" '' (( (((( ( )))) )) ) ",
" ' (((( ( ( ))) ) ",
" ' ( (((( ( )) ) ",
" ' ( ( (( ( )))) ) ",
" ' (( ( ( ) ",
" ( (( ))) ",
" ( (( ) ))) ",
" ( ) ",
" ( ) ",
" ( ) ",
" ((( ) ",
" (( ",
" ( ",
" ( ",
" ( ",
" ( ",
" ( ",
" ( ",
" ( ) ",
" ) ",
" ) ",
" ) ",
" ! !!! !!!! # # # ## # # ",
" !!!! !! ! !!!! ## # # # # ## # ",
" !! !!!!!!!!! ## # ## # ## # ",
" !! $! # ",
" $ ",
" $ ",
" $ ",
" $$ ",
" $$ ",
" $ $$ ",
" $ ",
" $ $ $$ ",
" $$ % ",
" $$ $$ %% ",
" $$$ % % ",
" $ $ %% % ",
" $$ $$ % %% ",
" $ $ $$$ $ % % %%% ",
" $ $$$$ $ $ %% % %% ",
" $ $ $ $$$$ $ $$$$ $ % %% % % ",
" $$$ $$$ $ $ $ % %%% % % % ",
" $ $ $$ $ $ $$ %%%%%% %% ",
" $ $$$$ $ % %% %%% ",
" $ $ $ $$ % %%% % ",
" $$ $ $$ %%% % ",
" $ $$ $ $ % %%%% %% ",
" $$$$ $ % %% %%% % ",
" $$$$ % %% %% ",
" $ $$ $ % % %%% ",
" $$$$ $ $ % %%% ",
" $ $ $ % %% ",
" $ $ $$ % %%%% ",
" $ $ % % %%% ",
" $ % %%%% %% ",
" $ %% %% %% ",
" $ % % % % % ",
" $ %%% %% ",
" $ % % ",
" % % %% ",
" % ",
" % ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

@ -5,8 +5,9 @@
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">osm</Parameter>
<Parameter name="file">../data/bug1532.osm</Parameter>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">0.0121962878686,0.14886974508,0.906367305121,0.389927385014</Parameter>
<Parameter name="file">../data/bug1532.csv</Parameter>
</Datasource>
</Layer>

View file

@ -5,14 +5,14 @@
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">osm</Parameter>
<Parameter name="file">../data/bug1533.osm</Parameter>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">0.011974068267,-0.211219329615,0.906589524723,0.389705170555</Parameter>
<Parameter name="file">../data/bug1533.csv</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<Filter>[type] != "boundary" and [mapnik::geometry_type]=linestring</Filter>
<LineSymbolizer stroke-width="1" stroke="red"/>
<MarkersSymbolizer file="shape://arrow" placement="line" transform="scale(.5,.5)"/>
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="line" upright="right" dy="10" allow-overlap="true">"right: --&gt;"</TextSymbolizer>