Is it possible to import ArcGIS vector layer rendering info directly into QGIS? [on h

المشرف العام

Administrator
طاقم الإدارة
I am importing ArcGIS vector layer field data into PostGIS for use in QGIS. The source format is ArcGIS MapServer JSON (I have written a Ruby tool specifically for this purpose).

I'd like to also import the rendering info - from the "drawingInfo" key. An example is at this MapServer location, also shown below.

I have seen the Q/A here: how-to-change-the-the-style-of-a-vector-layer-programmatically, so it appears at least theoretically possible.

Questions:


  • Is style data import (from JSON or other format) possible in QGIS
  • Is there a way to programatically convert esri rendering types and styles to QGIS ones - is a mapping of available?
  • Does a plugin perhaps already exist to do anything similar?
"drawingInfo": { "renderer": { "type": "simple", "symbol": { "type": "esriSMS", "style": "esriSMSCircle", "color": [ 0, 158, 137, 255 ], "size": 4, "angle": 0, "xoffset": 0, "yoffset": 0, "outline": { "color": [ 0, 0, 0, 255 ], "width": 1 } }, "label": "", "description": "" }, "transparency": 0, "labelingInfo": [ { "labelPlacement": "esriServerPointLabelPlacementAboveRight", "where": null, "labelExpression": "[Address1]", "useCodedValues": true, "symbol": { "type": "esriTS", "color": [ 0, 0, 0, 255 ], "backgroundColor": null, "borderLineColor": null, "borderLineSize": null, "verticalAlignment": "bottom", "horizontalAlignment": "center", "rightToLeft": false, "angle": 0, "xoffset": 0, "yoffset": 0, "kerning": true, "haloColor": null, "haloSize": null, "font": { "family": "Arial", "size": 8, "style": "normal", "weight": "normal", "decoration": "none" } }, "minScale": 1000, "maxScale": 0 } ] },



أكثر...
 
أعلى