File Exchange > Import and Export >    Import Shapefile

Author:
OriginLab Technical Support
Date Added:
1/12/2016
Last Update:
10/25/2024
Downloads (90 Days):
795
Total Ratings:
12
File Size:
3685 KB
Average Rating:
File Name:
Import Shapefile.opx
File Version:
1.91
Minimum Versions:
License:
Free
Type:
App
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:

  • Feature Names: The graph objects created from the shp will be named after the field values from the dbf according to the selected one.
  • 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:
      • If import the sharp file to the active graph window and check this option, the graph axis will be rescaled according to the shapefile. If uncheck it, the active graph axis scale will not be changed.  
      • If import the sharp file to a new graph window, this option will not affect the axis scale of the new graph.
  •  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.
  • ROI on Matrix: features will be added to the matrix as graph objects.

 

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:

v1.91: 10/25/2024 Updated app icon for dark mode.
v 1.9: Update sample data.
v 1.8: Create ROI on matrix (image view); Set names of graph objects by attributes (from dbf)
v 1.5: Update sample map.
v 1.4: Support unicode in file path.
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:
10/20/2021OriginLabHi iangyi zhou,

We always provide the latest version. Please upgrade your Origin to use this App.

10/14/2021zhouliangyihi guys,where to download older version?e.g. v1.8, v1.9 require minimum origin version 2021b

10/14/2021zhouliangyihi guys,where to download older version?e.g. v1.8, v1.9 require minimum origin version 2021b

10/14/2021zhouliangyihi guys,where to download older version?e.g. v1.8, v1.9 require minimum origin version 2021b

09/04/2021xiayingtongGreat!

07/30/2021moranjinniangreat

03/30/2021minhhieu8973good

11/30/2020dj040827i want to learn more

04/05/2020satish.manjarenice

01/09/2019xiaolong zhang 

12