Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chores/fix map #43

Merged
merged 38 commits into from
Feb 6, 2023
Merged

Chores/fix map #43

merged 38 commits into from
Feb 6, 2023

Conversation

armandfardeau
Copy link
Collaborator

@armandfardeau armandfardeau commented Jan 12, 2023

How to use

Existing positions

bundle exec rake decidim_homepage_interactive_map:repair_data

New positions

No need to do anything, the module will automatically transpose the scope position.

See readme for installation instructions, especially:

  • On OSX:
brew install proj
bundle config set build.rgeo-proj4 --with-proj-dir="/opt/homebrew/"
bundle pristine rgeo-proj4
bundle install
  • On Ubuntu:
PROJ_VERSION=proj-9.1.1 ./.github/install_proj.sh
bundle config set build.rgeo-proj4 --with-proj-dir="/usr/local/bin/"
bundle pristine rgeo-proj4
bundle install

@armandfardeau armandfardeau force-pushed the chores/fix-map branch 4 times, most recently from 812a8f3 to 71a1807 Compare January 13, 2023 16:32
@armandfardeau armandfardeau force-pushed the chores/fix-map branch 2 times, most recently from 0df026d to b9354ff Compare January 13, 2023 16:54
@armandfardeau armandfardeau requested review from a team and Ouardaoubahri and removed request for a team January 17, 2023 16:28
@paulinebessoles
Copy link
Collaborator

Thank you @armandfardeau! I have an issue when trying to geo-localize a scope.
Capture d’écran 2023-01-17 à 18 42 55

NameError (uninitialized constant Decidim::HomepageInteractiveMap::CoordinatesSwapper):
  
