danvk / comparea

Compare geographic features
13 stars 4 forks source link

Some cities show wrong or zero size #15

Open zgiles opened 9 years ago

zgiles commented 9 years ago

Some cities show size 0, or a very small wrong size. Example effected cities: Phoenix, AZ; Gilbert, AZ.

For example, Phoenix AZ shows size 0. I checked the JSON response from the server and it appears to have many many less points than a properly showing shape, such as NYC, thus indicating that perhaps it's not a rendering or calculation problem but a data source problem.. I checked freebase. The "area" key has values, but I can't figure out which key is for the land area points.

Also, if you google the city ID "w33011698", for Phoenix for example, there are tons of google results of it being compared against all types of sizes, so it's not just NYC vs Phoenix, it's everything vs that.

danvk commented 9 years ago

Looks like way 33011698 has been deleted from OSM. It should be relation 111257. The fix would be to update comparea with the new source.