-
I've noticed for a few brands, like First State Bank (Michigan), they have their own geojson file. Granted, these banks may not actually serve the entire state that they're named for, I haven't checked. But could these simply be defaulted to their respective state geojson, now that those have been added? Does performance improve if there are fewer geojsons overall? Or, if these brand-specific geojsons are more accurate for the given brand, is it preferable to simply leave them be? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Some can be replaced with state GeoJSONs, but others are trickier. If I remember correctly, there are multiple People’s Banks (or something generic like that) headquartered in various states and serving different parts of Kentucky. |
Beta Was this translation helpful? Give feedback.
-
This is a complicated question, but basically all of the I wouldn't worry too much about the complexity of the GeoJSONs because there is still a lot of performance that we can squeeze out of iD's location checking - a small code improvement here helped performance a bunch: openstreetmap/iD#8761 For example iD still does preset matching (which can cause a location lookup) on all its features when it renders them, instead it should just cache the matched preset. |
Beta Was this translation helpful? Give feedback.
Some can be replaced with state GeoJSONs, but others are trickier. If I remember correctly, there are multiple People’s Banks (or something generic like that) headquartered in various states and serving different parts of Kentucky.