Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm using ArcMap 10, I was wondering if there was a way to convert a .kml file into a .csv to check the attributes or a .shp to import it straight into ArcMap?

I've tried downloading various programmes to convert it but they either don't work properly or my university won't let me download them.

Here is the .kml file in question, any help would be much appreciated.

share|improve this question
1  
csv available here doogal.co.uk/PostcodeDistricts.php –  Mapperz Oct 21 '13 at 14:24

3 Answers 3

Use the KML To Layer tool which you can find and open via the Search window or in ArcToolbox under the Conversion Tools.

Converts a KML or KMZ file into feature classes and a layer file. The layer file maintains the symbology found within the original KML or KMZ file.

You can go from the feature class or layer (created by that tool) to a shapefile using Copy Features (or Export Data in the Table of Contents).

fromkml

share|improve this answer

You can do that easily in QGIS.

  • change your KMZ to KML (open in google earth and save as KML)
  • open as a vector layer in QGIS
  • right click the layer -> save as -> choose ESRI shapefile from the dropdown
  • do the same with CSV from the dropdown

I have just done this with your data and it seems to provide all the necessary data you require - takes 2 seconds

share|improve this answer
1  
In this case the asker says that he/she is using ArcMap 10 and does not invite solutions using alternative software. Consequently, I think this would have been OK as a Comment but not as an Answer. –  PolyGeo Oct 21 '13 at 22:21
    
Fair enough. The user stated that he'd already tried downloading software to find a solution - hence the suggestion towards using QGIS :). Having said this, I do not think it's worth a downvote. –  Rob Lodge Oct 22 '13 at 7:33
    
I'm happy to reverse my downvote because I'd overlooked that detail in the question. –  PolyGeo Oct 22 '13 at 7:59

You could look at using FWTools. Its an open source commandline tool. The command you would want to use to convert the KML to a SHP would be the following:

ogr2ogr -f "ESRI Shapefile" c:\temp\outshapefile.shp C:\temp\inkml.kml

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.