AnsweredAssumed Answered

Adding WMS layer to AGOL from GeoServer (localhost)

Question asked by 2192868288 on Sep 1, 2017
Latest reply on Sep 3, 2017 by 2192868288

Hello Everyone,

I am trying to add a WMS layer to AGOL that I published to GeoServer. GeoServer is hosted locally on my computer.

The URL I'm using is as follows:

http://localhost:8080/geoserver/NYC/wms?service=WMS&version=1.1.0&request=GetMap&layers=NYC:nyc_roads&styles=&bbox=984018.1663741902,207673.09513056703,991906.4970533887,219622.53973435296&width=506&height=768&srs=EPSG:2908&format=application/openlayers 

 

After having done some research I do realize that the localhost might be a problem too since that is protecting my published layer from being publicly available, and therefore, AGOL is failing to see it. Is there a way around it? How can I make the layer be publicly available or is there an alternative URL available by GeoServer that'll allow AGOL to see my layer?

 

Any advice is greatly appreciated!

 

Thank you,

Gaya 

Outcomes