Hi,
I want to generate a geodatabase which contain all feature layers data so that I can use that database when there is no internet connection but I do not want to give an option to user to select area of interest. All feature layer data should be download automatically in background.
Thanks,
Kamal
Hi Nicholas,
Thanks for your good suggestion. I will keep in mind your feedbacks in future. A couple of question from you:
1. Actually I am getting only "Staging server" failed message while sharing tpk from ArcGIS Pro. How do I get log file?
2. Our Client generally preferred ArcGIS Online as first it is on cloud and second they can create and publish layer from anywhere without dependent on standalone ArcGIS pro application on single computer so that's why my queries were related to ArcGIS online. There are two reason to purchase streetmap extension is that first to extract basemap from that and to get locator file.
3. There is one question from you I want to get specific borough's from whole NewYork State. Currently I have whole NewYork State Streetmap extension and I want to get five boroughs(Manhattan, Queens , Bronx , Brooklyn , Staten Island) from that Streetmap extension. Is it possible to get that?
4. Another thing is that currently I have whole NewYork State locator file and I want to get only above five boroughs relevant locator file. How do I get that?
Thanks,
Kamal
Hi Nicholas,
Any update on this??
Thanks,
Kamal
Hi Kamal,
Cheers,
Nick.
P.S. Here are instructions for exporting just the part you need to an MMPK (assuming you've already got the source MMPK open in Pro - I used the USA Northeast Region, but more instructions are here and here😞
Thanks Nicholas for step by step explanation.
I have created mmpk file of Manhattan city by follow your steps and then create .vtpk file from that mmpk. I have also extract locator file from manhattan mmpk file using python code. but after extract I got multiple locator files:- USA_PointAddress.loc , USA_StreetAddress.loc , USA_PostalExt.loc , USA_StreetName.loc , USA_Postal.loc, Gazetteer.loc , USA_AdminPlaces.loc and also got a composite locator USA.loc. Now I want to enable offline searching in IOS app on vtpk file. I have included all locators file under IOS app but when I reference USA.loc file into AGSLocatorTask then searching is not working in IOS app. Is anything which I am missing or how i enable searching to composite locator??
Thanks,
Kamal
Any update on this??
Thanks,
Kamal
Impossible to say without more information, but I can take a guess. It sounds like you might be creating a desktop locator rather than a Runtime locator, depending on your Python code, but I don't know if you can't open it or you can't call it.
If I were you I would generate an MMPK as I outline above (you can of course use Python to do that). That will include your locator ready for runtime use which you can access off the LocatorTask property of the MMPK. It'll also include the VTPK. A benefit there is that the basemap and locator will packaged together and you don't have to worry about deploying them both.
But really this is beyond the scope of this thread. You should contact support who can walk you through figuring out the issue.
Thanks Nicholas.
Is there any difference between desktop locator and runtime locator?
Another thing is that I have extracted vtpk file from mmpk file. Now I want to generate locator file from mmpk. How do I achieve that? Actually the reason I am asking is that I have already tried and used mmpk file in the IOS app . Now I want to tried same thing through the vtpk file (Searching also).
Thanks,
Kamal
Hi Nicholas,
Any Update on this?
Thanks,
Kamal
For hosted feature services, you need to use ArcMap to convert all your csv file by right click and choose Display XY Data. Here is a screenshot to illustrate this. For more information, please check our ArcMap doc Adding x,y coordinate data as a layer—Help | ArcGIS for Desktop
Then you can remove all your original .csv file and publish all the layer to your ArcGIS Online as hosted feature service. In this way, you will have one feature service that contains more than one layer. Here is a screenshot:
However for hosted feature service you do not have all the options to manually change prepare the data to use sync capabilities. Based on our doc Prepare data for offline use—Documentation | ArcGIS Enterprise
For the question about how REST create Replica works, I would recommend you first read our REST API doc first:
Create Replica - ArcGIS REST API
Then combine with our Runtime iOS SDK doc talks about Sync offline edits—ArcGIS Runtime SDK for iOS | ArcGIS for Developers