Skip to content

Commit

Permalink
bigger text size, no capitals at z3, fewer capitals on z4, be more st…
Browse files Browse the repository at this point in the history
…rict with capitals, no dots at z8, only N and S placement
  • Loading branch information
nebulon42 committed Sep 1, 2016
1 parent 743162c commit 226a9f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.mml
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
"Datasource": {
"extent": "-20037508,-20037508,20037508,20037508",
"table": "(SELECT\n way,\n name,\n CASE\n WHEN population ~ '^-?\\d+(\\.\\d+)?$' THEN population::NUMERIC ELSE 0\n END as population\n FROM planet_osm_point\n WHERE capital = 'yes'\n AND (admin_level = '2' OR admin_level IS NULL)\n ORDER BY population DESC\n) AS capital_names",
"table": "(SELECT\n way,\n name,\n CASE\n WHEN (population ~ '^[0-9]{1,8}$') THEN population::INTEGER ELSE 0\n END as population\n FROM planet_osm_point\n WHERE capital = 'yes'\n AND admin_level = '2'\n ORDER BY population DESC\n) AS capital_names",
"geometry_field": "way",
"type": "postgis",
"key_field": "",
Expand Down
4 changes: 2 additions & 2 deletions project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1523,11 +1523,11 @@ Layer:
way,
name,
CASE
WHEN population ~ '^-?\d+(\.\d+)?$' THEN population::NUMERIC ELSE 0
WHEN (population ~ '^[0-9]{1,8}$') THEN population::INTEGER ELSE 0
END as population
FROM planet_osm_point
WHERE capital = 'yes'
AND (admin_level = '2' OR admin_level IS NULL)
AND admin_level = '2'
ORDER BY population DESC
) AS capital_names
properties:
Expand Down

0 comments on commit 226a9f1

Please sign in to comment.