Select to view content in your preferred language

Create Mobile Cache Programmatically Based On Attribute / Defination

3111
5
01-23-2011 09:28 PM
IndraBisen
Occasional Contributor
Hi,

I'm developing an mobile app based on ArcGIS Mobile 10. In this app the map service published whole state data of some layer cotains thousands of features. I want to create mobile cache for only one part of the state. How can I do it ? The selection of the part is based on some attributes of feature layer like city name or pin code.


Indra Bisen
0 Kudos
5 Replies
AkhilParujanwala
Regular Contributor
Do you want the Mobile App to do this or ArcMap?

If ArcMap then I would simply do your attribute query and then convert the select features to a shapefile, then make is a feature class, turn it into a service, then push it to the mobile app.

But if you are looking for a more elaborate way of doing it, please explain.
0 Kudos
IndraBisen
Occasional Contributor
Dear Akhil,

Thanks for your reply.

No, I'm not using ArcMap. I'd published mobile data service on the ArcGIS Server Advanced Ent 10.
Actually, I want to create mobile cache on the fly automatically. The mobile device IMEI / ESN no which is already mapped to some areas and when the mobile device try to synch with server, the server side app should create mobile cache based on area (like city).

However, I think that I have to build some customized webservice that received PDA IMEI / ESN No. as parameter and produce mobile cache programmatically based on it (but how??) . Also, If any out of the box facility available then harvesting it is preferable.

regards,
Indra Bisen
0 Kudos
AkhilParujanwala
Regular Contributor
Sorry this is way beyond me, I don't even know what "PDA IMEI / ESN No." means.

None the less, you may want too look at things from a different point of view?
1) Create a basemap or just a base amount of features for the state.
- few layers for background information

2) Use ArcGIS online Imagery (if your mobile devices are connected to the internet).
- for background spatial imagery, instead of vectors

3) Then create a service for only the layers you want your mobile teams to use/collect on.
- only operational layers that will be used by the data collectors

This is the strategy we are employing.
0 Kudos
IndraBisen
Occasional Contributor
The IMEI (International Mobile Equipment Identity )  & ESN (Electronic Serial Number) are basically the Identity sr. no. of PDA or mobile phones and these terms are commonly used for mobile/smart phones or for PDAs/EDAs.

Thanks for your suggestions, but it will not serve my application needs because I need most of the layers including (parcel, roads etc) in the mobile cache. In the place of whole state's features I want features of only some part of the state.

If anybody can give me idea about how to create mobile cache using code / arcobject api etc so that I can build some server side procedures/ webservice to produce the same then it will be helpful for me.

regards,
Indra Bisen
0 Kudos
WadsonMakari1
Emerging Contributor
Dear Indra,
   Did you find a solution to this as it is exactly the same problem that I am also facing?

Many Thanks
0 Kudos