{"id":19850238,"url":"https://github.com/trailbehind/gaia-map-warper","last_synced_at":"2025-05-01T22:31:01.786Z","repository":{"id":5273465,"uuid":"6452133","full_name":"trailbehind/Gaia-Map-Warper","owner":"trailbehind","description":"This is a clone of the NYPL map warper created by Tim Waters, with a few changes for use in Gaia GPS. If you are interested in forking this project, I suggest you go with the original.","archived":false,"fork":false,"pushed_at":"2014-09-12T20:20:04.000Z","size":6918,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-06T19:11:12.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trailbehind.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-30T04:46:20.000Z","updated_at":"2020-07-28T19:13:19.000Z","dependencies_parsed_at":"2022-09-13T19:22:04.885Z","dependency_job_id":null,"html_url":"https://github.com/trailbehind/Gaia-Map-Warper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2FGaia-Map-Warper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2FGaia-Map-Warper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2FGaia-Map-Warper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailbehind%2FGaia-Map-Warper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trailbehind","download_url":"https://codeload.github.com/trailbehind/Gaia-Map-Warper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251954836,"owners_count":21670887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T13:24:59.223Z","updated_at":"2025-05-01T22:30:56.776Z","avatar_url":"https://github.com/trailbehind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"README \n--------\n\nSome things you may need to set up first:\n\nlibgdal-ruby is used to get the raster extents to update the bounding box of a warped map\n\nconfig/deploy.rb for capistrano users, change this as fits. Have a look and see\n how it works with shared paths, to save mapserver map files and images between deploys.\n\ngdal - needs to be installed, again FWTOOLS good. the path to the gdal executable\n directory can be added / changed in config/environments/production.rb and/or development.rb if\nIt cannot find it on the PATH.\n\nSome files you will need to put manually there, and capistrano copies across to the correct place, basically enables\nthe code not to have site specific stuff in svn.\n\nconfig/initializers/session_store.rb.example into shared/config/session_store.rb\nconfig/initializers/mail.rb. put mail.rb into shared/config folder\nconfig/environments/production.rb again, into shared/config folder\nconfig/database.yml.production into shared/config folder\nsee deploy.rb for details\n\ncreate folders shared/system/mapimages/src and /dst and /dst/png\n\n\ndatabase - standard rails db migrate should do the trick - mysql or sqlite3 should\nmake sure you login as the admin set up in the migration 010 and use this to create a new user, and use this to disable this initial default admin\n\nbe fine. Change the database.example file to your database.yml \n\nimagemagick required for paperclip and thumbnail handling....\n\nlegacy import from older warper with mapscans\nyou can use the custom rake command\nRAILS_ENV=development rake legacy:migrate --trace\n---------\nreplace GOOGLE_MAPS_KEY in production.rb to your own\n\n\nOther optional config options put in you environment files\nMAX_DIMENSION =  2000  #max dimension width or height for an upload. Otherwise it will get resized to fit this max size\nMAX_ATTACHMENT_SIZE = 5.megabyte #max upload file size\nGDAL_MEMORY_LIMIT = 20 # max memory used for gdal_warp, may keep some servers sweet\nif you comment these out, then no constraints are used\n--\ntim waters \n\ntim_at_geothings_dotnet\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailbehind%2Fgaia-map-warper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrailbehind%2Fgaia-map-warper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailbehind%2Fgaia-map-warper/lists"}