{"action":"opened","issue":{"url":"https://api.github.com/repos/mapnik/node-mapnik/issues/523","labels_url":"https://api.github.com/repos/mapnik/node-mapnik/issues/523/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/node-mapnik/issues/523/comments","events_url":"https://api.github.com/repos/mapnik/node-mapnik/issues/523/events","html_url":"https://github.com/mapnik/node-mapnik/issues/523","id":107237869,"number":523,"title":"svg renderer should gracefully handle sprites without height/width","user":{"login":"samanpwbb","id":108094,"avatar_url":"https://avatars.githubusercontent.com/u/108094?v=3","gravatar_id":"","url":"https://api.github.com/users/samanpwbb","html_url":"https://github.com/samanpwbb","followers_url":"https://api.github.com/users/samanpwbb/followers","following_url":"https://api.github.com/users/samanpwbb/following{/other_user}","gists_url":"https://api.github.com/users/samanpwbb/gists{/gist_id}","starred_url":"https://api.github.com/users/samanpwbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samanpwbb/subscriptions","organizations_url":"https://api.github.com/users/samanpwbb/orgs","repos_url":"https://api.github.com/users/samanpwbb/repos","events_url":"https://api.github.com/users/samanpwbb/events{/privacy}","received_events_url":"https://api.github.com/users/samanpwbb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-18T16:47:35Z","updated_at":"2015-09-18T16:47:35Z","closed_at":null,"body":"right now, if you provide an SVG without a width/height, node mapnik throws an error: https://github.com/mapnik/node-mapnik/blob/bf581563d923871f4d4cce4c15b1ba544f1617ae/src/mapnik_image.cpp#L2394-L2398\r\n\r\nBut SVGs without width/height are valid in the SVG spec and the majority of SVGs in the wild do not have these properties."}}