Place "Longitude must be greater than or equal to -180" error

the title of your place in the bug report suggested that it might be entirely on the Australian mainland, which doesn’t span the antimeridian (180 deg long). but since you were still reporting that you were getting an error, i tried a couple of things. in the place page, the default map starts with the prime meridian (0 deg long) at in the middle, and the antimeridian at both the right and left sides of the map. this means that, roughly, the left side of the map includes the Americas, and the right side includes Europe, Africa, Asia, Australia.

  1. if i zoom in and to pan to the the right side of the existing map to draw a box around Brisbane (in Australia) as my place, that place is created just fine.
  2. if instead i pan to the left (thereby crossing the antimeridian and bringing Australia into view from the left side of the map) and zoom in to draw a box around Brisbane as my place, that place reports the -180 error.

so i guess this means that when you create a new place by drawing a polygon in the place page, you can’t pan across the antimeridian, even if your place doesn’t actually span the antimeridian. in other words, if you’re not spanning the antimeridian, and you’ve been doing method 2 above to create your place, try doing method 1 instead.

this still seems like a bug, but at least you should be able to easily work around it in this situation, i think.

2 Likes