Skip to main content

#Geo Map0 人がディスカッション中

  • We have 13,000 Leads with addresses
  • SF Maps plots 3724 Leads
  • SF Maps returns 1347 bad addresses
  • 3724 + 1347 = 5071
  • 5,071 - 13,000 = -7,929

So SF Maps isn't reading the majority of the Leads in our Org and I have no explanation as to why.

To test the validity of the addresses, I created a custom object with just lead names and addresses (I called it 'Map Points') and SF Maps plots all of these 13,000 records accurately.

 

So we know that:

  • The Lead addresses are correct and accurate
  • The Lead Addresses can be successfully mapped to lat/long and plotted by SF Maps
  • There are no limitations to record count that are preventing these Leads from loading

What I've tried:

  • Remove Skip Geocode Flag Batch
  • Removing the lat/long and geocoding the Leads again
  • Creating custom address fields and using those fields to plot

 

What's even more perplexing is that there are cases where the "Maps Nearby Map" component on the Record Page correctly plots a point, but the SF Maps app does not. This makes no sense, as they're using the exact same data and method. As far as I can tell, SF Maps is randomly choosing not to plot markers for certain records and there doesn't really seem to be a rhyme or reason as to why.

 

Does anyone have any idea what's going on?

 

#Salesforce Maps  #Mapping #Geo Map

3 件の回答
  1. 2023年11月10日 20:09

    @Bailey Erickson

     

    Okay, so I think I figured it out. A couple of notes here for people who are trying to configure SF Maps as well.

     

    • The issue was apparently that the permission group I assigned myself (and our reps) had the setting "Maximum Records to Plot" set to 8,000. Evidently, this setting doesn't actually limit the number of records that SF Maps will plot, it limits the number of records SF Maps will attempt to plot. So if the marker layer should be pulling 20,000 records, it will stop trying to plot the remaining 12,000 after it attempts the first 8,000. I increased this setting to 50,000 and most of the records are showing up now.
    • The SF maps documentation says that "Marker Cluster Threshold" controls the minimum number of markers needed to create a cluster, as opposed to displaying markers. If I set this setting to 50 (I've even tested 1,000 and 10,000), it will display clusters as small as 2, even when zooming into the street level. As far as I can tell, this setting does not work.
    • When using a boundary layer set to "only show markers inside shape", this setting does not work on mobile and all markers will be displayed. Apparently, this is how boundaries are intended to 'work' 😒
0/9000

Einstein Analytics GeoJSON format script

 

Hi All,

 

Ran into an issue reformatting a large GeoJSON file to upload into Einstein Analytics - the file size was far too large for EA to handle and the standard GeoJSON format doesn't allow you to map a field in your dataset to an area on the map. The trailhead (https://trailhead.salesforce.com/en/content/learn/projects/wave_charts_custom_map/wave_charts_custom_map_geojson) gives a quick and dirty script to do this but doesn't fully solve the formatting issues and the file size remains the same.

 

A friend and I created a python script to flatten the required Id field and reduce the file size by removing decimal places from the polygon coordinates and then remove duplicate values to drastically reduce the file size (albeit the polygons are slightly less accurate).

 

This script allowed me to format a 160mb file down to just over 30mb which Einstein can then handle and the map is accurate enough for my use case.

 

We have added the script to this github repo if anyone wants to use it.

 

https://github.com/neal-shah/sf-einstein-analytics-geojson-map-formatter

 

Let me know if you have any questions.

 

Saahil

 

#EinsteinAnalytics #GeoJSON #Geo Map #Python 

6 件のコメント
  1. 2019年10月10日 23:07
    Is anyone willing to help a non-profit to resize their California ZIP code geoJSON map using either of these techniques?
0/9000

Trailhead Project - Create a Custom Map for Analytics Charts

 

Hi all,

I'm tryng to complete this trailhead but I'm stuck to "Work with GeoJSON and Create the Map".

I can't move "external_id" up one level so it’s a child of "features" in the JSON.

Can anyone help me, please?

0/9000

Hello,

 

Has anyone been able to create a Geo Map chart type yet?  I have a dataset pulling in all of our customer accounts, and just want a bubble over the location of where each account is located using the latitude/longitude.  I have a Data Integration Rule turned on of Geocodes for Account Billing Address, and I know there is a Bill To Latitude and Bill To Longitude on accounts, but the Lens is not displaying any accounts.

 

Any advice would be appreciated.

 

Thanks!

8 件のコメント
  1. 2019年8月26日 17:28
    I do have Latitude and Longitude values on accounts, but for some reason they're not appearing in EA. My dataset is bringing in all accounts, and I have included the Bill To Long and Bill To Lat fields too.
0/9000