Select to view content in your preferred language

Serving data for mobile access

869
5
Jump to solution
05-01-2012 08:40 AM
NateEbel
Emerging Contributor
We have a simple map service of just a couple layers on our ArcServer 10 installation.  We can access this service from ArcMap by connecting to the server, and on ArcGISOnline.  However, when trying to view the data using the ArcGIS for Android app connecting to the ArcGIS Online map the data doesn't display.  We also have a custom    android app in development which has been able to load ESRI map services, but it will not load our server data.

I know you can enable Mobile Data Access as a feature of the map service, but that didn't change anything.  Is there something else that must be done to access a         service using the mobile app or api?  Could it be a permissions issue?
0 Kudos
1 Solution

Accepted Solutions
JMcNeil
Deactivated User
http://vserver-maps/City_Of_Lewiston_GIS_Server/rest/services/Sewer/MapServer

This rest endpoint you posted is not valid or not available off your network...this could also be another problem.

View solution in original post

0 Kudos
5 Replies
JMcNeil
Deactivated User
I think you need to publish it as a mobile content service, but not entirely sure.  I haven't built a custom app in a year or so and forgot.  I do consume services using the ARcGIS mobile apps (iphone, droid, and windows devices) and always consume mobile services with them.

This doc will walk you through it.
http://help.arcgis.com/en/arcgismobile/10.0/apis/iphone/AppGuide/Maps.pdf

Please mark my answer as answered your question if it helped or answered your question.

Jay
0 Kudos
NateEbel
Emerging Contributor
It seems like there is a simpler way to do it.  I can load and display this layer just fine with the android api:
                  http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer

The ESRI layer appears to be just a tiled map service the same as the one I'm trying to use. 
                  http://vserver-maps/City_Of_Lewiston_GIS_Server/rest/services/Sewer/MapServer

I can not figure out why I can access the ESRI layers but not ours.  I'm still thinking there must be some setting somewhere that isn't quite right.
0 Kudos
JMcNeil
Deactivated User
It seems like there is a simpler way to do it.  I can load and display this layer just fine with the android api:
                  http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer

The ESRI layer appears to be just a tiled map service the same as the one I'm trying to use. 
                  http://vserver-maps/City_Of_Lewiston_GIS_Server/rest/services/Sewer/MapServer

I can not figure out why I can access the ESRI layers but not ours.  I'm still thinking there must be some setting somewhere that isn't quite right.



What projection did cache your tiled service in (102100 or 4326)?  To consume several tiled services they need to be in the same projection or if you are setting your projection in your application code then your tiled service that you are consuming needs to be in this projection.  You can't reproject a tiled service...projection might your problem.
0 Kudos
JMcNeil
Deactivated User
http://vserver-maps/City_Of_Lewiston_GIS_Server/rest/services/Sewer/MapServer

This rest endpoint you posted is not valid or not available off your network...this could also be another problem.
0 Kudos
NateEbel
Emerging Contributor
http://vserver-maps/City_Of_Lewiston_GIS_Server/rest/services/Sewer/MapServer

This rest endpoint you posted is not valid or not available off your network...this could also be another problem.



As soon as I read this, the light-bulb came on for me.  Our server is not available externally, and after talking to IT, it will not be for quite a while.  Thanks for the help
0 Kudos