Community
All Communities
Products
ArcGIS Survey123
ArcGIS Pro
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Collector
ArcGIS CityEngine
ArcGIS Dashboards
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
Gas and Pipeline
State & Local Government
Transportation
Water Utilities
Telecommunications
Roads and Highways
Natural Resources
Electric
Public Safety
All Industries Communities
Developers
Python
ArcGIS Maps SDK for JavaScript
ArcGIS Maps SDKs for Native Apps
ArcGIS API for Python
ArcObjects SDK
ArcGIS Pro SDK
Developers - General
Retired - ArcGIS API Silverlight
Retired - ArcGIS API for Flex
ArcGIS REST API
Retired - ArcGIS Windows Mobile
All Developers Communities
Worldwide
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
ArcNesia
Czech GIS
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
Esri Italia Community
Swiss Geo Community
GeoDev Switzerland
Comunidad GEOTEC
All Worldwide Communities
All Communities
Products
Developers
User Groups
Industries
Services
Community Basics
Worldwide
Events
Learning
ArcGIS Topics
Networks
View All Communities
ArcGIS Ideas
Community Basics
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS Maps SDKs for Native Apps
:
Runtime SDK for iOS Questions
:
How to add wms layer from geoserver?
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
How to add wms layer from geoserver?
Subscribe
5250
2
08-06-2013 11:47 AM
by
FrankPascuzzi
New Contributor
08-06-2013
11:47 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
I'm trying to add a wms layer that is served from an instance of geoserver using the AGSWMSLayer class but I haven't had any luck.
For example, using the layer preview option from the geoserver console we have a layer with the following URL format:
ourhostname/geoserver/esi/wms?service=WMS&version=1.1.0&request=GetMap&layers=esi:esi-environmental-sustainability-index-2005_human-sustenance&styles=&bbox=-180.0,-55.792,180.0,83.667&width=851&height=330&srs=EPSG:4326&format=image%2Fpng
I tried a number of ways for pulling in this layer including the following:
NSURL* wmsurl = [NSURL URLWithString: @"
http://ourhostname/geoserver/esi/wms?service=WMS&version=1.1.0&request=GetMap&styles=&bbox=-180.0,-5...
"];
AGSWMSLayer* wmsLayer = [[AGSWMSLayer alloc] initWithURL:wmsurl];
[self.mapView addMapLayer:wmsLayer withName:@"esi:esi-environmental-sustainability-index-2005_human-sustenance"];
I'm also having a difficult time getting any error information to help with the debugging.
Any help sure would be appreciated.
Tags
(2)
Tags:
ios
native_app_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
2 Replies
by
Noah-Sager
Esri Regular Contributor
08-15-2013
04:01 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
This is not exactly the same case, but the logic should be pretty similar in this post:
WMTS Services
Reply
0
Kudos
by
Noah-Sager
Esri Regular Contributor
01-23-2014
07:05 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
If anyone else is curious, there is a new knowledge base technical article covering this topic:
HowTo: Consume open source (WMS and WMTS) services with the ArcGIS Runtime SDK for iOS
Reply
0
Kudos
Post Reply