{"action":"created","issue":{"url":"https://api.github.com/repos/tangrams/eraser-map/issues/112","labels_url":"https://api.github.com/repos/tangrams/eraser-map/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/tangrams/eraser-map/issues/112/comments","events_url":"https://api.github.com/repos/tangrams/eraser-map/issues/112/events","html_url":"https://github.com/tangrams/eraser-map/issues/112","id":120490279,"number":112,"title":"Ambiguous draw parameters","user":{"login":"blair1618","id":3371850,"avatar_url":"https://avatars.githubusercontent.com/u/3371850?v=3","gravatar_id":"","url":"https://api.github.com/users/blair1618","html_url":"https://github.com/blair1618","followers_url":"https://api.github.com/users/blair1618/followers","following_url":"https://api.github.com/users/blair1618/following{/other_user}","gists_url":"https://api.github.com/users/blair1618/gists{/gist_id}","starred_url":"https://api.github.com/users/blair1618/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blair1618/subscriptions","organizations_url":"https://api.github.com/users/blair1618/orgs","repos_url":"https://api.github.com/users/blair1618/repos","events_url":"https://api.github.com/users/blair1618/events{/privacy}","received_events_url":"https://api.github.com/users/blair1618/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tangrams/eraser-map/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"nvkelso","id":853051,"avatar_url":"https://avatars.githubusercontent.com/u/853051?v=3","gravatar_id":"","url":"https://api.github.com/users/nvkelso","html_url":"https://github.com/nvkelso","followers_url":"https://api.github.com/users/nvkelso/followers","following_url":"https://api.github.com/users/nvkelso/following{/other_user}","gists_url":"https://api.github.com/users/nvkelso/gists{/gist_id}","starred_url":"https://api.github.com/users/nvkelso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvkelso/subscriptions","organizations_url":"https://api.github.com/users/nvkelso/orgs","repos_url":"https://api.github.com/users/nvkelso/repos","events_url":"https://api.github.com/users/nvkelso/events{/privacy}","received_events_url":"https://api.github.com/users/nvkelso/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/tangrams/eraser-map/milestones/1","html_url":"https://github.com/tangrams/eraser-map/milestones/v1.0.0%20launch","labels_url":"https://api.github.com/repos/tangrams/eraser-map/milestones/1/labels","id":1372897,"number":1,"title":"v1.0.0 launch","description":"","creator":{"login":"nvkelso","id":853051,"avatar_url":"https://avatars.githubusercontent.com/u/853051?v=3","gravatar_id":"","url":"https://api.github.com/users/nvkelso","html_url":"https://github.com/nvkelso","followers_url":"https://api.github.com/users/nvkelso/followers","following_url":"https://api.github.com/users/nvkelso/following{/other_user}","gists_url":"https://api.github.com/users/nvkelso/gists{/gist_id}","starred_url":"https://api.github.com/users/nvkelso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvkelso/subscriptions","organizations_url":"https://api.github.com/users/nvkelso/orgs","repos_url":"https://api.github.com/users/nvkelso/repos","events_url":"https://api.github.com/users/nvkelso/events{/privacy}","received_events_url":"https://api.github.com/users/nvkelso/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":37,"state":"open","created_at":"2015-10-23T17:27:42Z","updated_at":"2015-12-05T01:08:45Z","due_on":"2015-11-27T08:00:00Z","closed_at":null},"comments":8,"created_at":"2015-12-04T21:32:26Z","updated_at":"2015-12-06T01:32:58Z","closed_at":null,"body":"The layers [pois_and_landuse_labels:has-name:default-label-text](https://github.com/tangrams/eraser-map/blob/gh-pages/eraser-map.yaml#L4060) and [pois_and_landuse_labels:has-name:bank-early](https://github.com/tangrams/eraser-map/blob/gh-pages/eraser-map.yaml#L4350)* can both match the same feature and assign the `visible` parameter to the `text` rule with different values at the same depth. \r\n\r\nThere is no way for tangram to determine which rule should \"win\" in cases like this and therefore it is totally valid for an implementation to **choose either value at random**. This is a [known limitation](https://github.com/tangrams/tangram-docs/blob/gh-pages/pages/Filters-Overview.md#matching-collisions) of the stylesheet syntax. To get well-defined behavior, some of these rules will have to be removed or re-structured such that they don't collide. \r\n\r\n*= The nearby layers 'office-early', 'post-office-early', 'atm-early', 'memorial-early', and 'parking-labels-early' will almost certainly have this problem as well. "},"comment":{"url":"https://api.github.com/repos/tangrams/eraser-map/issues/comments/162262196","html_url":"https://github.com/tangrams/eraser-map/issues/112#issuecomment-162262196","issue_url":"https://api.github.com/repos/tangrams/eraser-map/issues/112","id":162262196,"user":{"login":"blair1618","id":3371850,"avatar_url":"https://avatars.githubusercontent.com/u/3371850?v=3","gravatar_id":"","url":"https://api.github.com/users/blair1618","html_url":"https://github.com/blair1618","followers_url":"https://api.github.com/users/blair1618/followers","following_url":"https://api.github.com/users/blair1618/following{/other_user}","gists_url":"https://api.github.com/users/blair1618/gists{/gist_id}","starred_url":"https://api.github.com/users/blair1618/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blair1618/subscriptions","organizations_url":"https://api.github.com/users/blair1618/orgs","repos_url":"https://api.github.com/users/blair1618/repos","events_url":"https://api.github.com/users/blair1618/events{/privacy}","received_events_url":"https://api.github.com/users/blair1618/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T01:32:58Z","updated_at":"2015-12-06T01:32:58Z","body":"In tangram-es it would be pretty easy to resolve conflicts by order within the file (yaml-cpp provides positional information about each node). This seems like it would be a more intuitive solution than sorting by layer name, but it sounds like this might not be technically possible in tangram-js?"}}