Select to view content in your preferred language

Is it possible to write a python code for convert shape file to kml? Please give me the advice and way to do.Thank you

8600
20
05-15-2018 08:17 PM
kanchanarajapaksha
Emerging Contributor

Is it possible to write a python code for convert shape file to kml? Please give me the advice and way to do.Thank you

0 Kudos
20 Replies
DanPatterson_Retired
MVP Emeritus

you need the full installation of ArcMap, the arcgisscripting checks this, so work on a machine that has a legit version of ArcMap or ArcGIS PRO.  A receiving computer also needs it.

kanchanarajapaksha
Emerging Contributor

Hi,Yes without installation,can I get the resolve the arcgisscripting

problem?

0 Kudos
DanPatterson_Retired
MVP Emeritus

No. 

You need the installation or use something that doesn't rely on it

TedKowal
Honored Contributor

Without ArcGIS installed.... geo_file_conv/shp_to_kml.py at master · cleder/geo_file_conv · GitHub   But you will have to trackdown the additional modules and install them in your environment.

kanchanarajapaksha
Emerging Contributor

Please help me to find these additional modules.Because I am new to this

python coding.Thanks a lot

0 Kudos
kanchanarajapaksha
Emerging Contributor

Yes.Thanks for your help.Actually, I need the conversion python code.(Shape

file to KML)

0 Kudos
DanPatterson_Retired
MVP Emeritus

you need a 'module' that does the work... the modules are written in python and you will have to download and install them and maybe even to import them in order for it to work.

The code has already been written by others, you just have to use it

0 Kudos
kanchanarajapaksha
Emerging Contributor

Hello,Thanks for the reply.Please send me the way to do.(Importing and code

using).Thanks

0 Kudos
kanchanarajapaksha
Emerging Contributor

Because I couldnt find it in web

On Thu, May 24, 2018 at 10:20 AM, Kanchana Rajapaksha <

0 Kudos