{"action":"created","issue":{"url":"https://api.github.com/repos/mapserver/mapserver/issues/5268","repository_url":"https://api.github.com/repos/mapserver/mapserver","labels_url":"https://api.github.com/repos/mapserver/mapserver/issues/5268/labels{/name}","comments_url":"https://api.github.com/repos/mapserver/mapserver/issues/5268/comments","events_url":"https://api.github.com/repos/mapserver/mapserver/issues/5268/events","html_url":"https://github.com/mapserver/mapserver/pull/5268","id":144895931,"number":5268,"title":"Legend MapServer 7.0.1 Label SIZE is ignored when using SIZEUNITS meters","user":{"login":"astroidex","id":996298,"avatar_url":"https://avatars.githubusercontent.com/u/996298?v=3","gravatar_id":"","url":"https://api.github.com/users/astroidex","html_url":"https://github.com/astroidex","followers_url":"https://api.github.com/users/astroidex/followers","following_url":"https://api.github.com/users/astroidex/following{/other_user}","gists_url":"https://api.github.com/users/astroidex/gists{/gist_id}","starred_url":"https://api.github.com/users/astroidex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroidex/subscriptions","organizations_url":"https://api.github.com/users/astroidex/orgs","repos_url":"https://api.github.com/users/astroidex/repos","events_url":"https://api.github.com/users/astroidex/events{/privacy}","received_events_url":"https://api.github.com/users/astroidex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mapserver/mapserver/milestones/47","html_url":"https://github.com/mapserver/mapserver/milestones/7.0.2%20Release","labels_url":"https://api.github.com/repos/mapserver/mapserver/milestones/47/labels","id":1605652,"number":47,"title":"7.0.2 Release","description":"","creator":{"login":"tbonfort","id":358469,"avatar_url":"https://avatars.githubusercontent.com/u/358469?v=3","gravatar_id":"","url":"https://api.github.com/users/tbonfort","html_url":"https://github.com/tbonfort","followers_url":"https://api.github.com/users/tbonfort/followers","following_url":"https://api.github.com/users/tbonfort/following{/other_user}","gists_url":"https://api.github.com/users/tbonfort/gists{/gist_id}","starred_url":"https://api.github.com/users/tbonfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbonfort/subscriptions","organizations_url":"https://api.github.com/users/tbonfort/orgs","repos_url":"https://api.github.com/users/tbonfort/repos","events_url":"https://api.github.com/users/tbonfort/events{/privacy}","received_events_url":"https://api.github.com/users/tbonfort/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":22,"state":"open","created_at":"2016-02-25T16:45:11Z","updated_at":"2016-09-20T16:37:26Z","due_on":"2016-09-19T00:00:00Z","closed_at":null},"comments":3,"created_at":"2016-03-31T13:06:35Z","updated_at":"2016-09-20T18:12:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapserver/mapserver/pulls/5268","html_url":"https://github.com/mapserver/mapserver/pull/5268","diff_url":"https://github.com/mapserver/mapserver/pull/5268.diff","patch_url":"https://github.com/mapserver/mapserver/pull/5268.patch"},"body":"When you use SIZEUNITS meters instead of pixel in your LAYER the SIZE of your LEGEND is very small as long as you define only size. When you define MINSIZE and MAXSIZE the size is ok.\r\n\r\n```\r\nLEGEND\r\n\tSTATUS ON\r\n\tKEYSIZE 30 30\r\n\tKEYSPACING 5 3  \r\n\tLABEL\r\n\t\tTYPE TRUETYPE\r\n\t\tFONT 'arial' \r\n\t\tSIZE 10\r\n\t\tCOLOR 119 179 0\r\n\tEND \r\nEND\r\n```\r\n\r\n* example using SIZE 10\r\n![legend_mapserv7_size10](https://cloud.githubusercontent.com/assets/996298/14176383/fece3834-f750-11e5-8a8e-5649152fc2a3.png)\r\n\r\n* Example using SIZE 100 (legend comes back with a big white extra area at the left and bottom)\r\n![legend_mapserv7_size100](https://cloud.githubusercontent.com/assets/996298/14176387/02f59358-f751-11e5-8820-911673173309.png)\r\n\r\n* when you add MINSIZE and MAXSIZE the Legend SIZE is ok\r\n\r\n```\r\nLEGEND\r\n\tSTATUS ON\r\n\tKEYSIZE 30 30\r\n\tKEYSPACING 5 3  \r\n\tLABEL\r\n\t\tTYPE TRUETYPE\r\n\t\tFONT 'arial' \r\n\t\tSIZE 10\r\n                MINSIZE 10\r\n                MAXSIZE 10\r\n\t\tCOLOR 119 179 0\r\n\tEND \r\nEND\r\n```\r\n\r\n![legend_mapserv_7_size_minsize_maxsize](https://cloud.githubusercontent.com/assets/996298/14176513/a6b44e4e-f751-11e5-9637-2290d6f32404.png)"},"comment":{"url":"https://api.github.com/repos/mapserver/mapserver/issues/comments/248384982","html_url":"https://github.com/mapserver/mapserver/pull/5268#issuecomment-248384982","issue_url":"https://api.github.com/repos/mapserver/mapserver/issues/5268","id":248384982,"user":{"login":"jmckenna","id":1611709,"avatar_url":"https://avatars.githubusercontent.com/u/1611709?v=3","gravatar_id":"","url":"https://api.github.com/users/jmckenna","html_url":"https://github.com/jmckenna","followers_url":"https://api.github.com/users/jmckenna/followers","following_url":"https://api.github.com/users/jmckenna/following{/other_user}","gists_url":"https://api.github.com/users/jmckenna/gists{/gist_id}","starred_url":"https://api.github.com/users/jmckenna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmckenna/subscriptions","organizations_url":"https://api.github.com/users/jmckenna/orgs","repos_url":"https://api.github.com/users/jmckenna/repos","events_url":"https://api.github.com/users/jmckenna/events{/privacy}","received_events_url":"https://api.github.com/users/jmckenna/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T18:12:16Z","updated_at":"2016-09-20T18:12:16Z","body":"@astroidex can you confirm that thomas' fix posted here, works in your case? Or, can you post the sample mapfile + data, so I can test?  (I'd like to get this included in the MapServer 7.0.2 release this week)"}}
{"actor":{"display_login":"jmckenna"}}