Archive for June, 2011

Geo-Analytics in Salesforce

A new version of Geopointe was just released and in it is the ability to perform Geo-Analytics on LOTS of data.  And it’s fully integrated with Salesforce and the current Geopointe app.

We have partnered with SpatialKey to bring you the Geopointe Analytics solution.  The SpatialKey platform allows you to perform deep geo-analysis against massive amounts of data in a very intuitive, enjoyable and beautiful user interface.

Geopointe Analytics is now available in all Geopointe trials.  Existing customers may request a trial of the Analytics solution in their current system (after upgrading to the latest Geopointe version).  If you are running an older version of Geopointe, you can learn about upgrading here.

End-users can access the features via the Visualize tab. There, they can sync their data sets to SpatialKey, use existing org-wide data sets provided by an admin or launch into the user interface using either a full map or “blank canvas” interface.

The Analytics users interface is very interactive and immersive. The following video gives you a taste of what’s offered, but the best option is to try it out for yourself.

If you have any questions about this solution, contact us.

Comments off comments feed

Proximity Searching via Apex

A new release of Geopointe will be out next week after all systems are on the Summer 11 release. With the update will come the ability to perform spatial/proximity/radial searches via Apex. Two new Apex methods are available for this:

  • radialSearchMapObject
  • radialSearchDataSet

These Apex methods enable Geopointe customers to utilize the proximity searching of Geopointe into advanced Apex logic. For information on all methods available to you, visit the Apex API page in the Help Center.

Let’s run an example.  The image below displays a query (via the Geopointe UI) of our Geopointe customers within 15 miles of Wrigley Field in Chicago. We want to accomplish this same query in Apex without ever needing the UI. Now we can and the geopointe.API class will help us with this.

Using radialSearchMapObject
This method allows you to perform a radial search against a Map Object (a Salesforce object enabled for mapping) and also allows the passing in of a custom filter. Here we are saying to search around the record with id a1430000001E32gAAC and to search the Account object with a filter of Type = ‘Customer’ for records within 15 miles.

geopointe.API.radialSearchResult result = geopointe.API.radialSearchMapObject(
     'a1430000001E32gAAC',
     'account',
     'type=\'Customer\'',
     15,
     geopointe.API.units.MILES);

system.debug(result);

Using radialSearchDataSet
The method below is accomplishing the same thing, but is using a pre-defined dataset that already has the filter for Customers built into it.

geopointe.API.radialSearchResult result = geopointe.API.radialSearchDataSet(
     'a1430000001E32gAAC',
     '12826856169860.9678661172894504',
     15,
     geopointe.API.units.MILES);

system.debug(result);

The radialSearchResult Class
Both methods result in a geopointe.API.radialSearchResult object, which is defined in the Geopointe Help Center. This object will return the record Ids closest to the center as well as the distances to these locations.

Comments off comments feed