decidim-module-homepage_interactive_map (7bd37ebf30ea) app/commands/decidim/admin/update_scope.rb:49:in `attributes'
decidim-module-homepage_interactive_map (7bd37ebf30ea) app/commands/decidim/admin/update_scope.rb:37:in `update_scope'
decidim-module-homepage_interactive_map (7bd37ebf30ea) app/commands/decidim/admin/update_scope.rb:25:in `call'
rectify (0.13.0) lib/rectify/command.rb:30:in `call'
decidim (e85c208edf36) decidim-admin/app/controllers/decidim/admin/scopes_controller.rb:47:in `update'
actionpack (6.0.5.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (6.0.5.1) lib/abstract_controller/base.rb:195:in `process_action'
actionpack (6.0.5.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (6.0.5.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
activesupport (6.0.5.1) lib/active_support/callbacks.rb:112:in `block in run_callbacks'
activesupport (6.0.5.1) lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
decidim (e85c208edf36) decidim-core/app/controllers/concerns/decidim/use_organization_time_zone.rb:21:in `use_organization_time_zone'
activesupport (6.0.5.1) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
i18n (1.12.0) lib/i18n.rb:322:in `with_locale'
decidim (e85c208edf36) decidim-core/app/controllers/concerns/decidim/locale_switcher.rb:24:in `switch_locale'
activesupport (6.0.5.1) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
activesupport (6.0.5.1) lib/active_support/callbacks.rb:139:in `run_callbacks'
actionpack (6.0.5.1) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (6.0.5.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (6.0.5.1) lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
activesupport (6.0.5.1) lib/active_support/notifications.rb:180:in `block in instrument'
activesupport (6.0.5.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (6.0.5.1) lib/active_support/notifications.rb:180:in `instrument'
actionpack (6.0.5.1) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
actionpack (6.0.5.1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
activerecord (6.0.5.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
actionpack (6.0.5.1) lib/abstract_controller/base.rb:136:in `process'
actionview (6.0.5.1) lib/action_view/rendering.rb:39:in `process'
actionpack (6.0.5.1) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (6.0.5.1) lib/action_controller/metal.rb:254:in `dispatch'
actionpack (6.0.5.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (6.0.5.1) lib/action_dispatch/routing/route_set.rb:33:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
actionpack (6.0.5.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:49:in `block in serve'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/routing/route_set.rb:834:in `call'
railties (6.0.5.1) lib/rails/engine.rb:527:in `call'
railties (6.0.5.1) lib/rails/railtie.rb:190:in `public_send'
railties (6.0.5.1) lib/rails/railtie.rb:190:in `method_missing'
actionpack (6.0.5.1) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
actionpack (6.0.5.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:49:in `block in serve'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/routing/route_set.rb:834:in `call'
railties (6.0.5.1) lib/rails/engine.rb:527:in `call'
railties (6.0.5.1) lib/rails/railtie.rb:190:in `public_send'
railties (6.0.5.1) lib/rails/railtie.rb:190:in `method_missing'
actionpack (6.0.5.1) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
actionpack (6.0.5.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:49:in `block in serve'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.0.5.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.0.5.1) lib/action_dispatch/routing/route_set.rb:834:in `call'
batch-loader (1.5.0) lib/batch_loader/middleware.rb:11:in `call'
omniauth (2.1.0) lib/omniauth/strategy.rb:202:in `call!'
omniauth (2.1.0) lib/omniauth/strategy.rb:169:in `call'
omniauth (2.1.0) lib/omniauth/strategy.rb:202:in `call!'
omniauth (2.1.0) lib/omniauth/strategy.rb:169:in `call'
omniauth (2.1.0) lib/omniauth/strategy.rb:202:in `call!'
omniauth (2.1.0) lib/omniauth/strategy.rb:169:in `call'
omniauth (2.1.0) lib/omniauth/builder.rb:44:in `call'
warden (1.2.9) lib/warden/manager.rb:36:in `block in call'
warden (1.2.9) lib/warden/manager.rb:34:in `catch'
warden (1.2.9) lib/warden/manager.rb:34:in `call'
decidim (e85c208edf36) decidim-core/lib/decidim/middleware/strip_x_forwarded_host.rb:12:in `call'
decidim-decidim_awesome (0.8.3) app/middleware/decidim/decidim_awesome/current_config.rb:33:in `call'
decidim (e85c208edf36) decidim-core/lib/decidim/middleware/current_organization.rb:22:in `call'
rack (2.2.4) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.4) lib/rack/etag.rb:27:in `call'
rack (2.2.4) lib/rack/conditional_get.rb:40:in `call'
rack (2.2.4) lib/rack/head.rb:12:in `call'
actionpack (6.0.5.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.2.4) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.4) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/cookies.rb:654:in `call'
activerecord (6.0.5.1) lib/active_record/migration.rb:567:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (6.0.5.1) lib/active_support/callbacks.rb:101:in `run_callbacks'
actionpack (6.0.5.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
web-console (4.0.4) lib/web_console/middleware.rb:132:in `call_app'
web-console (4.0.4) lib/web_console/middleware.rb:28:in `block in call'
web-console (4.0.4) lib/web_console/middleware.rb:17:in `catch'
web-console (4.0.4) lib/web_console/middleware.rb:17:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (6.0.5.1) lib/rails/rack/logger.rb:37:in `call_app'
railties (6.0.5.1) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (6.0.5.1) lib/active_support/tagged_logging.rb:80:in `block in tagged'
activesupport (6.0.5.1) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (6.0.5.1) lib/active_support/tagged_logging.rb:80:in `tagged'
railties (6.0.5.1) lib/rails/rack/logger.rb:26:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
request_store (1.5.1) lib/request_store/middleware.rb:19:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.4) lib/rack/method_override.rb:24:in `call'
activesupport (6.0.5.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/static.rb:126:in `call'
rack (2.2.4) lib/rack/sendfile.rb:110:in `call'
actionpack (6.0.5.1) lib/action_dispatch/middleware/host_authorization.rb:103:in `call'
webpacker (6.0.0.rc.5) lib/webpacker/dev_server_proxy.rb:25:in `perform_request'
rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call'
rack-cors (1.1.1) lib/rack/cors.rb:100:in `call'
railties (6.0.5.1) lib/rails/engine.rb:527:in `call'
puma (5.6.5) lib/puma/configuration.rb:252:in `call'
puma (5.6.5) lib/puma/request.rb:77:in `block in handle_request'
puma (5.6.5) lib/puma/thread_pool.rb:340:in `with_force_shutdown'
puma (5.6.5) lib/puma/request.rb:76:in `handle_request'
puma (5.6.5) lib/puma/server.rb:443:in `process_client'
puma (5.6.5) lib/puma/thread_pool.rb:147:in `block in spawn_thread'

@armandfardeau
Copy link
Collaborator Author

Should be good now

@paulinebessoles
Copy link
Collaborator

paulinebessoles commented Jan 19, 2023

I encounter another issue when creating a geolocalized scoped now.

To reproduce:

  1. Go to /admin/scopes route
  2. Edit a scope
  3. Enable geoloc
  4. Add a valid GEOJSON code
  5. Click on update

undefined method `_create' for RGeo::CoordSys::CRSToCRS:Class Did you mean? create

rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/crs_to_crs.rb:14:in `create'
rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/crs_to_crs.rb:96:in `block in initialize'
rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/crs_to_crs.rb:102:in `block in get'
rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/crs_to_crs.rb:101:in `synchronize'
rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/crs_to_crs.rb:101:in `get'
rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/crs_to_crs.rb:89:in `get'
rgeo-proj4 (3.1.1) lib/rgeo/coord_sys/proj4.rb:225:in `transform_coords'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:48:in `transform_coords'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:42:in `block in transform'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:37:in `map'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:37:in `transform'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:39:in `block in transform'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:37:in `map'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:37:in `transform'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:39:in `block in transform'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:37:in `map'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:37:in `transform'
decidim-module-homepage_interactive_map (41e2f9ba68a2) lib/decidim/homepage_interactive_map/coordinates_swapper.rb:17:in `convert_geojson'
decidim-module-homepage_interactive_map (41e2f9ba68a2) app/commands/decidim/admin/update_scope.rb:51:in `attributes'
decidim-module-homepage_interactive_map (41e2f9ba68a2) app/commands/decidim/admin/update_scope.rb:39:in `update_scope'
decidim-module-homepage_interactive_map (41e2f9ba68a2) app/commands/decidim/admin/update_scope.rb:27:in `call'
rectify (0.13.0) lib/rectify/command.rb:30:in `call'
decidim (e85c208edf36) decidim-admin/app/controllers/decidim/admin/scopes_controller.rb:47:in `update'
actionpack (6.0.6.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (6.0.6.1) lib/abstract_controller/base.rb:195:in `process_action'
actionpack (6.0.6.1) lib/action_controller/metal/rendering.rb:30:in `process_action'
actionpack (6.0.6.1) lib/abstract_controller/callbacks.rb:42:in `block in process_action'
activesupport (6.0.6.1) lib/active_support/callbacks.rb:112:in `block in run_callbacks'
activesupport (6.0.6.1) lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
decidim (e85c208edf36) decidim-core/app/controllers/concerns/decidim/use_organization_time_zone.rb:21:in `use_organization_time_zone'
activesupport (6.0.6.1) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
i18n (1.12.0) lib/i18n.rb:322:in `with_locale'
decidim (e85c208edf36) decidim-core/app/controllers/concerns/decidim/locale_switcher.rb:24:in `switch_locale'
activesupport (6.0.6.1) lib/active_support/callbacks.rb:121:in `block in run_callbacks'
activesupport (6.0.6.1) lib/active_support/callbacks.rb:139:in `run_callbacks'
actionpack (6.0.6.1) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (6.0.6.1) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (6.0.6.1) lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
activesupport (6.0.6.1) lib/active_support/notifications.rb:180:in `block in instrument'
activesupport (6.0.6.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (6.0.6.1) lib/active_support/notifications.rb:180:in `instrument'
actionpack (6.0.6.1) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
actionpack (6.0.6.1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
activerecord (6.0.6.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
actionpack (6.0.6.1) lib/abstract_controller/base.rb:136:in `process'
actionview (6.0.6.1) lib/action_view/rendering.rb:39:in `process'
actionpack (6.0.6.1) lib/action_controller/metal.rb:190:in `dispatch'
actionpack (6.0.6.1) lib/action_controller/metal.rb:254:in `dispatch'
actionpack (6.0.6.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
actionpack (6.0.6.1) lib/action_dispatch/routing/route_set.rb:33:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
actionpack (6.0.6.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:49:in `block in serve'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/routing/route_set.rb:834:in `call'
railties (6.0.6.1) lib/rails/engine.rb:527:in `call'
railties (6.0.6.1) lib/rails/railtie.rb:190:in `public_send'
railties (6.0.6.1) lib/rails/railtie.rb:190:in `method_missing'
actionpack (6.0.6.1) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
actionpack (6.0.6.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:49:in `block in serve'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/routing/route_set.rb:834:in `call'
railties (6.0.6.1) lib/rails/engine.rb:527:in `call'
railties (6.0.6.1) lib/rails/railtie.rb:190:in `public_send'
railties (6.0.6.1) lib/rails/railtie.rb:190:in `method_missing'
actionpack (6.0.6.1) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
actionpack (6.0.6.1) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:49:in `block in serve'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (6.0.6.1) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (6.0.6.1) lib/action_dispatch/routing/route_set.rb:834:in `call'
batch-loader (1.5.0) lib/batch_loader/middleware.rb:11:in `call'
omniauth (2.1.0) lib/omniauth/strategy.rb:202:in `call!'
omniauth (2.1.0) lib/omniauth/strategy.rb:169:in `call'
omniauth (2.1.0) lib/omniauth/strategy.rb:202:in `call!'
omniauth (2.1.0) lib/omniauth/strategy.rb:169:in `call'
omniauth (2.1.0) lib/omniauth/strategy.rb:202:in `call!'
omniauth (2.1.0) lib/omniauth/strategy.rb:169:in `call'
omniauth (2.1.0) lib/omniauth/builder.rb:44:in `call'
warden (1.2.9) lib/warden/manager.rb:36:in `block in call'
warden (1.2.9) lib/warden/manager.rb:34:in `catch'
warden (1.2.9) lib/warden/manager.rb:34:in `call'
decidim (e85c208edf36) decidim-core/lib/decidim/middleware/strip_x_forwarded_host.rb:12:in `call'
decidim-decidim_awesome (0.8.3) app/middleware/decidim/decidim_awesome/current_config.rb:33:in `call'
decidim (e85c208edf36) decidim-core/lib/decidim/middleware/current_organization.rb:22:in `call'
rack (2.2.6.2) lib/rack/tempfile_reaper.rb:15:in `call'
rack (2.2.6.2) lib/rack/etag.rb:27:in `call'
rack (2.2.6.2) lib/rack/conditional_get.rb:40:in `call'
rack (2.2.6.2) lib/rack/head.rb:12:in `call'
actionpack (6.0.6.1) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
rack (2.2.6.2) lib/rack/session/abstract/id.rb:266:in `context'
rack (2.2.6.2) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/cookies.rb:654:in `call'
activerecord (6.0.6.1) lib/active_record/migration.rb:567:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (6.0.6.1) lib/active_support/callbacks.rb:101:in `run_callbacks'
actionpack (6.0.6.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
web-console (4.0.4) lib/web_console/middleware.rb:132:in `call_app'
web-console (4.0.4) lib/web_console/middleware.rb:28:in `block in call'
web-console (4.0.4) lib/web_console/middleware.rb:17:in `catch'
web-console (4.0.4) lib/web_console/middleware.rb:17:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (6.0.6.1) lib/rails/rack/logger.rb:37:in `call_app'
railties (6.0.6.1) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (6.0.6.1) lib/active_support/tagged_logging.rb:80:in `block in tagged'
activesupport (6.0.6.1) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (6.0.6.1) lib/active_support/tagged_logging.rb:80:in `tagged'
railties (6.0.6.1) lib/rails/rack/logger.rb:26:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
request_store (1.5.1) lib/request_store/middleware.rb:19:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/request_id.rb:27:in `call'
rack (2.2.6.2) lib/rack/method_override.rb:24:in `call'
activesupport (6.0.6.1) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/static.rb:126:in `call'
rack (2.2.6.2) lib/rack/sendfile.rb:110:in `call'
actionpack (6.0.6.1) lib/action_dispatch/middleware/host_authorization.rb:103:in `call'
webpacker (6.0.0.rc.5) lib/webpacker/dev_server_proxy.rb:25:in `perform_request'
rack-proxy (0.7.6) lib/rack/proxy.rb:87:in `call'
rack-cors (1.1.1) lib/rack/cors.rb:100:in `call'
railties (6.0.6.1) lib/rails/engine.rb:527:in `call'
puma (5.6.5) lib/puma/configuration.rb:252:in `call'
puma (5.6.5) lib/puma/request.rb:77:in `block in handle_request'
puma (5.6.5) lib/puma/thread_pool.rb:340:in `with_force_shutdown'
puma (5.6.5) lib/puma/request.rb:76:in `handle_request'
puma (5.6.5) lib/puma/server.rb:443:in `process_client'
puma (5.6.5) lib/puma/thread_pool.rb:147:in `block in spawn_thread'

@paulinebessoles
Copy link
Collaborator

paulinebessoles commented Jan 26, 2023

Hi @armandfardeau, thank you for the instructions, I installer proj and was able to see that upcoming meetings pins are displayed too when the interactive map is enabled.
We just have a problem with the geojson on the interactive map: the tile should be displayed on the map on a Toulouse neighbourhood but is instead displayed in Niger. Could you please take a look?

Copy link
Collaborator

@paulinebessoles paulinebessoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works well, thank you @armandfardeau! Both the localization and the pin's display on the upcoming meetings map

@paulinebessoles paulinebessoles requested review from Quentinchampenois, a team and eliegaboriau and removed request for Ouardaoubahri, Quentinchampenois and a team January 27, 2023 16:40
Copy link
Contributor

@eliegaboriau eliegaboriau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paulinebessoles paulinebessoles merged commit 0e80a82 into release/0.26-stable Feb 6, 2023
@paulinebessoles paulinebessoles deleted the chores/fix-map branch February 6, 2023 15:38
armandfardeau added a commit that referenced this pull request Apr 18, 2023
* Update Github Actions

* Bump dependencies to 0.25.2

* Move to Webpacker and update views

* Update participatory_processes form

* Fix tests

* Add need in wf

* Bundle install

* Fix offenses

* WIP fix js errors

* fix tests

* Fix map

* Clear comments and add previously removed condition

* Bump to v2.0.0

* WIP fix CI

* fix tests 2.0.0

* lint

* include methods

* add rake task to install dependencies

* linter

* rename folder

* update readme

* Fix/interactive map 0.26 (#36)

* Add webpacker installation task

* Remove previous task and update README

* Rewrite popin HTML templating

* Fix scss loading

* Add missing decidim map css

* Fix rubocop offenses

* Fix - Homepage Interactive Map - Participatory Process Marker (#37)

* Modifying calculation to fix the bug of the circle going straight out of her participatory_process on interactive map

* Trying to fix entirely the bug of the position of the processMarkers

* Trying to fix with a further investigation the map but doesn't work yet

* Fixing the movement of the participatory process marker

* Reverting useless changes

* [Fix] - Marker position on geocoded PP (#38)

* Add geocoding address to PP in seeds

* Updatee process marker position

* disable zoom on scrolling

* [Fix] - Place PP by address if defined (#42)

* Chores/fix map (#43)

* Fix dependencies

* Remove useless method

* Fist version

* improve lib and repair existing data

* Change destination format

* Fix readme

* Fix tests

* Add more tests

* Add convert to commands

* Remove unused js

* Add dep to module

* Fix offenses

* Install proj

* Add debugger

* Add dep

* Add new config

* Pristine dep

* Clean workflow

* Update config

* Remove unused test

* Update apt cache

* Pin dep

* Add dep

* Add readme

* Setup cache action

* Update readme

* Debug

* Setup concurrency level

* reconstruct shared object cache after build

* Add custom matcher

* remove debug

* Remove useless file

* Add debug

* Recompile with cache

* Use env var

* Fix missing require

* Symbolize keys

* Complete readme

* update gemfile

* bump 0.27 (#44)

* bump 0.27

* update gemfile

* fix sass problem

* fix CI temporarily

* fix CI temporarily

* remove sass locking

* Update README.md

---------

Co-authored-by: Armand Fardeau <armandfardeau@users.noreply.github.com>

* Removes need

* Set default epsg to WGS 84 (#52)

* Set default epsg to WGS 84

* Add arm platform

* Fix js dep (#53)

---------

Co-authored-by: quentinchampenois <26109239+Quentinchampenois@users.noreply.github.com>
Co-authored-by: eliegaboriau <elie@opensourcepolitics.eu>
Co-authored-by: Guillaume MORET <90462045+AyakorK@users.noreply.github.com>
Co-authored-by: Pauline Bessoles <52420208+paulinebessoles@users.noreply.github.com>
Co-authored-by: eliegaboriau <93646702+eliegaboriau@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants