GVH unable to load the tiled map "TPK"
I couldn’t find out where to insert the TPK file in the “Geocortex Mobile App Framework for Windows” in order to view my base maps while there is no internet connection.
In the following scenario “Araba_MP.tpk” is added as a base map and then offline bundle was generated
/customer/servlet/servlet.FileDownload?file=00P6000000eltq4EAA
In the following screenshot “Araba_MP.tpk” was generated using ArcMAP
/customer/servlet/servlet.FileDownload?file=00P6000000eluKEEAY
Now the viewer was launched using “Geocortex Mobile App Framework for Windows”, and the offline mode (the internet is still connected to my machine)
was activated and everything is working ok
/customer/servlet/servlet.FileDownload?file=00P6000000eluGWEAY
Then the internet is disconnected and I am unable to view may base map “Araba_MP.tpk” properly
/customer/servlet/servlet.FileDownload?file=00P6000000elzU7EAI
Many thanks,
Ahmad
-
Hello Ahmad,
Which version of the Geocortex HTML5 viewer are you using? I tried to replicate this issue on my machine and it successfully loaded the tpk while no internet connection was available in version 2.3.3.
I can confirm that you do have the .TPK file in the correct location, so that isn't the problem.Thank you,
Cory Purnell
Latitude Geographics QA Team0 -
Hello Cory,
Thanks for your help, I have the same version 2.3.3, please have a look at the screenshot.
/customer/servlet/servlet.FileDownload?file=00P6000000em1ZJEAY
What should I also consider to fix the proplem ?
I also used the method provided in the Guide which is about adding a resource TPK file using the URI, I uploaded the TPK file to a server then I was able to download the file using a direct link, but the issue still there
/customer/servlet/servlet.FileDownload?file=00P6000000em1ggEAA
Are there any specific requirements at the level of creating the TPK file in ArcGIS?
/customer/servlet/servlet.FileDownload?file=00P6000000elzaxEAA
Many thanks,
Ahmad
0 -
Hello again Ahmad,
I am still looking closely into the issue, but for the time being I have a couple of quick suggestions.To confirm that you have created the TPK correctly is quite easy, you should be able to open the .tpk like any other compressed file format (.zip, .rar, etc.). If you open the tpk file it should consist of the following files: /customer/servlet/servlet.FileDownload?file=00P6000000eltrqEAA
As for the GCX:// link you used to download, that didn't seem to work for me. This might be a remnant of a prior way downloading tpks worked and was changed without a documentation update. Even though it seems like the file is in the correct place, you may want to try deleting it and use the following GCX:// uri:
gcx://resource?action=download&url=[fully qualified url of the resource]If neither of these suggestions solve the issue, it may be a good idea to contact our Geocortex support team directly so we can work together and find a solution.
Sorry I couldn't be of more help,
Cory Purnell
Latitude Geographics QA Team0 -
Hi Cory,
Many thanks for your help, I could confirm that I have the same .TPK structure, I tried to add the .TPK file using URI, but the issue still there.
I have noticed that if I cached the map service using ArcGIS server and then generate .TPK file then add it to Geocortex app data folder the app will work correctly without internet, this method seems to work but its very space consuming since the map will be cached and then the .TPK file will be added to the app.
Moreover I was surprised that Geocortex app was unable to start without internet connection, so I should have internet access when I need to start the App even if I successfully configured the App to work without internet connection. Imagine that I was working in an environment without any signal or internet connection and I need to work or collect data using my Geocortex app for windows using my tablet. Do I need to drive to nearest point that I Can have internet connection to start the app and then go back to work on my project ? that seems in convenient and needs to be enhanced from LG side.
Many thanks
Ahmad
0 -
Hello Ahmad,
It is strange that you cannot load your map directly from an offline state, as that is working on my end in version 2.3.3 of the HTML5 viewer.Just to make sure, these are the steps required to load into offline directly:
- In the HTML5 viewer management pack, go to the tools tab and ensure that the "Offline Management" tools are in your configured toolbar.
- Go to the offline tab in the viewer's managemenr pack and click the "Generate Offline Bundle" button. Once the bundle has been created save the site and load from the "Launch in Geocortex App" button in the offline tab.
- Once the viewer has loaded into your Geocortex App, click on the "Manage Offline Data" button in your toolbar and choose the "Manage Sync Settings" option. Cache any layers that you want access to while in offline and then Sync your offline data using the "Sync" button in the toolbar.
- In your Geocortex App, click on the "Add To Saved Maps" button within the app footer, and save a reference to the map on your local device.
Now you should be able to load directly from offline, though judging by the screenshots you sent me it seems like you are probably taking the right steps already. If you are receiving any specific errors when trying to go offline you can post them here, but I think the best bet would be to contact our support directly so that we can provide some 1-on-1 troubleshooting for your issue. You can contact our support team at support@geocortex.com .
Sorry I couldn't be of more help,Cory Purnell
0 -
Hello Cory,
Thanks for your help, now I am able to view the base map when my device is disconnected from internet, BUT the base map should be Cached and then the .TPK file generated and inserted in the geocortex app data file, the last question is this a normal behavior in G.E ? Do I need to cache every single layer in my site in order to view it when the internet connection lost from my device ??.
I have reported this issue to my support provider in the Middle East and there answer was as below.
“we discussed your issue with our developer team, your request need to create special application. And this need an official request from form your side to our sales team”
In the following screenshots you can see the result of my work.
This screenshot shows the starting point after disconnecting the internet " notice that the Build up area layer Disappeared "
/customer/servlet/servlet.FileDownload?file=00P6000000em19IEAQ
Now after caching the Build up area layer
/customer/servlet/servlet.FileDownload?file=00P6000000elu4vEAA
Many thanks,
Ahmad
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare