Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit 9d2863b6d2e07bc821628bf9a8c0d71d18cb6bb0 1 parent 6eff56e
@tmcw tmcw authored
Showing with 27 additions and 0 deletions.
  1. +27 −0 README.md
View
27 README.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.