Matt

Results 335 comments of Matt

@deepreef I think you've identified many cases where it's hard (or impossible) to make an assertion of a specific type. This in my mind is not the same thing as...

404s may happen when you have switched projects and try to load an object not in that project. M On Mon, Aug 15, 2022 at 10:06 AM mmkohler ***@***.***> wrote:...

> Let the backend only return the natural earth shape NAMES I think this is definitely worth pursuing. We need a string summary anyways, for human readable consumption at some...

https://observablehq.com/@d3/world-choropleth https://github.com/topojson/world-atlas https://d3-graph-gallery.com/graph/choropleth_basic.html I'm gethering that It might be hard to do NAME with confidence to state/province level though. https://www.mapchart.net/world.html. See option to turn-on boundaries. I wonder if hex-bin approach...

> A lot of these shapes are VERY detailed. The NE shapes are not, they are optimized for exactly this kind of thing. This is very much a simplify and...

There is no metadata in the map, it is on/off. All data are gathered for the current OTU and below. In practice this is simply a join like `otus: {id:...

We need to render any of the types that we support.

There is a SQL CASE statement that needs to be adapted for perhaps multiple uses in different scenarios (e.g. exporting to DwC vs. validation).

Code at the heart of the issue is in `geographic_area_geographic_item.rb` ```Ruby def self.origin_order_clause(table_alias = nil) t = arel_table t = t.alias(table_alias) if !table_alias.blank? c = Arel::Nodes::Case.new(t[:data_origin]) c.when('ne_country').then(1) c.when('ne_state').then(2) c.when('gadm').then(3) c.else(4)...