MIERUNE / qgis-plugx-plugin

QGIS to Illustrator with PlugX
GNU General Public License v2.0
3 stars 0 forks source link

add symbollevel as "level" into layerjson #53

Closed Kanahiro closed 1 year ago

Kanahiro commented 1 year ago

close #42

スクリーンショット 2023-07-06 22 57 59

{
  "layer": "L_road",
  "type": "line",
  "crs": "EPSG:4326",
  "symbol": [
    {
      "symbol_layer_type": "simple",
      "color": "#000000",
      "width": 9.07086614176,
      "level": 0
    },
    {
      "symbol_layer_type": "simple",
      "color": "#002d95",
      "width": 7.937007874039999,
      "level": 10
    },
    {
      "symbol_layer_type": "simple",
      "color": "#ffffff",
      "width": 0.737007874018,
      "level": 12
    }
  ],
  "usingSymbolLevels": true,
  "legend": "motorway"
}
bordoray commented 1 year ago
image

Does it means that we ignore "level":0 when "usingSymbolLevels": false?

Kanahiro commented 1 year ago

Yes, regardless of symbolLevels enabled or not, each symbol has level value.