GIS Data Conversion

Hey guys, in this post we are going to focus on one of the important topic of GIS world, which is the “DATA CONVERSION”. Data Conversion means converting computer data into another format. With huge amounts of GIS data available for use, it is more cost-efficient and effective to convert the GIS data from one format to another than recreating all of it.

GIS Data Conversion

There are many ways to convert GIS data and the conversion may use special conversion programs. Simply, it may involve complex data exporting or importing procedures. As we  know there are many data file formats used in GIS, this time we will be converting them from one format to another.

To get the list of the various data file formats you can visit our previous posts.

Vector data file formats in GIS and Raster data file formats in GIS.

To make datasets usable together in GIS, it is necessary to convert the both vector and raster geospatial file from one format to another. And for doing the Conversion we already have posts about the data conversion from GeoJSON to Shapefile and KML to shapefile and many more, but they all have a long way to convert the GIS data. The Alternative to that is some free and commercial converter  software or tools available on the web. There are a Lots’s of tools available on the web, but I recommend you to use  IGisMap converter.  IGisMAP Converter is an online tool to convert GIS data from one format to another format.

IGisMap converter provides On-line conversion and transformation of both vector and raster geospatial data.  In this on-line converter tool the uploaded data file is allowed to convert into various GIS data format.

IGisMAP converter can convert bulk amount of data into another format using any coordinates reference systems. And then you can download the converted data or store it into MyMapData.

This all about IGisMap Converter tool hope it will make your spatial study easy. If you face any problem in data conversion then please comment or chat with us.

Futhermore, You can also check :

Download Japan Administrative Boundary Shapefiles – Regions, Prefectures, Municipalities and more

Hello GIS enthusiasts, IGISMAP has now published the latest GIS vector data of Japan administrative levels. Links for downloading the shapefiles of the important administrative divisions of Japan 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 Japan

Japan and formally Nihonkoku is an island country in East Asia. It is situated in the northwest Pacific Ocean, and is bordered on the west by the Sea of Japan, while extending from the Sea of Okhotsk in the north toward the East China Sea, Philippine Sea, and Taiwan in the south. Japan is a part of the Ring of Fire, and spans an archipelago of 6852 islands covering 377,975 square kilometers (145,937 sq mi); the five main islands are Hokkaido, Honshu (the “mainland”), Shikoku, Kyushu, and Okinawa. Tokyo is the nation’s capital and largest city, followed by Yokohama, Osaka, Nagoya, Sapporo, Fukuoka, Kobe, and Kyoto.

Japan National Boundary
Japan National Boundary

Download Japan National Outline Boundary Shapefile

Download Japan Regions Shapefile Data

Japan have 8 regions as follows:

  • Chubu Region
  • Chugoku Region
  • Hokkaido Region
  • Kanto Region
  • Kinki Region
  • Kyushu Region
  • Shikoku Region
  • Tohoku Region
Japan Region Boundaries
Japan Region Boundaries

Download Japan Region Boundaries Shapefile

Download Japan Prefectures Shapefile Data

Japan is divided into 47 prefectures, which rank immediately below the national government and form the country’s first level of jurisdiction and administrative division. Following GIS Data contains the polygons of these 47 prefecture division boundaries of Japan.

Japan Prefecture Boundaries
Japan Prefecture Boundaries

Download Japan Prefecture Boundaries Shapefile

Download Japan Municipalities Shapefile Data

Japan Municipality Boundaries
Japan Municipality Boundaries

Download Japan Municipality Boundaries Shapefile

Other GIS Data:

Please note that the Japan data provided here is license under Open Data Commons Open Database License (ODbL). Please review the same before using it. If you want data under different license you can also look over to the post : Download Free Shapefile Maps – Country Boundary Polygon, Rail-Road, Water polyline etc

Download Free Shapefile for the following:

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

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.

You can also this Shp into Other Formats i.e. CSVXLSXMIF

Convert GeoTIFF to AAIGrid

In this post we are going to discuss that how can we convert GeoTIFF to AAIGrid data format.

GeoTIFF is a public domain standard which allows georeferencing information to be embedded within a TIFF file. GeoTIFF files also includes map projection, coordinate systems and datums data to establish the exact spatial reference for the file.

AAIGrid or Arc/Info ASCII Grid is supported for read and write access, including reading of georeferencing transform and some projections. The projections support is quite limited. It is normally produced with the Arc/Info ASCIIGRID command.

Conversion of GIS data like GeoTIFF to AAIGrid can be so easy with the help of the online conversion tool like IGIS Map Converter.

