{"action":"created","issue":{"url":"https://api.github.com/repos/rilyu/mobac-ext/issues/1","labels_url":"https://api.github.com/repos/rilyu/mobac-ext/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rilyu/mobac-ext/issues/1/comments","events_url":"https://api.github.com/repos/rilyu/mobac-ext/issues/1/events","html_url":"https://github.com/rilyu/mobac-ext/issues/1","id":106444470,"number":1,"title":"maybe not an issue","user":{"login":"josch09","id":4643911,"avatar_url":"https://avatars.githubusercontent.com/u/4643911?v=3","gravatar_id":"","url":"https://api.github.com/users/josch09","html_url":"https://github.com/josch09","followers_url":"https://api.github.com/users/josch09/followers","following_url":"https://api.github.com/users/josch09/following{/other_user}","gists_url":"https://api.github.com/users/josch09/gists{/gist_id}","starred_url":"https://api.github.com/users/josch09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josch09/subscriptions","organizations_url":"https://api.github.com/users/josch09/orgs","repos_url":"https://api.github.com/users/josch09/repos","events_url":"https://api.github.com/users/josch09/events{/privacy}","received_events_url":"https://api.github.com/users/josch09/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T22:58:08Z","updated_at":"2015-09-15T03:00:28Z","closed_at":null,"body":"Hi I tried your extended version of MOBAC but I failed miserably (perhaps I'm totally wrong and/or have totally misunderstood your readme.md - due to my non existing Chinese language skills)\r\n\r\nHere is my use case:\r\n- I have a local tile storage of 'old' downloaded google maps tiles of China.\r\n- When I use this localTileFiles storage to create real maps (RMaps sqlite, osmand-sqlite etc.) with the original Mobac 1.9 version I always get maps with an offset of ca. 700m)\r\n- So my hope was/is using your extended version to create maps in Mobac without this offset. \r\n\r\nAfaik downloaded China google maps tiles are not WGS-84 but GCJ-02. Therefore I thought I use your new <mapSpaceType> tag in my own local mapsource xml file:\r\n\r\n```\r\n<localTileFiles>\r\n <mapSpaceType>msMercatorGCJ02</mapSpaceType>\r\n <sourceType>DIR_ZOOM_X_Y</sourceType>\r\n <sourceFolder>/home/user/mobac18_china_tiles/Google Maps China</sourceFolder>\r\n <backgroundColor>#000000</backgroundColor>\r\n</localTileFiles>\r\n```\r\nand then use this mapsource to generate the maps in your extended version of Mobac (RMaps sqlite, osmand sqlite format). But my generated maps still have the ~700m offset. \r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/rilyu/mobac-ext/issues/comments/140263080","html_url":"https://github.com/rilyu/mobac-ext/issues/1#issuecomment-140263080","issue_url":"https://api.github.com/repos/rilyu/mobac-ext/issues/1","id":140263080,"user":{"login":"rilyu","id":5363837,"avatar_url":"https://avatars.githubusercontent.com/u/5363837?v=3","gravatar_id":"","url":"https://api.github.com/users/rilyu","html_url":"https://github.com/rilyu","followers_url":"https://api.github.com/users/rilyu/followers","following_url":"https://api.github.com/users/rilyu/following{/other_user}","gists_url":"https://api.github.com/users/rilyu/gists{/gist_id}","starred_url":"https://api.github.com/users/rilyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rilyu/subscriptions","organizations_url":"https://api.github.com/users/rilyu/orgs","repos_url":"https://api.github.com/users/rilyu/repos","events_url":"https://api.github.com/users/rilyu/events{/privacy}","received_events_url":"https://api.github.com/users/rilyu/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T03:00:28Z","updated_at":"2015-09-15T03:00:28Z","body":"Set msMercatorGCJ02 role is to let MOBAC know the map projection, such as when loading gpx displayed in the correct position. \nIf you want to convert your map to WGS-84 projection, you need to define a multi-layer map source and set forceMercator to true, like the following:\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<customMultiLayerMapSource>\n\t<name>newMap</name>\n\t<backgroundColor>#000000</backgroundColor>\n\t<forceMercator>true</forceMercator>\n\t<layers>\n\t\t<localTileFiles>\n\t\t\t<name>localMap</name>\n\t\t\t<mapSpaceType>msMercatorGCJ02</mapSpaceType>\n\t\t\t<sourceType>DIR_ZOOM_X_Y</sourceType>\n\t\t\t<sourceFolder><![CDATA[/home/user/mobac18_china_tiles/Google Maps China]]></sourceFolder>\n\t\t</localTileFiles>\n\t</layers>\n</customMultiLayerMapSource>\n\n\n> 在 2015年9月15日，上午6:58，J.S. <notifications@github.com> 写道：\n> \n> Hi I tried your extended version of MOBAC but I failed miserably (perhaps I'm totally wrong and/or have totally misunderstood your readme.md - due to my non existing Chinese language skills)\n> \n> Here is my use case:\n> \n> I have a local tile storage of 'old' downloaded google maps tiles of China.\n> When I use this localTileFiles storage to create real maps (RMaps sqlite, osmand-sqlite etc.) with the original Mobac 1.9 version I always get maps with an offset of ca. 700m)\n> So my hope was/is using your extended version to create maps in Mobac without this offset.\n> Afaik downloaded China google maps tiles are not WGS-84 but GCJ-02. Therefore I thought I use your new tag in my own local mapsource xml file:\n> \n> \n> msMercatorGCJ02\n> DIR_ZOOM_X_Y\n> /home/user/mobac18_china_tiles/Google Maps China\n> #000000\n> and then use this mapsource to generate the maps in your extended version of Mobac (RMaps sqlite, osmand sqlite format). But my generated maps still have the ~700m offset.\n> \n> Thanks in advance\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/rilyu/mobac-ext/issues/1>.\n> \n\n"}}