-
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
Create data layer of community names and locations #5
Comments
Mike Brook will send us some GeoJSON with community names and coordinates that we can add as a first version of this layer. Since the markers might crowd the map a little, it would be nice to eventually have some sort of raster layer with place names that could be layered over a base layer. |
Mike sent us a GEOJSON extract from our placenames database here He said:
@mbjones - I think that it would make sense to store this geojson in the same way we store the image web tiles and cesium tiles (in the |
Let's discuss. We should archive it on ADC if it is a valuable dataset that should be preserved and be citable, and which we are allowed to redistribute. If it is a temporary aid to visualization that doesn't have potential value for other users, then keeping it in the tiles directory would work. |
The Climate Mapping for Resilience and Adaptation portal has this feature. The user guide specifies that users can search within 3 categories of geographies: Census Tract, County, or Tribal Land. I think the Tribal Land category would be a cool addition to the PDG search-by-community-name function, perhaps represented as "indigenous" rather than "tribal". This would not necessarily have to be a separate category from County or City as it is in the climate portal. It could also be a color differentiation in the name or bounding box around the region. Perhaps indigenous communities are already included in the GEOJSON extract from our placenames database that Mike provided, which Robyn linked above. If so, we could add a property for the type of community. |
Communities layer added to PDG demo portalThis Communities layer has been added to the demo portal as point geometries. The categorical color palette represents the country that each community falls within. When a user clicks on a certain community, the tabular data for that community is shown in the pop-up window. We are waiting on feedback and a few details from Mike before we move it to the production portal:
|
Legend exploration: coloring communities based on populationThe community populations are heavily skewed towards small populations, with just a few communities with very large populations. In the xml, we can assign a continuous palette to a property of the data, but we do not specify a palette name. Rather, we specify which color (CSS hex code) is assigned to each break, and the colors are mapped to the data as such. We can choose the amount of bins, and the bins do not have to be equally sized. For data that is all positive values, it makes sense to use a monochromatic color palette, with the most intense color representing the largest populations. When assigning bins for this skewed data, we need smaller bins for the smaller side of the data range, and the bins get much larger towards the larger end of the data range. That way, each color is represented in the map more equally. If we do not do this and simply make the bins equally sized, almost every flag would be the same color that represents the smallest bin, and the few flags that represent the largest populations would represent the color at the large extreme of the legend, and the few colors in between would be very sparsely represented. In order to determine the best bins for this data, one approach is to winsorize the data to the 90th quantile (essentially removing the largest few values of the range) then create equally sized bins from those values. Then, we can create ~1-3 bins manually to represent the largest few values in the range. For example, a green monochromatic color palette that splits the data into 6 bins looks something like this:
The smaller population values still need to be split into smaller bins in order to better differentiate between them. |
Anna suggested the following 2 resources for polygon data, that were recommended to her by her colleague Greg Fiske:
Anna suggested that circles could represent the points, rather than flags. The circle size might represent the population. An example can be found here in the Populated Places figure. I updated the demo portal Communities layer with the following:
To do:
|
No description provided.
The text was updated successfully, but these errors were encountered: