[GIS] Is it possible to download map layer from map server and adding it to google map

arcgis-servergoogle mapsweb service

This is a link for the base map server :

It contain about 23 layers, my question.. let say I want layer number 23 is it possible to get this layer and adding it to google map? Because I don't see on google a way to add this layer by a URL from any map server

  1. I want to get this layer

  2. then add it to google map

What do I need for this?

Any advice or solution for this problem?

Best Answer

This will depend if the Service producer has enabled KML, but will be the easiest way to get a KML format of the service. From here, you can add the content to your google map with no problems.

  • Navigate to the ArcGIS Service Directory of the address you have (I will be using a sample ESRI server)

https://sampleserver1.arcgisonline.com/ArcGIS/rest/services

  • Click the service you are looking to Map( I will use demographics) enter image description here

  • Click the MapServer you wish to have a KML of:

https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer

  • scroll to the bottom of the page and select "Generate KML" enter image description here

  • Type in a Name, select the layers you want by using the checkboxes, determine your layer options:

enter image description here

when you have the KMZ file downloaded you will need to extract the KML file from it. In order to do this you will need 7Zip.

  • Right Click the KMZ file and select 7-Zip>Open Archive. enter image description here

  • In 7-Zip select the file and click Extract.

enter image description here

  • follow the prompts and select OK. Then you can navigate to where you extracted it to and the file will be there as a KML.

enter image description here