add visual test for reading GeoJSON GeometryCollection
This commit is contained in:
parent
a67e0dec12
commit
851597f3f0
7 changed files with 198 additions and 0 deletions
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"keys": [
|
||||
"1",
|
||||
""
|
||||
],
|
||||
"data": {},
|
||||
"grid": [
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
|
||||
"!!!!!!!!!!!! !!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!! "
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 703 B |
Binary file not shown.
After Width: | Height: | Size: 743 B |
Binary file not shown.
After Width: | Height: | Size: 974 B |
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
52
tests/visual_tests/styles/geojson-geometry-collection.xml
Normal file
52
tests/visual_tests/styles/geojson-geometry-collection.xml
Normal file
|
@ -0,0 +1,52 @@
|
|||
<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<Parameters>
|
||||
<Parameter name="sizes">256,256</Parameter>
|
||||
</Parameters>
|
||||
|
||||
<Style name="style">
|
||||
<Rule>
|
||||
<MarkersSymbolizer allow-overlap="true" stroke-width="0" fill="darkorange" ignore-placement="true"/>
|
||||
<LineSymbolizer stroke="#ff0000" stroke-width="2"/>
|
||||
</Rule>
|
||||
</Style>
|
||||
|
||||
<Layer name="geom-collection" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||||
<StyleName>style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">geojson</Parameter>
|
||||
<Parameter name="inline">
|
||||
{
|
||||
"type": "FeatureCollection",
|
||||
"features": [
|
||||
{
|
||||
"type": "Feature",
|
||||
"properties": {},
|
||||
"geometry": {
|
||||
"type": "GeometryCollection",
|
||||
"geometries": [
|
||||
{
|
||||
"type": "MultiPoint",
|
||||
"coordinates": [ [5,0], [0,5], [1,2.5], [4,2.5] ]
|
||||
},
|
||||
{
|
||||
"type": "LineString",
|
||||
"coordinates": [
|
||||
[
|
||||
0,
|
||||
5
|
||||
],
|
||||
[
|
||||
5,
|
||||
0
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
</Map>
|
Loading…
Reference in a new issue