IGISMAP to Convert GeoTIFF to AAIGrid

For GeoTIFF to AAIGrid conversion, go to Converter tool, after logging in with your registered email and password from IGIS. 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 the GeoTIFF file which you want to convert. You can upload your file from system or select from the Recent Files.

Converter Tool - Upload GeoTIFF
Upload GeoTIFF

Here we have uploaded the Satellite image of the Mumbai port in GeoTIFF format collected from Google Earth Engine.

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

Converter Tool - AAIGrid as Output Format
Select AAIGrid as Output Format

After clicking the Convert File button, your GeoTIFF file will be converted to AAIGrid file after a few seconds and will be available for downloading in the Converted Files section of the dashboard.

Download AAIGrid File
Download AAIGrid File

Raster files are currently not available for processing in IGISMAP, thus the output AAIGrid file cannot be visualized in the map canvas. Instead it will be available for download in the Converted Files section.

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

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

You can also check-

Convert KMZ to GPX

GPX is a common GPS data format for software applications supported by major GPS devices and KMZ is a file format used to display geographic data in Google Earth and Google Maps.

Converting GIS data file from KMZ to GPX format  is just  a few click process with IGIS Map Converter Online.

IGIS Map Converter

IGIS Map converter is an incredible tool for data file conversions. It will translate KMZ data used by Google Earth and GPS devices and convert them by one click to GPX or GPS format which is also used in software like OziExplorer, Google Earth and GPS devices.

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.

IGISMAP to Convert KMZ to GPX

For KMZ to GPX conversion go to IGIS Map 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.

Converter Tool - Upload KMZ
Upload KMZ

Here we are uploading the KMZ file of the point vector file of the airports in India.

Step two is to select choose the output format of the converted file, in this case its GPX. 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 - GPX as Output Format
Select GPX as Output Format

Your GPX file will then get converted to CSV file after a few seconds and will be available for downloading in the Converted Files section from 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.

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.

Info GIS Map 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.

Subscribe IGIS MAP channel on Youtube for video tutorials

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.

More on Conversion:

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 IGISMAP Converter tool.

IGISMAP to Convert KML to Shapefile

For KML to Shapefile conversion go to IGIS Map 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 KMZ to CSV

Do you want to read and write your GIS data easily in excel sheets? Have you extracted and downloaded kml file from Google Earth or Google map and want to Edit or read your data normally in CSV format?. So today  we are discussing on how to convert KMZ to CSV.

KMZ is a zipped file containing one or compressed KML files. It is a file format used to display geographic data in Google Earth and Google Maps and CSV is a simple file format used to store tabular data, such as a spreadsheet or database. Files in the CSV format can be imported to and exported from programs that store data in tables, such as Microsoft Excel or OpenOffice Calc.  Converting GIS data file from KMZ to CSV format  is just  a few click process with Info GIS Map Converter Online.

IGISMAP to Convert KMZ to CSV

For KMZ to CSV conversion go to IGIS Map 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.

Converter Tool - Upload KMZ
Upload KMZ

Here we are uploading the KMZ file of the point vector file of the airports in India.

Step two is to select choose the output format of the converted file, in this case its CSV. 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 - CSV as Output Format
Select CSV as Output Format

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

Download and Publish CSV File
Download and Publish CSV File

The output CSV file is generated with location information represented in WKT format under the field ‘WKT’ as shown in the following image.

Converter Tool - Output CSV File
Output CSV 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. You can also share the map on social media and you are able to embed on your website very easily.

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.

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? We are going to use a simple method through online conversion using IGIS Map Converter.

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.

IGISMAP Converter Tool

IGIS Map converter is an incredible tool for data file conversions. 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.

IGIS Map Converter also supports more other vectors and rasters 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.

IGISMAP to Convert KML to GeoJSON

Go to IGIS Map 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 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.

Converter Tool - GeoJSON as Output Format
Select GeoJSON as Output Format

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

Download and Publish GeoJSON File
Download and Publish 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.

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.

Info GIS Map 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.

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.

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.

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 IGIS Map 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.

Converter Tool - Upload KMZ
Upload KMZ

Here we are uploading the KMZ file of the point vector file of the airports in India.

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.

Converter Tool - KML as Output Format
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.

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.

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. IGIS Map Converter.

IGIS Map 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.

IGISMAP to Convert KML to DXF

Go to IGIS Map 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.

Info GIS Map 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.

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.

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 IGIS Map 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 IGIS MAP 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