hholzgra / maposmatic

Mirror of maposmatic repository at savannah.nongnu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent same input value for min and max latitude / longitude value

hholzgra opened this issue · comments

Right now it seems to be possible to select the same value for minimum and maximum latitude or longitude, leading to a "division by zero" error during rendering later.

The form validator should either prevent such invalid input, or should extend the render area to a minimum of e.g. one arc second, or an absolute size of e.g. ten by ten meters.

See e.g. http://print.get-map.org/maps/224899