Remix.run Logo
joecool1029 3 days ago

The county lists are wrong, at least they are for my state of New Jersey. We have 21 counties, not 27. Is it picking up the bordering counties that might have overlapping contracts or something?

sodality2 3 days ago | parent | next [-]

It pulls counties from OSM administrative boundaries of level 6, which according to the OSM wiki, is "State counties and county equivalents, Territorial municipalities" (https://wiki.openstreetmap.org/wiki/Tag%3aboundary=administr...). It does lead to some weird oddities, like counties with under 10 homes... I'd rather not manually correct it, since I want to rely on pure OSM data. (Unless you mean there is an actual bug in the processing and there's counties listed that aren't in the right states...)

I'll add a link to the OSM relation for the county to each county page, so you can see the source data on OSM to verify/edit.

eesmith 3 days ago | parent [-]

There are also not 53 states.

pavel_lishin 3 days ago | parent | prev | next [-]

One of those counties is Rockland, which is in NY. I wonder if it's counting bordering counties for states, since the assumption may be that the closest essential services for some Rockland residents may be in New Jersey.

sodality2 3 days ago | parent | next [-]

Ah! This looks like a bug with cross-border calculations. Ideally it would not show a Rockland County, NJ - it might cross state borders to perform calculations but they should all have a 'home state' that matches to the right county. Thanks for the example case, I'll work on a fix

joecool1029 3 days ago | parent | prev [-]

I know at least in Rockland's case, their power utility extends slightly into NJ. Can see it on statewide power outage trackers like this one: https://projects.nj.com/data/outagetracker/

cjensen 3 days ago | parent | prev | next [-]

California includes a number of counties which are actually in Baja California and Baja California del Sur.

mv4 3 days ago | parent | prev [-]

yeah we have 8 counties in CT, not 14. The names are also wrong.

sodality2 3 days ago | parent [-]

As far as I know there's no easy fix to this. It's the counties as reported by OpenStreetMaps' administrative boundaries.