Select to view content in your preferred language

Can you add a custom geocode service to ArcGIS Earth

4473
18
Jump to solution
11-29-2022 05:45 AM
ABishop
MVP Alum

Hello,

I have a geocode service which assists with looking up our local parcel numbers.  I was wondering if there is a way I can add this to the ArcGIS Earth platform?

Thanks in advance for any assistance.

Amanda

Amanda Bishop, GISP
18 Replies
ABishop
MVP Alum

Thank you @GeoffroyRicher-Lalonde  I will try this and get back with you.

Amanda Bishop, GISP
0 Kudos
ABishop
MVP Alum

@GeoffroyRicher-Lalonde 

I tried created a MMPK or MSPK from the locator file and the geoprocessing tool said that it is not a valid file.  So I searched for a locator package and use that to make a .gcpk.  Unfortunately, .gcpk files are not acceptable for ArcGIS Earth.  Any other suggestions?

Amanda Bishop, GISP
0 Kudos
GeoffroyRicher-Lalonde
Frequent Contributor

First, add the locator to a new APRX, then use the tools to create a MMPK or a MSPK.

Note that it may be mandatory to add a layer (point, line or polygon) to your APRX for the geoprocessing tools to work properly (I don't remember). I also suggest that you use Web Mercator in your APRX : 

GeoffroyRicherLalonde_0-1669911905302.png

Geoffroy Richer-Lalonde
GIS Specialist, Hydro-Québec
ABishop
MVP Alum

OK I will try and get back to you.  Thank you.

Amanda Bishop, GISP
0 Kudos
ABishop
MVP Alum

@GeoffroyRicher-Lalonde 

OK, so I did what you said in your most recent post.  I opened ArcGIS Pro and made a project called ParcelLocator.aprx.  Then, I used the ParcelLocator.aprx to create the ParcelLocator.mmpk and added it to ArcGIS Earth.  It worked but gave me some funny numbers in my search result outside of the parcel number, which I believe is the field attributes of the highway shields point feature class I added to the project.  I went back to the ParcelLocator.aprx and unchecked the fields in the feature class so that they wouldn't be searchable with the locator, saved it, and then tried to rewrite the .mmpk.  I received this error:

ABishop_0-1669917290750.png

 

Amanda Bishop, GISP
0 Kudos
GeoffroyRicher-Lalonde
Frequent Contributor

Did you close ArcGIS Earth before trying to rewrite the MMPK ? The lock may be from there. I suggest you write the MMPK in a folder A, copy it in a folder B, and use the file from folder B to add to ArcGIS Earth.

If your locator is to be used by a large number of people, updating it might be a problem for you. Because every single user of your MMPK must close ArcGIS Earth at the same time for you to overwrite the file. You could do it outside of working hours, but if a user left his session opened with an ArcGIS Earth program running, it will lock the file.

Geoffroy Richer-Lalonde
GIS Specialist, Hydro-Québec
ABishop
MVP Alum

Hi Geoffroy,

Yes, I closed ArcGIS Earth and then it allowed me to overwrite the .mmpk and the locator itself, only issue I have with that is that the staff who will be using this locator may or may not exit their programs each day in order for me to perform the necessary updates.  The suggestion you made about writing the MMPK and to folder A and then pointing ArcGIS Earth to folder B, etc., I don't believe will work, because after you update the .mmpk in folder A, you then have to overwrite the .mmpk in folder B, which will present the same problem?  Or am I overthinking this one?

Amanda

Amanda Bishop, GISP
0 Kudos
GeoffroyRicher-Lalonde
Frequent Contributor

You are right : a user might lock your file.

The only advantage with the folder A, folder B thing is that the update of your MMPK will always work as planned in folder A. But you might have trouble overwriting the file in folder B...

Geoffroy Richer-Lalonde
GIS Specialist, Hydro-Québec
ABishop
MVP Alum

Thank you for taking the time to help me!  I think for now, I am going to wait to implement.  Maybe once we have portal, I can revisit. 

Amanda Bishop, GISP