-
Notifications
You must be signed in to change notification settings - Fork 0
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
Military Symbols in narratives #94
Comments
For army movements we could do the GeoJSON features in shape of arrow with filled with color For expeditions in can be the line or multiline with dashed-stroke. Probably with text along the path. I would propose to add field to store GeoJSON with styled elements, |
So, for this ticket we should add blank/null columns in the narration table for:
and anything else? |
I think everything can be stored in a single GeoJSON field with multiple classes inside. |
Okay, let's go with a GeometryCollection field then |
Are you sure we can add any parameters to GeometryCollection? |
Or we can add a table for One to Many relations. From Narration to Symbols. In this case, columns that needed are like If you want to do in RDB way we need to describe a style for every feature layer before we got further. |
I was thinking about an o2m relation, that might be a cleaner option. Or, maybe we could consider storing the collections in a JSONField, and validate it through a DRF serializer. The simplestyle spec outlines these parameters for geojson styles:
|
We also need
|
We have agreed on Slack to store all extra geometries in a JSONField containing a FeatureCollection. This is to ensure geometries' properties are preserved. Serialization in the API should confirm geometries are stored in this new field. |
Maybe it would make sense to store some symbols in the global narrative? For example front lines, I can imagine this being of use to multiple narratives. Then we can have a |
adsfgsadgWDEWGGWGw.zip |
Expand narratives by adding new layer of data with additional information about troops and their movements.
Initial proposal:
Additional wish list (feel free to add more in comments)
The text was updated successfully, but these errors were encountered: