Yesterday’s post dealt with converting point shapefiles to a text format compatible with spreadsheets. Today’s post handles the opposite - converting spreadsheet data to point shapefile format.
First step is to prepare the spreadsheet data. The first row should contain the field name for the data columns, and it’s best to modify the field name into a DBF-friendly format before conversion. That means no more than 10 characters in the field name, capital letters only, with no spaces. You should also remove commas, since the converter will read in the data in comma-separated value (CSV) format, and extra commas can throw it off. And, of course, you’ll need two columns with the coordinate data, in any coordinate system. Save the data from your spreadsheet program in CSV format.
MapWindow GIS comes with a plug-in that converts CSV files into point shapefiles. Coordinate data is used to create the point vertexes, while any additional data can be converted into an associated DBF attribute table. Look for a “Converters” menu on the top toolbar; if it’s not present, you’ll have to enable the “CSV to Shapefile converter” plug-in in the “Plug-ins” menu. Start up the converter, select the input CSV file you want to convert, and also select the comma as the field delimiter. Oddly enough, even though this is labeled a “CSV to Shapefile converter”, it will accept other characters as text delimiters as well, and the comma is not the default. Click on “Open File”, and specify the X and Y coordinate fields (Z and M are optional):
Checkboxes at the bottom allow the options of adding coordinate columns to the attribute table, converting all the other fields in the CSV file into shapefile attributes, and loading the generated shapefile into the MapWindow display. Click on Convert, specify the name and location for the shapefile to be created, and MapWindow will do the rest. Here’s the resulting map for a CSV file of US cities converted into a point shapefile:
Other posts in the GIS Tools series
- Converting E00 Vector Data To Shapefiles - A Free And Fairly Painless Approach
- Simplifying Line And Polygon Shapefiles
- Converting US Census TIGER Data Into Shapefiles For Free
- Converting Shapefiles and ArcINFO Coverages To AutoCAD DXF Format
- Converting Point Shapefiles To Text/Spreadsheet Format
- Converting Text/Spreadsheet Files To Point Shapefile Format
- An Easier Way To Convert Shapefiles to Text/Spreadsheet Format
- Converting Text/Spreadsheet Data To Line/Area Shapefiles
- Full Resolution Raster Map Combining, Subsetting And Export With The TatukGIS Viewer
- Viewing Vector Data In The TatukGIS Viewer
- The LizardTech Stand-Alone MRSID Viewer
- Converting Raster Area Images Into Polygon Shapefiles
- SAGA GIS 2.0 Released
- ILWIS GIS Is Now Open Source
- AVHRR Analysis Add-On For ILWIS
- Advanced Image Mosaicking With Regeemy
- A Free GIS Viewer (And Cheap GIS Editor) For Windows Mobile Systems
- Updates For MapWindow And Saga GIS Programs
- Updates For Two Open-Source GIS Programs
- Putting Together A Basic Linux GIS Workstation
- Free Online Courses For Open Source GIS
- GIS-Oriented Linux Distributions
- Tabular Terrain Elevation Data
- Quick Data Gridding With QuikGrid
- A Good Introduction To Geospatial Data Analysis
- Converting Digital Elevation Models To Shapefile/DXF Contours
- Fixing "Broken" Shapefiles
- A Simple DBF Editor
- Two Online Vector GIS/GPS/KML Conversion Utilities
- Another Shapefile Repair Tool
- Quantum GIS (qGIS) Version 0.10 Released
- Online Raster Map Georeferencing/Registration With Map Rectifier
- Using The Demo Version Of Global Mapper As A Raster/Vector Data Viewer
- New Stable Release Of MapWindow GIS
- The Big List Of Free Metadata Software I
- The Big List Of Free Metadata Software II
- GIS On A Stick
- ILWIS 3.5 Released




0 Responses to “Converting Text/Spreadsheet Files To Point Shapefile Format”