Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels - parse properties #20

Open
NettaBen opened this issue Sep 14, 2019 · 1 comment
Open

Labels - parse properties #20

NettaBen opened this issue Sep 14, 2019 · 1 comment

Comments

@NettaBen
Copy link
Contributor

  • Create conversion table qgis attribute - lyrx attribute
    example: CIMPointSymbolCallout -> might be ->
    'ShapeDraw', 'ShapeFillColor', 'ShapeJoinStyle', 'ShapeKind', 'ShapeOffset', 'ShapeOffsetUnits', 'ShapeOpacity

dir - Labeling:
'AboveLine', 'AlwaysShow', 'AroundPoint', 'AutoWrapLength', 'BelowLine', 'Bold', 'BottomLeft', 'BottomMiddle', 'BottomRight', 'BottomSlightlyLeft', 'BottomSlightlyRight', 'BufferBlendMode', 'BufferColor', 'BufferDraw', 'BufferJoinStyle', 'BufferOpacity', 'BufferSize', 'BufferTransp', 'BufferUnit', 'CentroidWhole', 'Color', 'Curved', 'CurvedCharAngleInOut', 'DirSymbDraw', 'DirSymbLeft', 'DirSymbPlacement', 'DirSymbReverse', 'DirSymbRight', 'DirectionSymbols', 'DistanceUnits', 'Family', 'FontBlendMode', 'FontCase', 'FontLetterSpacing', 'FontLimitPixel', 'FontMaxPixel', 'FontMinPixel', 'FontOpacity', 'FontSizeUnit', 'FontStyle', 'FontTransp', 'FontWordSpacing', 'Free', 'FromPoint', 'FromSymbolBounds', 'Hali', 'Horizontal', 'IsObstacle', 'Italic', 'LabelDistance', 'LabelRotation', 'Line', 'LinePlacementFlags', 'MapOrientation', 'MaxScale', 'MaximumScale', 'MiddleLeft', 'MiddleRight', 'MinScale', 'MinimumScale', 'MultiCenter', 'MultiFollowPlacement', 'MultiLeft', 'MultiLineAlign', 'MultiLineAlignment', 'MultiLineHeight', 'MultiLineWrapChar', 'MultiRight', 'NumDecimals', 'NumFormat', 'NumPlusSign', 'ObstacleFactor', 'ObstacleType', 'OffsetQuad', 'OffsetRotation', 'OffsetType', 'OffsetUnits', 'OffsetXY', 'OnLine', 'OrderedPositionsAroundPoint', 'OverPoint', 'PerimeterCurved', 'Placement', 'PolygonBoundary', 'PolygonInterior', 'PolygonWhole', 'PositionX', 'PositionY', 'PredefinedPointPosition', 'PredefinedPositionOrder', 'Priority', 'Property', 'QuadrantAbove', 'QuadrantAboveLeft', 'QuadrantAboveRight', 'QuadrantBelow', 'QuadrantBelowLeft', 'QuadrantBelowRight', 'QuadrantLeft', 'QuadrantOver', 'QuadrantPosition', 'QuadrantRight', 'RepeatDistance', 'RepeatDistanceUnit', 'Rotation', 'ScaleVisibility', 'ShadowBlendMode', 'ShadowColor', 'ShadowDraw', 'ShadowOffsetAngle', 'ShadowOffsetDist', 'ShadowOffsetUnits', 'ShadowOpacity', 'ShadowRadius', 'ShadowRadiusUnits', 'ShadowScale', 'ShadowTransparency', 'ShadowUnder', 'ShapeBlendMode', 'ShapeDraw', 'ShapeFillColor', 'ShapeJoinStyle', 'ShapeKind', 'ShapeOffset', 'ShapeOffsetUnits', 'ShapeOpacity', 'ShapeRadii', 'ShapeRadiiUnits', 'ShapeRotation', 'ShapeRotationType', 'ShapeSVGFile', 'ShapeSizeType', 'ShapeSizeUnits', 'ShapeSizeX', 'ShapeSizeY', 'ShapeStrokeColor', 'ShapeStrokeWidth', 'ShapeStrokeWidthUnits', 'ShapeTransparency', 'Show', 'ShowAll', 'ShowDefined', 'Size', 'Strikeout', 'SymbolAbove', 'SymbolBelow', 'SymbolLeftRight', 'TopLeft', 'TopMiddle', 'TopRight', 'TopSlightlyLeft', 'TopSlightlyRight', 'Underline', 'Upright', 'UpsideDownLabels', 'Vali', 'ZIndex', 'class', 'delattr', 'dict', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref', 'addDirectionSymbol', 'angleOffset', 'autoWrapLength', 'calculateLabelSize', 'centroidInside', 'centroidWhole', 'ct', 'dataDefinedProperties', 'decimals', 'displayAll', 'dist', 'distMapUnitScale', 'distUnits', 'drawLabels', 'extentGeom', 'fieldIndex', 'fieldName', 'fitInPolygonOnly', 'fontLimitPixelSize', 'fontMaxPixelSize', 'fontMinPixelSize', 'format', 'formatNumbers', 'getLabelExpression', 'isExpression', 'labelOffsetMapUnitScale', 'labelPerPart', 'leftDirectionSymbol', 'limitNumLabels', 'mCurFeat', 'mCurFields', 'mFeatsRegPal', 'mFeatsSendingToPal', 'mFeaturesToLabel', 'maxCurvedCharAngleIn', 'maxCurvedCharAngleOut', 'maxNumLabels', 'maximumScale', 'mergeLines', 'minFeatureSize', 'minimumScale', 'multilineAlign', 'obstacle', 'obstacleFactor', 'obstacleType', 'offsetType', 'offsetUnits', 'placeDirectionSymbol', 'placement', 'placementFlags', 'plusSign', 'preserveRotation', 'previewBkgrdColor', 'priority', 'propertyDefinitions', 'ptOne', 'ptZero', 'quadOffset', 'readXml', 'registerFeature', 'repeatDistance', 'repeatDistanceMapUnitScale', 'repeatDistanceUnit', 'reverseDirectionSymbol', 'rightDirectionSymbol', 'scaleVisibility', 'setDataDefinedProperties', 'setFormat', 'substitutions', 'upsidedownLabels', 'useMaxLineLengthForAutoWrap', 'useSubstitutions', 'wrapChar', 'writeXml', 'xOffset', 'xform', 'yOffset', 'zIndex']

@NettaBen
Copy link
Contributor Author

dir(layer.labeling().settings().format().buffer())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant