Bug report #13727
Simple Marker Data Defined Anchor Point
|Affected QGIS version:||2.8.1||Regression?:||No|
|Operating System:||Mac OSX||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||21754|
I am trying to use data definition to define a cliff hashmark.
I have created a style for the line with a simple marker and plan to use the vertical anchor point offset to move the marker to the proper side of the line.
I have created a string field with a width of 10 and enter "bottom" or "top" into the field. After creating the line the hashmarks are displayed correctly. However, as soon as I save the shapefile it defaults back to a centered anchor point.
I have tried changing the table and saving. I have quit QGIS and restarted. It is like it doesn't read from the shapefile correctly.
#1 Updated by Nyall Dawson over 7 years ago
- Status changed from Open to Feedback
To confirm, is the data getting saved corrctly into the shapefile (eg browsing the table shows your entered anchor values), or is the data definition getting lost when saving the project?
#2 Updated by Michael Knopp over 7 years ago
Yes, the data is getting saved to the shapefile. If I open the table the data is shown exactly as entered.
Also, I have tried this on a Windows 7 SP 1 machine also running QGIS 2.8.1 and the behavior is exactly the same.
#3 Updated by Nyall Dawson over 7 years ago
I can't reproduce. Can you share a small project/sample data which shows this issue?
#4 Updated by Michael Knopp over 7 years ago
- File Hachure_Test.zip added
- File Installed_Plugins.png added
Sure. I just created a very small topo with a cut. Using only these two small shapefiles it is still doing it on my systems.
I also am including a screenshot of my installed plugins. Just in case it is some conflict with one of them.
#5 Updated by Nyall Dawson over 7 years ago
- Resolution set to fixed/implemented
- Status changed from Feedback to Closed
Ok, this issue was already fixed in 2.8.2. I've tested your project with 2.8.3 and it works fine.