[QGIS-Developer] Rotate or Offset Point symbol: how do they work? Or are they broken?

DelazJ delazj at gmail.com
Tue Oct 23 03:58:56 PDT 2018


OK. Like usual, it's when you send the message that you get the answer by
your own. :)

The problem is an underlying issue where the expresssion "myfield" seems to
not be the same as "myfield" field ie, instead of selecting the field from
the data-defined "Field type" menu, I was mechanically opening the
data-defined "Edit..." expression dialog and selecting the same field. The
field values are applied to rotation but it's not recognized as a field the
tool could update.

Should I report a bug or is it intended/known limitation?

Regards,
Harrissou

Le mar. 23 oct. 2018 à 12:52, DelazJ <delazj at gmail.com> a écrit :

> Hi,
> Thanks, Nyall.
>
> Le mar. 23 oct. 2018 à 03:06, Nyall Dawson <nyall.dawson at gmail.com> a
> écrit :
>
>> On Tue, 23 Oct 2018 at 03:17, DelazJ <delazj at gmail.com> wrote:
>> >
>> > Hi,
>> > Any clue on how the "Rotate Point symbol" or "Offset Point symbol"
>> digitizing tools are expected to work? The docs [0] seems wrong (or
>> broken?) and whatever I try (including creating a field named "rotation"),
>> I get a "The selected point does not have a rotation (or an offset)
>> attribute set." message. And no help on how I could set this attribute...
>>
>
> Works fine here. I just data define link it over to an appropriate
>> field (numeric for rotation, string for offset), and then the tools
>> work as described.
>>
>> Exactly what I did for the rotate tool. The And doing it again changes
> nothing:
> - I thought it had to do with temporary layer, hence switched to shp : fail
> - swithed field type from integer to double: nothing
> - I thought it was because i had not saved the file yet (something that
> would be related to auxiliary storage) then I saved the file: niente
> - May be it's a matter of qgs vs qgz? Neither
>
> I always get that odd message about attribute not set.
> I'm on Win 10 using master c94eefb6df. What could trigger that?
>
> Harrissou
>
> The only thing I can think of is that the docs are a little unclear here:
>>
>> "near the Rotation option of the highest level (preferably) of the
>> symbol layers"
>>
>> This should be set at the "marker" level, not at an individual layer
>> level. (i.e. click the "Marker" entry in the list, not "simple marker"
>> and set the rotation there).
>>
>> Offset can be set at any layer and it will work.
>>
>> Nyall
>>
>>
>> >
>> > [0]
>> https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#rotate-point-symbols
>> >
>> > Regards,
>> > Harrissou
>> > _______________________________________________
>> > QGIS-Developer mailing list
>> > QGIS-Developer at lists.osgeo.org
>> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181023/7166b570/attachment-0001.html>


More information about the QGIS-Developer mailing list