Skip to content

Instantly share code, notes, and snippets.

@thbaumann
Last active June 26, 2020 11:55
Show Gist options
  • Save thbaumann/5af83e18ba2de95fb0f65256a85e2417 to your computer and use it in GitHub Desktop.
Save thbaumann/5af83e18ba2de95fb0f65256a85e2417 to your computer and use it in GitHub Desktop.
pipes test data
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"name": "pipes_4326",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "PKUID": 10307.0, "rv_bezeich": "24x10\/6 mm orange" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 7.501956470519959, 47.698301184172337 ], [ 7.50211621670821, 47.698354558277302 ], [ 7.502422842908601, 47.698491730888698 ], [ 7.502508390103321, 47.698529739139957 ], [ 7.502588736774664, 47.69856318047534 ], [ 7.502718844617306, 47.698581074893234 ], [ 7.502850516714872, 47.698590891424082 ], [ 7.503153522971716, 47.698621839054802 ], [ 7.503373060438195, 47.698774968910691 ], [ 7.503481819094336, 47.698840273069465 ], [ 7.503566981490615, 47.698891772426293 ], [ 7.503629519467975, 47.698942076835174 ], [ 7.503648887242542, 47.698963924519781 ], [ 7.503694793360658, 47.699036506829231 ], [ 7.503643049980442, 47.699121312444667 ], [ 7.503982705220104, 47.699315598698149 ] ] ] } },
{ "type": "Feature", "properties": { "PKUID": 10427.0, "rv_bezeich": "3x20\/15 mm rot" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 7.491314402714446, 47.688434935566285 ], [ 7.491224472576888, 47.68938123867634 ], [ 7.491543504806228, 47.690055782397295 ], [ 7.491705378973037, 47.690218974295675 ], [ 7.492546824522281, 47.691078541948002 ], [ 7.493289217472608, 47.691815329905481 ], [ 7.49401010103715, 47.692420460355329 ], [ 7.494425025780021, 47.692775027236536 ], [ 7.494757340092288, 47.693360656029 ], [ 7.49477257598782, 47.693386950011345 ], [ 7.494912997456817, 47.693647933512963 ], [ 7.494858976610898, 47.69455241924728 ], [ 7.494789577994348, 47.695296539467286 ], [ 7.495203584906963, 47.695730273259308 ], [ 7.495379730062334, 47.695815364741655 ], [ 7.49571117119475, 47.695969077192998 ], [ 7.496769515931965, 47.69698532150236 ], [ 7.497129817979074, 47.697340962069831 ], [ 7.497283298335813, 47.697519332370788 ], [ 7.497589059047417, 47.697871557643836 ], [ 7.497800353194503, 47.698125367316081 ], [ 7.498247919087363, 47.698459651989914 ], [ 7.498929594205779, 47.698949963342116 ], [ 7.499106561734766, 47.698867697942362 ], [ 7.499122911624307, 47.698855314711025 ], [ 7.499307443939384, 47.698741655147188 ], [ 7.499361745331389, 47.698707273438735 ] ] ] } },
{ "type": "Feature", "properties": { "PKUID": 10433.0, "rv_bezeich": "3x20\/15 mm rot" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 7.492433309131399, 47.678371914432518 ], [ 7.492417129794068, 47.678424789895921 ], [ 7.492249810056119, 47.678405494736332 ], [ 7.492227246494957, 47.678402498782262 ] ] ] } },
{ "type": "Feature", "properties": { "PKUID": 10434.0, "rv_bezeich": "3x20\/15 mm rot" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 7.499361745331389, 47.698707273438735 ], [ 7.501141144539628, 47.697590494594898 ] ] ] } },
{ "type": "Feature", "properties": { "PKUID": 9004.0, "rv_bezeich": "3x20\/15 mm \/ VL" }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 7.487923725096105, 47.678496121402354 ], [ 7.487958612923384, 47.678487583268712 ], [ 7.487990811063399, 47.678479909471719 ], [ 7.488005591284584, 47.678475605288014 ], [ 7.488012146523008, 47.678479290880276 ], [ 7.488033644182666, 47.67851916534341 ], [ 7.488039965500919, 47.678530946035082 ], [ 7.488070727847857, 47.678526852484971 ], [ 7.488097416688738, 47.678525404634954 ], [ 7.488141393495808, 47.67852508441694 ], [ 7.488178399213099, 47.678535469891031 ], [ 7.488215300989484, 47.678549453176267 ], [ 7.488242905866482, 47.678562414135826 ], [ 7.488256016399803, 47.678569785293341 ], [ 7.488266515224369, 47.678575322436011 ], [ 7.488282705258523, 47.678568337400399 ], [ 7.488289442442253, 47.678565726786807 ], [ 7.488299051213573, 47.678555955627878 ] ] ] } }
]
}
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis styleCategories="Symbology" version="3.12.3-București">
<renderer-v2 type="categorizedSymbol" enableorderby="0" forceraster="0" symbollevels="0" attr="rv_bezeich">
<categories>
<category value="3x20/15 mm rot" render="true" symbol="0" label="3x20/15 mm rot"/>
<category value="3x20/15 mm rot in SR" render="true" symbol="1" label="3x20/15 mm rot in SR"/>
<category value="3x20/15 mm / VL" render="true" symbol="2" label="3x20/15 mm / VL"/>
<category value="" render="true" symbol="3" label=""/>
</categories>
<symbols>
<symbol type="line" force_rhr="0" alpha="1" name="0" clip_to_extent="1">
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="227,26,28,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="0.66"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="line" force_rhr="0" alpha="1" name="1" clip_to_extent="1">
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="0,0,0,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1.86"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="round"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="round"/>
<prop k="line_color" v="227,26,28,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="0.66"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="line" force_rhr="0" alpha="1" name="2" clip_to_extent="1">
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="71,198,215,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="0.66"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol type="line" force_rhr="0" alpha="1" name="3" clip_to_extent="1">
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="122,242,136,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="2.06"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<source-symbol>
<symbol type="line" force_rhr="0" alpha="1" name="0" clip_to_extent="1">
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="square"/>
<prop k="customdash" v="5;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="bevel"/>
<prop k="line_color" v="0,0,0,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="1.86"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="0"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
<layer enabled="1" class="SimpleLine" locked="0" pass="0">
<prop k="capstyle" v="round"/>
<prop k="customdash" v="1;2"/>
<prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="customdash_unit" v="MM"/>
<prop k="draw_inside_polygon" v="0"/>
<prop k="joinstyle" v="round"/>
<prop k="line_color" v="51,160,44,255"/>
<prop k="line_style" v="solid"/>
<prop k="line_width" v="0.66"/>
<prop k="line_width_unit" v="MM"/>
<prop k="offset" v="0"/>
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<prop k="offset_unit" v="MM"/>
<prop k="ring_filter" v="0"/>
<prop k="use_custom_dash" v="1"/>
<prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
<data_defined_properties>
<Option type="Map">
<Option type="QString" value="" name="name"/>
<Option name="properties"/>
<Option type="QString" value="collection" name="type"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</source-symbol>
<rotation/>
<sizescale/>
</renderer-v2>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerGeometryType>1</layerGeometryType>
</qgis>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment