Convert KML to Shapefile

In this post we are going to discuss the procedures for KML to Shapefile conversion. KML is the file extensions used in Google applications, specifically Google Earth and Google Maps. Shapefile is a geospatial vector data format for geographic information system (GIS) software. It is developed and regulated by ESRI as a mostly open specification for data interoperability among ESRI and other GIS software products.

Conversion of GIS data like KML to Shapefile can be done easily using

MAPOG Online KML To Shapefile Converter tool.

IGISMAP to Convert KML to Shapefile

For KML to Shapefile conversion go to MapOG Converter Tool, after logging in with your registered email and password. If you are a new user, click the Sign Up button in the Login popup and register to IGISMAP by filling the details.

There are three main steps for using GIS Converter:

  • Upload the data
  • Choose the format to which it should be converted
  • Download the converted file.

Step one is to upload your KML file which you want to convert. You can upload your file from system or select from the Recent Files.

Converter Tool - Upload KML
Upload KML

Here we have uploaded the KML file of New York state in USA.

Step two is to select choose the output format of the converted file, in this case its Shapefile. You can also set the Coordinate Reference System of your preference. As a default CRS will set to WGS 84 (World) [EPSG:4326]. Click on the Convert File.

Converter Tool - Shapefile as Output Format
Select Shapefile as Output Format

Your KML file will then get converted to Shapefile file after a few seconds and will be available for downloading.

Download and Publish Shapefile File
Download and Publish Shapefile File

You can also choose to style the layer or continue with further conversion process by clicking the Convert Another File button.

The Converted File can also be downloaded from the Converted Files section of the dashboard.

Converted Files section from the dashboard contains the list of the details of all the conversion done in your account, providing both input and output data available for download their corresponding formats.

Furthermore:

If you face any problem during implementing this tutorial, please let us know by dropping a mail at support@igismap.com. Feel free to comment in the below comment box.

Convert KML to GeoJSON

Have you extracted and downloaded KML file from Google Earth or Google map and want to render it with libraries supporting GeoJSON file format? Are you tired of downloading the same data in different formats? Using Map Tool you can easily convert – KML to GeoJSON. You can also do other GIS Data Conversion using this tool.

KML is a file format used to display geographic data in an Earth browser such as Google Earth. You can create KML files to pinpoint locations, add image overlays, and expose rich data in new ways. KML is an international standard maintained by the Open Geospatial Consortium, Inc. (OGC).

GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on the JSON format.

Online Converter Tool from KML To GeoJSON

MAPOG Converter Tool

MapOG converter is an incredible tool for conversion of data. It will translate KML data which is widely used in software like Google Earth, Fusion Tables, Maps and GPS devices and convert them by one click to GeoJSON (JSON) format which is widely used in software like MongoDB, Geoserver, CartoWeb and Feature Server. It Convert GIS / CAD files online without using complex and Enterprise Software like ArcGIS, QGIS, AutoCAD etc. IGIS Map converter is much easier to use than any other conversion software or tool. 

Along with conversion from KML to GeoJson, you can also check following conversions like KML to Shp, KML to KMZ, KMZ to KML, KML to DXF, KML to Topojson, KML to GML etc.

IGISMAP to Convert KML to GeoJSON

For KML to GeoJSON conversion, go to MapOG Converter Tool, after logging in with your registered email and password. If you are a new user, click the Sign Up button in the Login popup and register to IGISMAP by filling the details.

IGISMAP
IGISMAP

There are four main steps for using GIS Converter:

  • Click on Tool Converter
  • Upload the data
  • Choose the format to which it should be converted
  • Download the converted file

Step one is to upload your KML file which you want to convert. You can upload your file from system or select from the Recent Files.

Upload KML
Upload KML

Here we using the KML file of Turkey national boundary.

Step two is to select the output format from the dropdown for the converted file, in this case its GeoJSON. You can also set the Coordinate Reference System of your preference. As a default CRS will set to WGS 84 (World) [EPSG:4326]. Click on the Convert File.

Slect GeoJSON as output Format
Select GeoJSON as output Format

Your KML file will then gets converted to GeoJSON file after a few seconds and will be available for downloading.

Download GeoJSON file
Download GeoJSON file

You can also choose to style the layer or continue with further conversion process by clicking the Convert Another File button.

Converted Files section from the dashboard contains the list of the details of all the conversion done in your account, providing both input and output data available for download their corresponding formats.

Download free shapefile of various countries.

Create your own shapefile and share with your clients or embed on your website. 

Convert KMZ to KML

In this post we are going to discuss that how can we convert KMZ to KML data format. Both KML and KMZ are file extensions used in Google applications, specifically Google Earth and Google Maps. A person using these two Google applications can encounter a lot of file formats, including KML and KMZ.

A KML file is a text based file composed of Tags similar to .XML or .HTML. KML files can also be converted to a .KMZ file. KMZ is a zipped file containing one or compressed KML files. KMZ data which is used in software like Google Earth and GPS devices can be converted with one click to KML format used in software like Google Earth, Fusion Tables, Maps and GPS devices with the help of IGISMAP Converter.

Online Converter Tool To Convert KMZ to KML

Conversion of GIS data like KMZ to KML can be so easy with the help of online conversion IGIS Map tool. You can also check Convert KML to DXF. KML to KMZ, KML to SHP, KML to CSV, KML to GML, KML to GeoJSON, KML to TopoJSON etc.

IGISMAP to Convert KMZ to KML

IGIS Map Converter also supports more other vectors and raster GIS/CAD formats and more than 4000 coordinate reference systems. If the coordinate system of your input data is not present or not recognized correctly, it is possible to assign the correct one. IGIS Map Converter makes it possible to transform your data to any other coordinate reference system.

Here are some of the main process in converting KMZ to KML using IGIS Map Converter.

Go to MapOG Converter Tool, after logging in with your registered email and password. If you are a new user, click the Sign Up button in the Login popup and register to IGISMAP by filling the details.

There are three main steps for using GIS Converter:

  • Upload the data
  • Choose the format to which it should be converted
  • Download the converted file.

Step one is to upload your KMZ file which you want to convert. You can upload the file from your system or select from the Recent Files.

Upload KMZ
Upload KMZ

Here we are uploading the KMZ file of the Washington counties layer

Step two is to select choose the output format of the converted file, in this case its KML. You can also set the Coordinate Reference System of your preference. As a default CRS will set to WGS 84 (World) [EPSG:4326]. Click on the Convert File.

Select KML as Output Format

Your KMZ file will then get converted to KML file after a few seconds and will be available for downloading.

Download and Publish KML File
Download and Publish KML File

You can also choose to style the layer or continue with further conversion process by clicking the Convert Another File button.

Converted Files section from the dashboard contains the list of the details of all the conversion done in your account, providing both input and output data available for download their corresponding formats.

You can also search locations, add new datasets, edit layers and style the map according to your choice and requirements. As IGIS Map Converter Tool provides many benefits other then just conversion of data. This tool provides us to generate this published map in PDF or as image format.

Other GIS data Conversions

If you are facing any problem in conversion or login then please let us know by mailing at support@igismap.com or drop comment.

Convert KML to DXF

Are you looking for converting your KML data file into DXF format for your GIS project or uploading in the CAD system? Have you extracted and downloaded KML file from Google Earth or Google map and want to render it with your geo library which support DXF format? You can carry out this process using any GIS or Design specific desktop software. There are also a number of online tools to perform this conversion. but If you don’t want to spend so much time just on conversions and want an easy way for conversions. Here is an amazing tool for converting your data files within a minute, i.e. MapOG Converter.

MapOG Converter

IGIS Map converter is an incredible tool for data file conversions. It will translate an AutoCAD file (in DXF format) to a shapefile or KML format. It can also convert from KML format to shapefile, or KML to DXF, or Shapefile to DXF.  It Convert GIS / CAD files online without using complex and Enterprise Software like ArcGIS, QGIS, AutoCAD etc. IGIS Map converter is much easier to use then any other conversion software or tool.

MAPOG to Convert KML to DXF

Go to MapOG Converter Tool, after logging in with your registered email and password. If you are a new user, click the Sign Up button in the Login popup and register to IGISMAP by filling the details.

There are three main steps for using GIS Converter:

  • Upload the data
  • Choose the format to which it should be converted
  • Download the converted file.

Step one is to upload your KML file which you want to convert. You can upload the file from your system or select from the Recent Files.

Converter Tool - Upload KML
Upload KML

Here we using the KML file of New York state boundary.

Step two is to select choose the output format of the converted file, in this case its DXF. You can also set the Coordinate Reference System of your preference. As a default CRS will set to WGS 84 (World) [EPSG:4326]. Click on the Convert File button.

Converter Tool - DXF as Output Format
Select DXF as Output Format

Your KML file will then get converted to DXF file after a few seconds and will be published in the map canvas. You can download the DXF file of New York state boundary by clicking the Download Converted File button.

Download and Publish DXF File
Download and Publish DXF File

You can also choose to style the layer or continue with further conversion process by clicking the Convert Another File button.

Converted Files section from the dashboard contains the list of the details of all the conversion done in your account, providing both input and output data available for download their corresponding formats.

Conclusion

IGIS Map Converter Tool provides many benefits other then just conversion of data. This tool provides us to generate this published map in PDF or as image format.

InfoGISMapOG supports most of the commonly used GIS or AutoCAD files like Shapefile SHP, KML, KMZ, CSV, TopoJSON, GeoJSON, GML, DXF, GeoTIFF, NetCDF, GRIB, HDF5, OSM, PBF, and many more raster and vector files, along with that it support more than 4000 Coordinate Reference System.

IGIS Map Converter is a online tool for converting GIS data files from one format to another. which helps you in easy data conversion and beautiful and incredible map creation in no time. IGIS Map converter online tool is recommended for better and easy conversions.  If you want you can also use ogr2ogr offline conversion tool for convert KML to DXF format.

Need Sample data for research and study – Download Shapefile of Countries

If you face any problem during implementing this tutorial, drop a mail at support@igismap.com, also feel free to comment in given comment box.

Download Australia Administrative Boundary Shapefiles – States, Local Government Area, Postal Areas and more

Hello GIS enthusiasts, IGISMAP has now published the latest GIS vector data of Australia administrative levels. Links for downloading the shapefiles of the important administrative divisions of Australia are provided in the following. You can also download these data in KML, GeoJSON or CSV formats. 

Note:

  • All data available are in GCS datum EPSG:4326 WGS84 CRS (Coordinate Reference System).
  • You need to login for downloading the shapefile.

Download Free Shapefile Data of Australia

Australia is the sixth largest country of the world by total area. It is a continent surrounded by Indian and Pacific oceans. Australia as a continent also exist as country, where Australia Continent does have Australia,  partially Indonesia and Papua New Guinea. Australia is one of the world’s most highly urbanized countries. Major cities of Australia are Sydney, Melbourne, Brisbane, Perth, Adelaide. Canberra is its capital city, which can be seen in the shapefile downloadable from below links.

Australia GIS Data - National Boundary
Australia National Boundary

Download Australia National Outline Boundary Shapefile

Download Australia States Shapefile Data

The states and territories are federated administrative divisions in Australia, ruled by regional governments that constitute the second level of governance between the federal government and local governments. The Federation of Australia constitutionally consists of six federated states and ten federal territories, out of which three are internal territories contiguous to the Australian mainland; and the other seven are external territories and other offshore dependent territories.

Australia GIS Data - States Boundaries
Australia State Boundaries

Download Australia State Boundaries Shapefile

Federal States

  • New South Wales
  • Queensland
  • South Australia
  • Tasmania
  • Victoria
  • Western Australia

Internal Territories

  • Australian Capital Territory
  • Jervis Bay Territory
  • Northern Territory

External Territories

  • Ashmore and Cartier Islands
  • Christmas Island
  • Cocos (Keeling) Islands
  • Coral Sea Islands
  • Heard Island and McDonald Islands
  • Norfolk Island
  • Australian Antarctic Territory

Download Australia Local Government Areas Shapefile Data

Local government is the third level of government in Australia, administered with limited autonomy under the states and territories, and in turn beneath the federal government. The Australian local government is generally run by a council, and its territory of public administration is referred to generically by the Australian Bureau of Statistics as the local government area or LGA, each of which encompasses multiple suburbs or localities often of different postcodes; however, stylized terms such as “city”, “borough” and “shire” also have a geographic or historical interpretation. As of August 2016, there were 547 local councils in Australia.

Australia GIS Data - LGA Boundaries
Australia LGA Boundaries

Download Australia LGA Boundaries Shapefile

This shapefile covers following shire or council listed below:

  • Inner West Council
  • Council of the City of Sydney
  • Burwood Council
  • Canterbury-Bankstown Council
  • City of Banyule
  • City of Darebin
  • City of Boroondara
  • City of Yarra
  • City of Melbourne
  • City of Port Phillip
  • City of Stonnington
  • City of Manningham
  • City of Whitehorse
  • City of Hobsons Bay
  • City of Wyndham
  • City of Greater Geelong
  • City of Monash
  • Northern Beaches Council
  • City of Adelaide
  • Borough of Queenscliffe
  • Surf Coast Shire
  • Golden Plains Shire
  • Shire of Colac Otway
  • Shire of Corangamite
  • Shire of Pyrenees
  • City of Ballarat
  • Shire of Moorabool
  • City of Melton
  • City of Brimbank
  • City of Hume
  • Shire of Macedon Ranges
  • City of Moreland
  • City of Whittlesea
  • Shire of Mitchell
  • Shire of Hepburn
  • City of Moonee Valley
  • City of Maribyrnong
  • Shire of Nillumbik
  • City of Glen Eira
  • Shire of Murrindindi
  • City of Bayside
  • City of Kingston
  • City of Greater Dandenong
  • City of Frankston
  • City of Casey
  • Shire of Mornington Peninsula
  • City of Knox
  • City of Maroondah
  • Shire of Yarra Ranges
  • Shire of Cardinia
  • Shire of Baw Baw
  • Shire of South Gippsland
  • Bass Coast Shire
  • Shire of Mount Alexander
  • City of Greater Bendigo
  • Shire of Loddon
  • Rural City of Mildura
  • Shire of West Wimmera
  • Shire of Hindmarsh
  • Shire of Yarriambiack
  • Shire of Buloke
  • Rural City of Swan Hill
  • Shire of Strathbogie
  • Shire of Campaspe
  • Rural City of Ararat
  • Shire of Moyne
  • City of Warrnambool
  • Shire of Northern Grampians
  • Shire of Southern Grampians
  • Shire of Mansfield
  • Shire of Central Goldfields
  • Shire of Wellington
  • Rural City of Wangaratta
  • Rural City of Benalla
  • Latrobe City
  • Shire of Glenelg
  • Rural City of Horsham
  • Shire of East Gippsland
  • Alpine Shire
  • Shire of Towong
  • Shire of Gannawarra
  • City of Greater Shepparton
  • Shire of Moira
  • Shire of Indigo
  • City of Wodonga
  • District Council of Grant
  • City of Mount Gambier
  • Albury City Council
  • Greater Hume Shire Council
  • Wattle Range Council
  • Victoria-Daly Region
  • City of Darwin
  • Bundaberg Region
  • Wentworth Shire Council
  • Central Darling Shire Council
  • Bourke Shire Council
  • Broken Hill City Council
  • Balranald Shire Council
  • Brewarrina Shire Council
  • Walgett Shire Council
  • Cobar Shire Council
  • Bogan Shire Council
  • Moree Plains Shire Council
  • Hay Shire Council
  • Carrathool Shire Council
  • Warren Shire Council
  • Lachlan Shire Council
  • Murray River Council
  • Queanbeyan-Palerang Regional Council
  • Edward River Council
  • Clarence Valley Council
  • Richmond Valley Council
  • Griffith City Council
  • Kyogle Council
  • Tenterfield Shire Council
  • Glen Innes Severn Council
  • Armidale Regional Council
  • Nambucca Shire Council
  • Bellingen Shire Council
  • Coffs Harbour City Council
  • Lismore City Council
  • Ballina Shire Council
  • Tweed Shire Council
  • Byron Shire Council
  • Kempsey Shire Council
  • Walcha Council
  • Port Macquarie-Hastings Council
  • Dungog Shire Council
  • Port Stephens Council
  • Upper Hunter Shire Council
  • Maitland City Council
  • Newcastle City Council
  • Cessnock City Council
  • Lake Macquarie City Council
  • Singleton Council
  • Inverell Shire Council
  • Central Coast Council
  • Randwick City Council
  • Waverley Council
  • Woollahra Municipal Council
  • Georges River Council
  • Sutherland Shire Council
  • Strathfield Municipal Council
  • Cumberland Council
  • Fairfield City Council
  • Liverpool City Council
  • City of Parramatta Council
  • City of Canada Bay Council
  • Blacktown City Council
  • Council of the City of Ryde
  • The Council of the Shire of Hornsby
  • The Hills Shire Council
  • Hawkesbury City Council
  • Ku-ring-gai Council
  • Willoughby City Council
  • Berrigan Shire Council
  • Murrumbidgee Council
  • Federation Council
  • Snowy Monaro Regional Council
  • Snowy Valleys Council
  • Eurobodalla Shire Council
  • Bega Valley Shire Council
  • Wagga Wagga City Council
  • Cootamundra-Gundagai Regional Council
  • Yass Valley Council
  • Mid-Coast Council
  • Junee Shire Council
  • Temora Shire Council
  • Hilltops Council
  • Bland Shire Council
  • Weddin Shire Council
  • Cowra Shire Council
  • Upper Lachlan Shire Council
  • Uralla Shire Council
  • Gwydir Shire Council
  • Gilgandra Shire Council
  • Dubbo Regional Council
  • Warrumbungle Shire Council
  • Mid-Western Regional Council
  • Cabonne Council
  • Parkes Shire Council
  • Narromine Shire Council
  • The Council of the Municipality of Hunters Hill
  • North Sydney Council
  • Lane Cove Municipal Council
  • Mosman Municipal Council
  • Penrith City Council
  • Wollondilly Shire Council
  • Camden Council
  • Campbelltown City Council
  • Lithgow City Council
  • Blue Mountains City Council
  • Wollongong City Council
  • Wingecarribee Shire Council
  • Shellharbour City Council
  • Oberon Council
  • Goulburn Mulwaree Council
  • The Council of the Municipality of Kiama
  • Shoalhaven City Council
  • Coolamon Shire Council
  • Narrandera Shire Council
  • Lockhart Shire Council
  • Bathurst Regional Council
  • Muswellbrook Shire Council
  • Liverpool Plains Shire Council
  • Tamworth Regional Council
  • Narrabri Shire Council
  • Gunnedah Shire Council
  • Leeton Shire Council
  • Forbes Shire Council
  • Blayney Shire Council
  • Orange City Council
  • Kangaroo Island Council
  • Yorke Peninsula Council
  • Renmark Paringa Council
  • District Council of Loxton Waikerie
  • Southern Mallee District Council
  • Tatiara District Council
  • Naracoorte Lucindale Council
  • District Council of Robe
  • Kingston District Council
  • Anangu Pitjantjatjara Yankunytjatjara Local Government Area
  • Maralinga Tjarutja
  • District Council of Coober Pedy
  • Municipal Council of Roxby Downs
  • Uia Riverland Local Government Area
  • Berri Barmera Council
  • Pastoral Unincorporated Area
  • Port Augusta City Council
  • Flinders Ranges Council
  • District Council of Orroroo Carrieton
  • District Council of Peterborough
  • Mid Murray Council
  • Unincorporated Area
  • Bayside Council
  • Coorong District Council
  • District Council of Karoonda East Murray
  • Rural City of Murray Bridge
  • District Council of Ceduna
  • District Council of Streaky Bay
  • Wudinna District Council
  • District Council of Elliston
  • Coonamble Shire Council
  • Alexandrina Council
  • City of Victor Harbor
  • District Council of Yankalilla
  • City of Onkaparinga
  • Mount Barker District Council
  • City of Swan
  • Bayswater
  • City of Belmont
  • Waverley Council

Download Australia Postal Areas Shapefile Data

There are over 2670 postal area boundaries in the following data

Australia GIS Data - Postal Area Boundaries
Australia Postal Area Boundaries

Download Australia Postal Area Boundaries Shapefile

Other Administrative Boundary Data:

Australia Demographic Data:

Download Free Shapefile for the following:

  1. World Countries Shapefile
  2. Australia
  3. Argentina
  4. Austria
  5. Belgium
  6. Brazil
  7. Canada
  8. Denmark
  9. Fiji
  10. Finland
  11. Germany
  12. Greece
  13. India
  14. Indonesia
  15. Ireland
  16. Italy
  17. Japan
  18. Kenya
  19. Lebanon
  20. Madagascar
  21. Malaysia
  22. Mexico
  23. Mongolia
  24. Netherlands
  25. New Zealand
  26. Nigeria
  27. Papua New Guinea
  28. Philippines
  29. Poland
  30. Russia
  31. Singapore
  32. South Africa
  33. South Korea
  34. Spain
  35. Switzerland
  36. Tunisia
  37. United Kingdom Shapefile
  38. United States of America
  39. Vietnam
  40. Croatia
  41. Chile
  42. Norway

Disclaimer : If you find any shapefile data of country provided is in correct do contact us or comment below, so that we will correct the same in our system as well we will try to correct the same in openstreetmap.

KML to SHP Shapefile – Convert

Convert kml to shp shapefile. Have you extracted and downloaded kml file from Google Earth or Google map and want to render it with your geo library which support shapefile? Do you have KML data given from third party and want to give a proper representation of data over map by converting the same in shapefile? If so, here is an article to convert kml to shp using command line tool ogr2ogr or using php code. While if you use QGIS tool, you can look over kml to shp convert using QGIS or else continue using this article.

Here is the online Tool To Convert KML To SHP Shapefile

KML (Keyhole Markup Language) is very popular GIS format. It is available in text format containing tags such as Placemark, SimpleField, SimpleData and ExtendedData etc. It contains whole information in tag. But when you need to see the geometry you may require Shapefile. This conversion can be done using Ogr2ogr utility from GDAL (Geospatial Data Abstraction Library) and other GIS software such as QGIS, ArcGIS etc.

Convert kml to shp – Look Details For KML (Keyhole Markup Language) structure with Line feature-

<Schema name="India_roads" id="India_roads">
 <SimpleField name="MED_DESCRI" type="string"></SimpleField>
 <SimpleField name="RTT_DESCRI" type="string"></SimpleField>
 <SimpleField name="F_CODE_DES" type="string"></SimpleField>
 <SimpleField name="ISO" type="string"></SimpleField>
 <SimpleField name="ISOCOUNTRY" type="string"></SimpleField>
 <SimpleField name="Length_km" type="float"></SimpleField>
 <SimpleField name="Latitude" type="string"></SimpleField>
 </Schema>
 <Folder><name>India_roads</name>
 <Placemark>
 <Style><LineStyle><color>ff0000ff</color></LineStyle><PolyStyle><fill>0</fill></PolyStyle></Style>
 <ExtendedData><SchemaData schemaUrl="#India_raods">
 <SimpleData name="MED_DESCRI">Without Median</SimpleData>
 <SimpleData name="RTT_DESCRI">Secondary Route</SimpleData>
 <SimpleData name="F_CODE_DES">Road</SimpleData>
 <SimpleData name="ISO">IND</SimpleData>
 <SimpleData name="ISOCOUNTRY">INDIA</SimpleData>
 <SimpleData name="Length_km">0.3</SimpleData>
 </SchemaData></ExtendedData>
 <LineString><coordinates>77.8277403975188,35.5012774951028 77.8257523065223,35.4995003281062</coordinates></LineString>
 </Placemark>
 <Placemark>

In the above given example, attribute fields are given with their data type. In style tag geometry style shown with color. Extended Data encloses attribute field name with values. In the last coordinates are given for particular line string. In similar way other lines, point and polygon are given in KML.

You may also look over converting Shapefile to kml using QGIS or shp to kml using ogr2ogr tool.

KML to SHP Shapefile – Convert

    • Go to MapOG Tool  and login with email id or if you are new user then register with a valid email id.
    • After login next step is to  Tap on Switch To and select Converter.
    • Next screen will be opened. Upload your data from system or drag & drop.
    • After uploading your data select the output data. For KML to Shapefile select SHP.
    • If you want your output in different coordinate reference system then click on change CRS.
    • Your converted file is directly published on the map. Download your converted file by clicking download icon.

For step by step approach check the video given below:

Convert from Keyhole Markup Language KML to SHP Shapefile using ogr2ogr utility-

For using this utility you need to install it in your system. To install this utility you can follow given commands,

KML to SHP Shapefile - Convert
KML to SHP Shapefile – Convert

If you already have install this utility or you want to check availability of this utility you can type ogr2ogr in terminal.

KML to SHP Shapefile - Convert

For conversion the given command need to be executed on terminal-

--- ogr2ogr -f 'ESRI Shapefile' Output_sahpefile.shp Input_KML.kml

Here -f defines the output file format and ‘ESRI shapefile’ is driver available.

PHP code for converting KML to SHP shapefile-

If you want the conversion using programing or don’t want to use terminal then this can also be done using PHP. You can create a function that defined this command as string and can give this string in shell_exec() method to execute. Shell_exec() actually execute the command and returns output as string.

public function KML_to_shp($KMLfilepath,$output){
 $query="ogr2ogr -f 'ESRI Shapefile'  $output.gml  $KMLfilepath";
 shell_exec($query);
 }

Generated output in QGIS software-

KML to SHP Shapefile - Convert
KML to SHP Shapefile – Convert

Change Coordinate System of shapefile generated from kml-

Changing coordinate system of output file can be done with this same ogr2ogr utility. It has various option for SRS (Spatial reference system), given below

-a_srs srs_def:

Assign an output SRS

-t_srs srs_def:

Reproject/transform to this SRS on output

-s_srs srs_def:

Override source SRS

These option can be used in command as-

— ogr2ogr -f ‘ESRI Shapefile’ -t_srs EPSG:32643 (new EPSG) -s_srs EPSG:4326 (old EPSG) shpchange.shp output1.kml

Generated shapefile from kml after changing coordinate system in QGIS software-

Convert- KML to Shapefile - Keyhole Markup Language

Hence, we get our shapefile. Furthermore, try our tool MAPOG Tool if you want to conversion in single click.

You also can visit Shapefile to GeoJSON, Shapefile to TopoJSON, Shapfile to geopackage, KML to shapefile conversion using QGIS etc.

If you face any problem during implementing this tutorial, please let us know. Feel free to comment in given comment box.

Even more try your hands on our Conversion Tool

Download Free Shapefile Maps – Country Boundary Polygon, Rail-Road, Water polyline etc

Download Free Shapefile Maps – Shapefile is one of the most common and extensively use vector file format of GIS (Geographical Information System), developed by ESRI as an open Specification, which consist of collection of files viz .shp, .shx and .dbf extension with same prefix name. You might be hunting to Download free shapefile for completing either your small industrial work for POC or for academic project use or for any NGO work.

Download GIS Data From Here

Here you will find the links of best resources to Download Shapefile for free, either its polygon, polyline and point feature shapefile, covering different subjects like Administrative Area Boundaries, Roads, Railways, population etc across the world. You may also look to download Digital Terrain DEM.

Download Free Shapefile Maps - different sources

Note: The Data Shapefile Downloaded from provided below link here, may or may not be authentic, accurate or incomplete. To check data correctness and accuracy, you need to research and recheck before using it. Also Shapefiles are downloaded for free from different organization or websites link and should be used according to
their respective terms and conditions, so please read T&C before using it for any purpose.

Download GIS Data From Here

Shapefile download link

  1. World Country Shapefile
  2.  Australia Shapefile download
  3. Argentina
  4. Brazil
  5. Download Shapefile of Canada
  6. Denmark
  7. Fiji
  8. Germany
  9. India
  10. Indonesia
  11. Japan
  12. Kenya
  13. Lebanon
  14. Madagascar
  15. Malaysia Shapefile
  16. Mexico Shapefile
  17. Mongolia
  18. New Zealand
  19. Netherland
  20. Nigeria
  21. Papua New Guinea
  22. Philippines
  23. Poland
  24. Singapore
  25. South Africa Province Shapefile
  26. South Korea
  27. Tunisia
  28. United Kingdom Shapefile
  29. Download Shapefile of United States of America
  30. Vietnam

Download GIS Data of other states of the USA

If you are looking for any shapefile of country which is not listed above please comment below so that we can search in our pitara of shapefile. If we found we can upload it on the same.

Download Free Shapefile Maps – Country Boundary Polygon, Rail-Road, Water polyline etc

1.) Diva GIS

Website is developed by Robert Hijmans, which provides free Shapefile to download, covering around 244 countries. You can directly select the country and category of shapefile and press on OK button to start download. Subject Category option you will find here are Administrative Areas (Boundaries), Inland Water, Roads, RailRoads, Elevation, Land cover, population, Climate  and Gazetteer.

2.) GADM :

GADM is a spatial database of Global Administrative Areas, which covers all countries data defining boundaries such as provinces, taluk, departments, counties, krong etc. GADM listed around 253 countries currently, the different files formats are available along with shapefile such as Esri File Geodatabase, Geopackage(Spatial Lite), R(Spatial Polygon Dataframes), Google Earth .kmz and ESRI personal geodatabase. The coordinate reference system of each file is in longitude/latitude and the datum is WGS84.

3.) Natural Earth Data:

“Natural Earth is a public Domain Map data-set available at at 1:10m(Large scale data), 1:50m(medium scale data), and 1:110 million scales (Small Scale data).” Cultural, physical and raster category data can be downloaded from each scale. Data can be downloaded as shapefile (shp) or GeoDB or as SQLite. Natural Earth is maintained by Nathaneiel V. KELSO and Tom Patterson. Here is the screenshot of shapefile from QGIS (Quantum GIS) tool of 1:10m all shapefile layers uploaded at once.

Download Free Shapefile Maps
QGIS View – Download Free Shapefile Maps

4.) Geofabrik:

Geofabrik provides the current data from the Openstreetmap database, which is available either for free as well as premium shapefiles. Data can be downloaded as .osm and .shp.zip file. Select the continent from the link provided for which you need to download the data. Further you can either select the country for filtering out more and hit the .shp.zip link to download the data.

5.) Open Street Map data

This service is created by Jochen Topf and Christoph Hormann. Following data sets and its subcategories shapefiles can be downloaded from this website.
a.) Coastline Data processing: It covers land polygons of the world area i.e continents and islands, Water polygon i.e polygon for ocean, seas and other water bodies and coastlines as line strings.
b.) Generalized data sets: This section provides you to download Generalized coastline polygon shapefiles.
c.) Antarctic icesheet: Antarctic icesheet polygons and icesheet outlines can be obtained from here.

6.) Gis-Lab info:

World data shapefile can be downloaded from GIS lab. This global data are separated into 4 parts i.e Eur, Noa, Soa and Sas Zones, which you can see the image provided below. This data shapefile is in zipped with 7z compressor and all data are in Latitude / Longitude and WGS84 coordinate system.

Select different zone to Download Free Shapefile Maps
Select different zone to Download Free Shapefile Maps

7.) MapCruzin:

While the website does not look user friendly, you need to hunt over different country shapefiles at different area. Both free as well as paid Shapefile can be obtained and downloaded given.

8.) Sedac data:

SocioEconomic Data and Applications Center provides data as zipfile of ESRI File geodatabases or shapefiles, and have decimal degree geographic coordinates system with datum WGS84 (world Geodetic System spheroid of 1984). Continent based regional data is available as shown below. Before downloading the data, you need to register and sign in to their system.

Continent Based data - Download Free Shapefile
Continent Based data – Download Free Shapefile

9.) Marine Regions:

If you are working on Sea or marine related subject, this website may help you to get the direct data to link to the relevant website from which you can get the shapefile maps data.

It might be possible that the data which you might have downloaded from website provided here, can be of different format which was not required. For this, you can refer to following articles where you can convert different GIS data format to any of it.

Convert KML to shapefile

Convert Shapefile to KML

Convert Shapefile to GeoJSON

Convert GeoJSON to topojson

Merging two or more than two Shapefile

You may also find these links which makes you to download free shapefile map for particular region:

Is the above provided links are not fulfilling your need. Than the best option you can opt for is to create your own shapefile with the help of QGIS and openstreetmap. You can easily download the data from their and then edit it make it more clear according to your requirement. If you are new to QGIS then let me provide you some tutorial link which helps you to digitize the OSM data and create shapefile.

For what purpose you need to download shapefiles? Which project you are working on? Which website you to get the map data? Do share your valuable thoughts by commenting below. I hope that the above list have definitely helped you in finding the right website to get free shapefile download, while their might be possibilities that I have not listed some of the website which should be present in the list. Please help us by providing those links by commenting below.

Convert Shapefile to kml by QGIS

