Skip to content

Commit

Permalink
Fix #81: testes de superfície para praia
Browse files Browse the repository at this point in the history
  • Loading branch information
naoliv committed Feb 23, 2016
1 parent 37cb1a1 commit 730dc6c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Rules_Brazilian-Specific.validator.mapcss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
meta
{
title: "Brazilian-specific rules";
version: "2016-02-22";
version: "2016-02-23";
description: "Community rules for the most common errors and problems found in Brazil. Messages are in Portuguese only.";
icon: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAYCAMAAACoeN87AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wUGFhITJtY6OQAAAfhQTFRFABJ5ABx8ABx9AB19AB1+AB5yAB58AB9yACByACB0ACB2ACN0ACN4ACOAACR1ACR4ACV1ACZ1ACZ2ACZ5ACd2ACiEAJc9AJg9AJk7AJk8AJo7AJs6ASh1ASh2ASh3ASh4Aih3Ail4Ayh5Ayl3Ayl4Ayp4BClzBCt4BCyIBJw5BSt5Bit0Bix6Bp05Byx1By16B504B505CC96CJ04CZ04CjB8CzB8CzF8DTJ9DTSKDjN+DzKDEqA2EzeBE6A2FDiFFjqCGj2EJKUyJU2HJaUyJ02JJ6YxKlGJK0+LLFOKMKgwMktfMliNMqgvNE1eOE9dOlFdP1FRQKwrQawrQa0rQq0rRGiXRlpVSFxUSFxVSVxVSW2dUGJYUmNZWHqbWHqhYn6pZbYjZrYjZ5WvZ7cja315bYiub5Sqcrogcrohc7ofdLofdZ6rd6GrfKaugb4dg6izg78diMAbisAai8AajcEaj8Eakb62lb+5nJYmnZktn5osoJstosvAo50rqKItr7+btcsRtswQuMwQucwQ0NMK0dMK0tQK09QK1dQK38gO38gP4MkO4NlK5tkG59kF69oE7NoE8tUB89wD9NcF9dgF9tgF99oD+NsD+d4B/d8A/t8A/98A/+AA/+EA/+IA/+MA/+QA/+UA/+YA/+cA/+gA/+kA////gExgxwAAAAFiS0dEp8C3KwMAAAGISURBVCjPY5AmCBhIVyJpZyeJV4mUeGhTU6i4FG4lUiYl/XPn9hebSOFSIuXbMW/hokUL57X7SmFXYlA4b0qVt4yMd9WUeYUGmEqkDIM753eHM/MLCfEzhXfP7ww2lEJVIuFSNnPepEAGVnYObkEhpsjp82aWuUggKZGSSmmbN3dOb3JebnqCs5KKAFvd/Lnz2lKkpGBKxNxaJs+dPXtharS7T1haQUW8Apf/ktmz505ucRODKNHMnjhrNhAs1ZMTEpJTN/LIKXdVWwYSmTUxSxOiJGMCWMkybTkRKy1FFUFOz9q4hWAlEzI1oRa5NIMsWhxgbyoi4OAoIMJn3TAPZFGzixjCuUmt8+bOr+fVt1Uw11IVcbCsXDB3XmsiwrkgTzuVzpw3PYLFTFlLx8JBI3bGvJmlThJoQacb1DG/J4qRR15BWDSma35HkK4UlgjInze12k9W1q9m2rx8AxzR6NUGicY2LymcicG4qG/u3L4iYyl8SSqksTEEX5ICJUwbG0nKkzcWAABUy60wquZO7gAAAABJRU5ErkJggg==";
author: "OpenStreetMap Brasil";
Expand Down Expand Up @@ -691,10 +691,22 @@ way[highway =~ /^(living_street|pedestrian|residential|road|service|track)$/][re
throwWarning: tr("verificar: a via deve ser ao menos tertiary");
}

area[natural=wetland][!wetland] {
area[natural = wetland][!wetland] {
throwWarning: tr("ausência de wetland=*");
}

/* --> #81 */
/* http://overpass-turbo.eu/s/ezj */
area[natural = beach][!surface] {
throwWarning: tr("''{0}'' sem ''{1}'' definida", "{0.tag}", "{1.key}");
}

/* http://overpass-turbo.eu/s/ezk */
area[natural = beach][surface][surface !~ /^(fine_gravel|gravel|pebbles|pebblestone|sand|shells|shingle|stones)$/] {
throwWarning: tr("{0} inapropriada para ''{1}''", "{1.key}", "{0.tag}");
}
/* #81 <-- */

way[bridge] >[index=1] node { set .is_first_in_bridge }
way[bridge] >[index=-1] node { set .is_last_in_bridge }
way[highway][bridge] > node { set .is_in_bridge }
Expand Down

0 comments on commit 730dc6c

Please sign in to comment.