{"action":"created","issue":{"url":"https://api.github.com/repos/bobombolo/realterrain/issues/108","repository_url":"https://api.github.com/repos/bobombolo/realterrain","labels_url":"https://api.github.com/repos/bobombolo/realterrain/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/bobombolo/realterrain/issues/108/comments","events_url":"https://api.github.com/repos/bobombolo/realterrain/issues/108/events","html_url":"https://github.com/bobombolo/realterrain/issues/108","id":143758685,"number":108,"title":"new strategy altogether","user":{"login":"bobombolo","id":12679496,"avatar_url":"https://avatars.githubusercontent.com/u/12679496?v=3","gravatar_id":"","url":"https://api.github.com/users/bobombolo","html_url":"https://github.com/bobombolo","followers_url":"https://api.github.com/users/bobombolo/followers","following_url":"https://api.github.com/users/bobombolo/following{/other_user}","gists_url":"https://api.github.com/users/bobombolo/gists{/gist_id}","starred_url":"https://api.github.com/users/bobombolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobombolo/subscriptions","organizations_url":"https://api.github.com/users/bobombolo/orgs","repos_url":"https://api.github.com/users/bobombolo/repos","events_url":"https://api.github.com/users/bobombolo/events{/privacy}","received_events_url":"https://api.github.com/users/bobombolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2016-03-26T23:20:36Z","updated_at":"2016-03-28T21:28:34Z","closed_at":null,"body":"\r\nI have a new idea for an approach to this DEM-to-map idea: a python script that loads a DEM directly into the map.sqlite db. That way no mapgen is ever required and the full DEM is available to all players regardless of spawn location, teleporting, etc. Of course the landcover could be handled too. Of course this means all the realterrain remote settings tools would be removed from the mod and would be part of the python script.\r\n\r\nNot sure how intuitive the map.sqlite file is. Also not sure how to implement the GIS raster analysis modes where we symbolize slope or distance in such a scheme. It would be nice to not have to alter the source map to do such symbolizing, rather each client should be able to view the map raw, or switch to different analysis output modes independent of the server.  Not sure this is possible without client-side modding. at any rate, using python to load a raster set into sqlite and back out again would also address the goal of being able to save the collaborative editing efforts of a team of players that improved a map and wanted to output a dem and lclu raster of their work."},"comment":{"url":"https://api.github.com/repos/bobombolo/realterrain/issues/comments/202587433","html_url":"https://github.com/bobombolo/realterrain/issues/108#issuecomment-202587433","issue_url":"https://api.github.com/repos/bobombolo/realterrain/issues/108","id":202587433,"user":{"login":"bobombolo","id":12679496,"avatar_url":"https://avatars.githubusercontent.com/u/12679496?v=3","gravatar_id":"","url":"https://api.github.com/users/bobombolo","html_url":"https://github.com/bobombolo","followers_url":"https://api.github.com/users/bobombolo/followers","following_url":"https://api.github.com/users/bobombolo/following{/other_user}","gists_url":"https://api.github.com/users/bobombolo/gists{/gist_id}","starred_url":"https://api.github.com/users/bobombolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobombolo/subscriptions","organizations_url":"https://api.github.com/users/bobombolo/orgs","repos_url":"https://api.github.com/users/bobombolo/repos","events_url":"https://api.github.com/users/bobombolo/events{/privacy}","received_events_url":"https://api.github.com/users/bobombolo/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T21:28:34Z","updated_at":"2016-03-28T21:28:34Z","body":"another complication I expect is to do with the contentID system that minetest uses. it appears that the @LeMagnesium approach is to have a mod that includes a chat command that you can use to create a world and then generate a list of known nodes as a textfile that other operations then refer to. this has to be done because of the changeability of content ids based on loaded mods and such. this means that the user has to create a new world, configure it with our mod which will create the needed nodetypes, then the python script will do its work.\r\n\r\nit might actually work in our favour to have a python script that reads the contents of the map.sqlite into an undo.sqlite file, and then the map.sqlite db can be truncated or zeroed and then filled with slope symbology. this way we avoid the crashing caused by simply deleting the map.sqlite file. not sure if it is locked while the map is loaded though. \r\n\r\nanother issue is when pre-loading a sqlite db with nodes based on a raster, how deep do we fill it? maybe a mixed approach is needed where a lua mapgen does all the subterrainian filling as needed."}}