Convert Shapefile to kml by QGIS. Shapefile is ESRI based Vector file, While KML or Keyhole Markup Language is file which models and stores geographic features for display in Google Earth or Google maps. Many times you may require to convert the required shapefile to KML file, so that you can deploy the same over Google Earth for some reason. QGIS (Quantum GIS) is an open source GIS (Geographic Information System) tool, which let you upload the Shapefile and convert the same to KML file. Similarly ogr2ogr is also an open source tool, which let you to convert between GIS data formats. Look over shp to kml convert using ogr2ogr tool which can be marked as an alternative to this article. You can also see to convert Kml to Shapefile and also Shapefile to GeoJSON in QGIS.

You can also try Online conversion instead of QGIS MAPOG Online converter tool

You can also go through other tutorial in QGIS.

Free SHP to KML conversion using GIS Converter Tool in one click.

Here are the steps to convert shapefile to kml:

Convert Shapefile to kml in QGIS

Convert Shapefile to kml by QGIS
Convert Shapefile to kml by QGIS

Convert Shapefile to kml in QGIS:

1.) Open up the installed QGIS.
2.) In the menu bar, select Layer and press Add Vector Layer. Now select the source type in the pop up window opened as File and browse the source Shapefile(Note:Your shapefile .shp, .dbf and .shx file should be in same folder). Press open.

Convert Shapefile to kml by QGIS
Convert Shapefile to kml by QGIS

Select the coordinate reference type system if coordinate reference window appears and press ok.

3.) Right click on the name of Shapefile layer Appearing in the Left upper side and select save as:
or
You can select layer from the menu, and click on save as. (Image below provide demonstrate both the options with the indicator displayed)

Convert Shapefile to kml by QGIS
Convert Shapefile to kml by QGIS

4.) In the Save vector layer as window, Select the format from the drop down box as Keyhole Markup Language(KML) and browse the folder in which you want to save the KML file . Name it and Press OK.

Convert Shapefile to kml by QGIS
Convert Shapefile to kml by QGIS

Your KML file will be Exported in the directed folder. You can Verify the generated KML file for its validity by uploading the generated KML file to QGIS or uploading KML file in Google map. You may soon find the tool and the coding for the same on this site.

You may check in converting Geojson to Topojson and Shapefile to TopoJSON file. Hope this may help you in converting Shapefile to KML file easily. If you still find problem in converting the file, do let me know by commenting below.

Introduction of QGIS 3.2.1

Convert KML to Shapefile in QGIS

Convert KML to Shapefile in QGIS. KML or Keyhole markup language file which store and models geographic features for displaying in Google earth or Google maps, which is not common in use for Map makers and GIS programmers. ESRI made a standard Vector file i.e Shapefile which is most commonly adopted in the field of GIS (Geographic Information System), and this made me to convert KML to shapefile, created for learning purpose from Google map. QGIS (Qunatum GIS) is an open source GIS tool, which provide you a function to convert the KML file to Shapefile, and Vice versa i.e Shapefile to kml file.

You might be looking for converting KML to shapefile when you get the data from third party or from website which download free GIS map data but in different formats which can also be converted to.

If you still don’t prefer using QGIS or GDAL utility to convert the file from kml to shp, then you should also look for KML to Shapefile Conversion using Online Tool.

Convert KML to Shapefile in QGIS
Convert KML to Shapefile in QGIS

You might be interested in seeing QGIS tutorials.

Instead of QGIS you can also try Online Converter tool here MAPOG Online converter tool

Convert KML to Shapefile in QGIS:

1.) Open up the installed QGIS.
2.) Select Layer in the menu bar and press Add Vector Layer or select the shortcut icon. Browse the KML file, in the Source DataSet type, in the pop up window opened.(While browsing, select either all files or Key Hole Markup language in file type). And press Open.

Convert KML to Shapefile in QGIS
Convert KML to Shapefile in QGIS

Select the coordinate reference type system if coordinate reference window pop ups and press ok.

3.) In the Layer file appearing in the left upper side, right click on it, and select save as:

or

you can either select layer from the menu and click on save as.

Convert KML to Shapefile in QGIS`
Convert KML to Shapefile in QGIS

4.) In the Save vector layer as window, Select the format from the drop down box as ESRI Shapefile(OGR) and browse the folder in which you want to save the shapefile. Name it and Press OK.

Convert KML to Shapefile in QGIS
Convert KML to Shapefile in QGIS

Try our tool for conversion: MAPOG Online converter tool

Your Shapefile i.e .shp, .shx and .dbf file will be created in the directed folder. Upload your KML file in your map browser tool, or try our tool, to verify whether the tool preserves all attributes and elements or not. You may also see how to merge two shapefile in QGIS. Or if you are looking to convert that shapefile to kml to Topojson then you can look for GeoJSON to Topojson and Shapefile to GeoJSON and shapefile to TopoJSON. Do comment below if you are getting any problem in converting the file.

QGIS 3.2.1 for Beginners