File Exchange > ImportAndExport >    Import Shapefile

Author:
OriginLab Technical Support
Date Added:
1/12/2016
Downloads (90 Days):
237
Last Update:
8/29/2017
Total Ratings:
2
File Size:
13433 KB
Average Rating:
File Name:
Import Shapefile.opx
File Version:
1.3
Minimum Versions:
2017 SR2
License:
Free
Summary:

Generate maps in Origin from Shapefile data.

Screen Shot and Video:
Description:

This app draws 2D objects from ESRI Shapefiles. Optionally, this data can be saved into a worksheet. These 2D objects include-

  1. points, which usually represent site locations;
  2. lines, which usually represent rivers, roads, and utilities;
  3. polygons, which usually represent geographic and political boundaries.

Points are generated as a regular scatter plot, while line shapes and polygons are rendered as graph objects. It's possible to select and modify the line and fill properties of each shape provided that the partial modification option is turned on while importing this data. We recommend turning off the partial modification option when there are too many features, as these may slow down the process depending on your machine's performance.

Installation
Download the file Import Shapefile.opx, and then drap-and-drop it onto the Origin workspace. An icon will appear in the Apps Gallery window.

NOTE: This tool requires Origin version 2017SR2 or later. If you have Origin2017Sr0 or Origin2017Sr1, please select Help: Check for Updates from Origin menu to first update Origin.

Operation

  1. Click the Import Shapefile icon and select a shapefile (*.shp) to open.
  2. Change display options as necessary. Click the Preview button or enable Auto Preview to check the result.
  3. Click OK button to create a map.

Dialog Control:

  • Display Option:
    • Link Axis Length to Scale(isometric): Specify the Link Axis Length to Scale with X:Y Ratio=1 for shapefile layer. The option is selected by default.
    • Rescale Source by Shapefile: Select this checkbox to use the shapefile scale for axis.
  •  Allow Partial Modification: Specify the shapefile polygons import as multiple object or single object. After importing, you can check the result In the Object Manager window. There are three options:
    • Auto: Origin will check the number of the shapefile polygons. If shapefile polygons > @shpdl (@shpdl is a System Variable, by default to 30K), it will be imported as a single object.
    • Yes: Import the shapefile polygons as as a single object.
    • No: Import the shapefile polygons as multiple objects.
  • Output Data Points: Output the graph data points to workbook.

 

Shapefile Resources

  1. DIVA-GIS. Global data as well as Shapefiles covering many countries.
  2. OpenStreetMap. A wiki-based resource for geospatial data.
  3. US Census Bureau Data.
  4. The National Map Small-Scale Collection. USGS geospatial data for specific regions in the United States.
  5. Nation Weather Service - AWIPS Shapefile Database. Shapefiles from NOAA's Advanced Weather Interactive Processing System.

Examples:

  1. Shapes in a 2D graph
  2. Shapes in a 3D graph

Updates:

v 1.3: Support date type and basic numeric types from *.dbf.
v 1.2: Add sample data to the package.
v 1.1: Load information from PRJ and DBF when available.

Reviews and Comments:
05/27/2017luocaiwei1212test

02/17/2017rodriguesfhsUnable to use on Origin 9.1, any alternative?