Update README.md

This commit is contained in:
Tom MacWright 2012-05-08 16:44:30 -03:00
parent 6eff56e2e2
commit 9d2863b6d2

View File

@ -203,6 +203,33 @@ By defining multiple fonts in a `text-face-name` definition, you create [FontSet
<tr>
</table>
## Filters
Carto supports a variety of filter styles:
Numeric comparisons:
```
#world[population > 100]
#world[population < 100]
#world[population >= 100]
#world[population <= 100]
```
General comparisons:
```
#world[population = 100]
#world[population != 100]
```
String comparisons:
```
/* a regular expression over name */
#world[name =~ "A.*"]
```
## Usage