{"action":"created","issue":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/issues/43","labels_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/issues/43/comments","events_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/issues/43/events","html_url":"https://github.com/SemanticMediaWiki/SemanticMaps/issues/43","id":93015658,"number":43,"title":"Issue adding shapes to semantic maps #ask: or using Special:Ask","user":{"login":"megasquall","id":10365998,"avatar_url":"https://avatars.githubusercontent.com/u/10365998?v=3","gravatar_id":"","url":"https://api.github.com/users/megasquall","html_url":"https://github.com/megasquall","followers_url":"https://api.github.com/users/megasquall/followers","following_url":"https://api.github.com/users/megasquall/following{/other_user}","gists_url":"https://api.github.com/users/megasquall/gists{/gist_id}","starred_url":"https://api.github.com/users/megasquall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megasquall/subscriptions","organizations_url":"https://api.github.com/users/megasquall/orgs","repos_url":"https://api.github.com/users/megasquall/repos","events_url":"https://api.github.com/users/megasquall/events{/privacy}","received_events_url":"https://api.github.com/users/megasquall/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-04T14:11:23Z","updated_at":"2015-07-04T23:09:41Z","closed_at":null,"body":"When using {{#ask:}} queries, the \"|polygons\" or other shape attributes seem not to function correctly. Points for the request are displayed correctly, but shapes do not show off. Using the Speical:Ask form, the script shows the following error when setting any value to a shape input box :\r\n\r\nCatchable fatal error: Object of class Maps\\Elements\\Polygon could not be converted to string in C:\\Program Files (x86)\\EasyPHP-DevServer-14.1VC11\\data\\localweb\\w\\extensions\\SemanticMediaWiki\\includes\\specials\\SMW_SpecialAsk.php on line 437\r\n\r\nThe wiki is a fresh installation with the following configuration :\r\n\r\nWindows 7\r\nEasyPHP DevServer 14.1VC11\r\nApache 2.4.7\r\nPHP 5.5.8 (apache2handler)\r\nMySQL 5.6.15-log\r\n\r\nMediaWiki 1.25.1\r\nMaps 3.3\r\nSemantic Maps 3.2\r\nSemantic MediaWiki 2.2.1\r\nSemantic Result Formats 2.1.2\r\n\r\nThat wiki is a local development server which you cannot access, but it was set up to reproduce the same problem we seem to have on a public wiki which you may access here : http://fr.scoutwiki.org/Special:Version. It is not the exact same environment, but they have the same version for MediaWiki and map / semantic extensions.\r\n\r\nAny support would be appreciated.\r\nRegards,"},"comment":{"url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/issues/comments/118561684","html_url":"https://github.com/SemanticMediaWiki/SemanticMaps/issues/43#issuecomment-118561684","issue_url":"https://api.github.com/repos/SemanticMediaWiki/SemanticMaps/issues/43","id":118561684,"user":{"login":"megasquall","id":10365998,"avatar_url":"https://avatars.githubusercontent.com/u/10365998?v=3","gravatar_id":"","url":"https://api.github.com/users/megasquall","html_url":"https://github.com/megasquall","followers_url":"https://api.github.com/users/megasquall/followers","following_url":"https://api.github.com/users/megasquall/following{/other_user}","gists_url":"https://api.github.com/users/megasquall/gists{/gist_id}","starred_url":"https://api.github.com/users/megasquall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megasquall/subscriptions","organizations_url":"https://api.github.com/users/megasquall/orgs","repos_url":"https://api.github.com/users/megasquall/repos","events_url":"https://api.github.com/users/megasquall/events{/privacy}","received_events_url":"https://api.github.com/users/megasquall/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T23:09:41Z","updated_at":"2015-07-04T23:09:41Z","body":"Hi, this is about polygons defined statically on a map that displays queried coordinates :\r\n\r\n{{#ask: [[Category:Test]]\r\n| ?GPS\r\n| polygons = 1.2345,2.345:1.235,2.346:...\r\n}}"}}