CRM icon indicating copy to clipboard operation
CRM copied to clipboard

Maps

Open ChurchCRMBugReport opened this issue 5 years ago • 14 comments

No se cargan en el mapa todas las familias.

Translation:

Not all families are loaded on the map.

Collected Value Title Data
Page Name /crm/Menu.php
Screen Size 960x1708
Window Size 818x1708
Page Size 1651x1708
Platform Information Linux us-imm-web131.main-hosting.eu 3.10.0-962.3.2.lve1.5.25.6.el7.x86_64 #1 SMP Thu Apr 18 06:40:26 EDT 2019 x86_64
PHP Version 7.0.33
SQL Version 5.5.5-10.2.23-MariaDB
ChurchCRM Version 3.3.2
Reporting Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0
Prerequisite Status All Prerequisites met
Integrity check status {"status":"success"}
Apache Modules mod_rewrite,mod_mime,mod_headers,mod_expires,mod_auth_basic

ChurchCRMBugReport avatar May 10 '19 03:05 ChurchCRMBugReport

Have you checked that all families have been assigned lat / long coordinates?

crossan007 avatar May 12 '19 18:05 crossan007

Have you checked that all families have been assigned lat / long coordinates?

Yes

willyhaase avatar May 14 '19 08:05 willyhaase

Duplicate issue: (by me)

https://github.com/ChurchCRM/CRM/issues/4617

dgebel avatar Jun 30 '19 12:06 dgebel

did you delete some Cassifcations from the system, can find one of the missing families and update the classification and see if it shows up or not.

I had this issue before and tracking it in #4985

DawoudIO avatar Sep 12 '19 02:09 DawoudIO

I don't think I deleted any Classifications. Added some. Might have renamed some. I think changed the order of some of them. Not sure how you are suggesting to "update" it now? I resaved it. But the "update lat/long" button still shows 0 without a location and the system shows the same half dozen families. There are several of the classifications which show up on the map. I tried viewing some of the families not shown, and selected the address to get the Google map view, thinking maybe I could force it and it would show up, but nothing changed. I'm wondering if one of the families generates some error which stops further addresses from being displayed. I don't see any error messages, but maybe it's just being ignored. Or maybe Google is limiting the number of items to show? Is there some kind of debugging I can turn on?

dgebel avatar Sep 18 '19 15:09 dgebel

I have this issue as well. All our families have full LAT/LON data. I don't have an exact number of families affected but we have 129 families with LAT/LON data but only about 25 of them are plotted. What would be the best way to debug this? Thanks!

dleigh avatar Mar 13 '20 10:03 dleigh

@dleigh how does this relate to the discussion in #5174?

Do any of the measures discussed there (API key restrictions, geocoding, etc) affect this scenario?

crossan007 avatar Mar 16 '20 02:03 crossan007

Also, @dleigh are you sure that your 129 actually have lat/long, and that ChurchCRM isn't lying to you about it? In #5107, having a 0 in the database won't trigger <4.0.3 from seeing "missing" lat/long.

crossan007 avatar Mar 16 '20 02:03 crossan007

@dleigh how does this relate to the discussion in #5174?

Do any of the measures discussed there (API key restrictions, geocoding, etc) affect this scenario?

Well, #5174 was initially a problem of not having lat/long in the database because when there were NULLs, in the lat/long columns the process didn't update the values. Once I got that corrected, then the issue was about the API setup in Google so that something would actually display. Now I have something that displays but don't have anything CLOSE to the number of pins as I do families with lat/long data. So they're related only in that they're all dealing with mapping and they were layers of problems.

The NULLs are solved and the API issues are solved. So now it's the issue of not having all the pins show up - which is, I believe, what the OP is experiencing too.

dleigh avatar Mar 16 '20 10:03 dleigh

Also, @dleigh are you sure that your 129 actually have lat/long, and that ChurchCRM isn't lying to you about it? In #5107, having a 0 in the database won't trigger <4.0.3 from seeing "missing" lat/long.

Yeah, I had a similar experience with lat/long where NULLs kept it from calculating the lat/long.  I changed them all to "0" and then it calculated a lat/long for everyone.  So yes, I'm sure they actually have lat/long based on what I see in phpmyadmin in family_fam in the lat/long columns.

dleigh avatar Mar 16 '20 10:03 dleigh

Just did a test. I added every person to the cart and then selected to view the contents of the cart on the map. Out of 218 INDIVIDUALS in the cart (not families), I got about 68 pins in our area (there are a few out of our area). So different ones that were not pinned when I did it using the Family mapping feature WERE pinned when I did the cart mapping feature.

dleigh avatar Mar 16 '20 12:03 dleigh

Hello. I have the same problem. I do not view families on the map.

Any solution?

Church Versión 4.1.0

Thanks!

UPDATE: The problem is that the pins are anywhere, they do not respect the direction.

jmpsd avatar Aug 08 '20 23:08 jmpsd

It may be worth taking a look at: https://github.com/ChurchCRM/CRM/issues/5174 to see some of the things needed to make this work - keeping in mind that the API keys setup changed a bit at v4.0.3. I believe that it's working for me now.

You can also confirm what is really being plotted on the map by doing a view source on the page and you'll see in the midst of some JavaScript:

window.CRM.map.plotArray

That array will contain all the plot data for the pushpins on the map. It's human-readable so you can get a list of what's actually being plotted on the map and can compare it to what you see in the list of families. It may help.

dleigh avatar Aug 10 '20 14:08 dleigh

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 02 '24 02:05 github-actions[bot]

This issue was closed because it has been stalled for 15 days with no activity.

github-actions[bot] avatar Jun 30 '24 02:06 github-actions[bot]