-
Notifications
You must be signed in to change notification settings - Fork 21
Geometry scale #453
Copy link
Copy link
Open
Labels
plot buildingIn between the reader and writer, execution of plot logicIn between the reader and writer, execution of plot logic
Metadata
Metadata
Assignees
Labels
plot buildingIn between the reader and writer, execution of plot logicIn between the reader and writer, execution of plot logic
Type
Fields
Give feedbackNo fields configured for Enhancement.
This is just to note down an idea that came up during discussion with Thomas.
Essentially if user has data in the shape of
country_name,valueand wants to make a chloropleth, he lacks the geometry for thecountry_namecolumn.The idea is that we have a scale for the geometry aesthetic that maps the
country_nameto geometries representing the country. We can do the same for country codes, US states etc.For the user it may look some like this:
The scale resolving bits figure out that the
geometryaesthetic is a string instead of WKT/WKB/Binary blob/Geometry and setup a suitable palette. For proper geometry columns, it will be an identity scale.