Content overview


MyGeodata Converter - format converting, coordinate system transformation, data processing

Keywords: CAD, GIS, spatial data, coordinate system, converter, format, Esri Shapefile, SHP, DGN, GML, KML, GPX, CSV, GeoJSON, Arc/Info, MIF, TAB, TIF, GeoTIFF, WGS-84, UTM

General information: MyGeodata Converter allows you to read and write from/to a huge number of CAD and GIS formats - both vector and raster. MyGeodata Converter is more than only simply data converter! In contrast to common format convertion MyGeodata Converter allows sofisticated data processing during conversion. MyGeodata Converter also can be used as a powerful tool for collective data and attributes processing.

Solution: Use on-line MyGeodata Converter available HERE. Just pack all filles belonging to one or more datasets to a single ZIP file and follow instructions...

How-to convert MapInfo Interchange Format data (MIF/MID/TAB) to different formats

Keywords: MapInfo Interchange Format, MID, MIF, TAB, MIF2KML, MID2KML, TAB2KML

General information: MapInfo Interchange Format is a map and database exporting file format of MapInfo software product. The MIF-file filename usually ends with .mif-suffix. Some MIF-files also have a related MID-file. The filename of a MID-file usually ends with .mid-suffix.

Solution: One of possible way how-to convert data from that format to any other GIS/CAD format (Esri ShapeFile, KML, KMZ, TXT, CSV, DGN, ...) is to use on-line MyGeodata Converter available HERE. Just pack all filles belonging to one or more datasets to a single ZIP file and follow instructions...

How-to convert NMEA file from GPS log file to a KML file (Google Earth)

Keywords: GPS, NMEA, KML, Google Earth, NMEA2KML, NMEA to KML

General information: Keyhole Markup Language (KML) is an XML-based language schema for expressing geographic annotation and visualization on existing or future Internet-based, two-dimensional maps and three-dimensional Earth browsers. KML was developed for use with Google Earth, which was originally named Keyhole Earth Viewer.

NMEA is a protocol used for logging GPS coordinates to a TXT file. There you can find lines beginning with especialy GPGGA keywords - each that line presents one coordinate recorded by GPS. For more informations about NMEA protocol see NMEA specification.

Solution: You can use on-line NMEA to KML converter available HERE. You can upload a file containing GPS coordinates in the NMEA format, and the converter will return a KML file. All datapoints are displayed in a line to allow exact tracking of your route, and at adjustable intervals the route is marked by placemarks which display speed (in km/h), height and time (GPS-Time). The number of placemarks can be influenced by the minimum distance and minimum time difference. If you wissh to convert the resulting KML file to any other CAD/GIS formats (GPX, Esri Shapefile, DGN, ...), try to use on-line MyGeodata Converter available HERE.

How-to create a various formats GIS/CAD file from TXT, CSV or XLS file

Keywords: TXT, CSV, XLS, CAD, GIS, Latitude, Longitude, TXT2KML, TXT to KML, TXT2GML, TXT to GML, TXT2GPX, TXT to GPX, TXT2SHP, TXT to SHP, TXT2TAB, TXT to TAB, XLS2KML, XLS to KML, XLS2GML, XLS to GML, XLS2GPX, XLS to GPX, XLS2SHP, XLS to SHP, XLS2TAB, XLS to TAB, CSV2KML, CSV to KML, CSV2GML, CSV to GML, CSV2GPX, CSV to GPX, CSV2SHP, CSV to SHP, CSV2TAB, CSV to TAB

Solution:

If you have a XLS file, you have export it to a CSV file (Coma Separated Values file). This is possible both in MS Office Excel and Open Office Calc.

If you have a simple TXT file, you have to convert it to a CSV file. This is possible by importing the TXT file to a MS Office Excel or Open Office Calc. Then export the data sheet to a CSV file.

The first line in the CSV file must contain attribute names, every other line contains single entries. Values in the CSV file must be separated by a comma, decimals must be separated by a decimal point. Text values should be quoted. Here you can see examples for a CSV file with point values and a CSV file with a lines:

A point CSV file:

            id,name,x_coord,y_coord
            1,"Point, #1",25.3,36.5
            2,"Point #2",23.5,36.1
            ...
            

A line CSV file (coordinates defined as WKB):

            id,name,geom
            1,"Line #1","LINESTRING(23.5 12.6,23.1 12.7,24 12.9)"
            2,"Line #2","LINESTRING(19.6 6,15.1 6.5)"
            ...
            

Then you have to create an OGR Virtual Format file (OVF) - this is an XML control file. It is primarily used to derive spatial layers from flat tables with spatial information in attribute columns. It can also be used to associate coordinate system information with a datasource, merge layers from different datasources into a single data source, or even just to provide an anchor file for access to non-file oriented datasources. In the OVF file you have to specify at least:

  • the layer name (that must be the same as the CSV file name without an extension) - e.g. MyMeasure,
  • CSV file name - e.g. MyMeasure.csv,
  • the geometry type to be assigned to the layer - usualy "wkbPoint", but you can also create "wkbLineString" or "wkbPolygon",
  • how the geometry for features should be derived - usualy "PointFromColumns", but also is possible "WKT" (Well-Known Text) or "WKB" (Well-Known Binary)
  • optionaly a spatial reference system - e.g. "WGS84".
This is an examples of OVF file for a CSV file with point values:

            <OGRVRTDataSource>     
              <OGRVRTLayer name="MyMeasure">  
                <SrcDataSource>MyMeasure.csv</SrcDataSource>  
                <GeometryType>wkbPoint</GeometryType>  
                <GeometryField encoding="PointFromColumns" x="x_coord" y="y_coord"/>   
              </OGRVRTLayer>  
            </OGRVRTDataSource>
            

This is an examples of OVF file for a CSV file with lines defined as Well-Know Text:

            <OGRVRTDataSource>     
              <OGRVRTLayer name="MyTrail">  
                <SrcDataSource>MyTrail.csv</SrcDataSource>  
                <GeometryType>wkbLineString</GeometryType>  
                <LayerSRS>WGS84</LayerSRS>  
                <GeometryField encoding="WKT" field="geom"/>   
              </OGRVRTLayer>  
            </OGRVRTDataSource>
            

See more information about OVF file format HERE.

Give the same name to a OVF file as for the CSV file - e.g. MyMeasure.csv and MyMeasure.ovf. When you have the CSV file and OVF file prepared, pack them together to a ZIP file and send the ZIP to a MyGeodata Converter available HERE. There you will see information about your dataset and you will have possibility to convert it to many others GIS/CAD formats and/or transform to a different coordinate system.

Good luck!





© All rights reserved