-
Notifications
You must be signed in to change notification settings - Fork 1
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
Map Legend - not showing point symbols for graduated classification #51
Comments
I fixed the legend shape not showing up, so that shouldn't be an issue anymore. The The issue is how the legend decides what symbols to draw. Right now, I'm checking each map config's
I was using hard-coded defaults for the size and shape in the code, so I will need to change it so that these new defaults are used instead. I'll just need to check with Steve to make sure the size and shape It might have been resolved with the legend shape fix, but I had no issues adding the size and shape to the classification file and having it update on the map. The only issue was if the classification file used This is just an example of the issue I brought up above with the legend code only checking the map configuration file. |
I am confused by these comments. Is it totally fixed or not? Will it be fixed soon? I think it should work as follows:
Please let me know when it is pushed so I can use and let me know if we need to discuss things that are difficult or can't be done. The best situation is for implementers to know that all the features work as intended for points, lines, polygons, etc. and not to come across limitations as the software is used. |
I have been cleaning up the Poudre Basin Information Current Conditions / Environment Flood map. I initially defined a graduated classification symbol for the precipitation stations, as follows:
I accidentally included an extra
3
digit at the start of the magenta (#3b63d91
). This caused the color for that line to be shown as black. Need to warn to the console and/or truncate the color string to the number of characters that can be parsed. Also, the legend is not drawing, even though the map is OK. See the image below.And, while I was troubleshooting, I tried different combinations of operators and some did not seem to work, for example using > on the left and no operator on the right. Maybe it was working OK but looked broken due to the other issue.
Also, the
symbolSize
property does not seem to have an effect.After some experimentation, I was able to get the symbol size to be recognized but I could not get the legend to display. It seems that the behavior should be the following:
symbolShape
,symbolSize
and other properties to be specified in the map configuration file, which will be used as defaults.symbolShape
,symbolSize
and other properties to be specified in the classification file, to vary based on the data value.What I ended up with is the following command in GeoProcessor:
The resulting map configuration file is:
The classification file is as follows. if I added
symbolShape
to the file, the layer was not drawn but there is not error in the console.And the result is the following, with the symbol still not drawn from graduated classification.
The text was updated successfully, but these errors were encountered: