Difference between revisions of "Import Geospatial Data from Shapefile"

From IMSMA Wiki
Jump to: navigation, search
Line 15: Line 15:
 
{{note|If the selected coordinate reference system at the Point and Polygon/Polyline List window is different from the coordinate reference system specified in the .prj file, the coordinate data will be re-projected to the selected coordinate system specified at the Point and Polygon/Polyline List window.}}
 
{{note|If the selected coordinate reference system at the Point and Polygon/Polyline List window is different from the coordinate reference system specified in the .prj file, the coordinate data will be re-projected to the selected coordinate system specified at the Point and Polygon/Polyline List window.}}
  
===Shapefile Import Business Rules===__NOEDITSECTION__
+
<br />
 +
==Shapefile Import Business Rules==__NOEDITSECTION__
 +
===Point Shapefile Import Business Rules===__NOEDITSECTION__
  
<p>To import geospatial data from a shapefile, the file must be created according to the following business rules:</p>
+
<p>To import geospatial data from a point shapefile, the file must be created according to the following business rules:</p>
 
<ol>
 
<ol>
<li></li>
+
<li>A PointID value is a mandatory field and should be provided for each point and be unique across all coordinate data listed in the Points table. It should be of '''Short Integer''' type.</li>
<li>If a PointID value is not provided in the shapefile, each coordinate data will be automatically assigned a unique PointID value.</li>
+
<li>A PointType is a mandatory field and should be provided for each point. It must correspond to the Geospatial Point types list defined by IMSMA. The field should have '''Text''' type.</li></ol>
<li>If a PointID is provided in the shapefile, it must be unique across all coordinate data listed in the Points table and in the Polygon/Polyline Points table on the Point and Polygon/Polyline List window.</li>
+
 
<li>If the coordinate data is a point on a polygon/polyline, a unique PolyID value must be provided.</li>
+
===Polygon Shapefile Import Business Rules===__NOEDITSECTION__
<li>The PolyID value must be unique across all polygons/polylines data listed in the Points table and Polygon/Polyline Points table on the Point and Polygon/Polyline List window.</li>
+
 
</ol>
 
  
 
{{NavBox HowTo Enter Data}}
 
{{NavBox HowTo Enter Data}}

Revision as of 11:55, 21 October 2013

To import geospatial data from the shapefile (.shp format):

  1. Click the Import Points button. The Open window displays
  2. From the Open window:
    1. Navigate to the directory where the file that you would like to import is located
    2. Select the file (.shp format)
    3. Double click on the file name or click the Open button


The geospatial data from the spreadsheet is appended to any existing data in the Points or Polygons table.

Note.jpg Import Point button works to import point and polygon shapefiles. Point shapefile will be imported into Points table, Polygon and Polyline shapefiles - into Polygon and Polyline Points table but will be splitted into points list that compose this polyline or polygon.
Note.jpg If the selected coordinate reference system at the Point and Polygon/Polyline List window is different from the coordinate reference system specified in the .prj file, the coordinate data will be re-projected to the selected coordinate system specified at the Point and Polygon/Polyline List window.


Shapefile Import Business Rules

Point Shapefile Import Business Rules

To import geospatial data from a point shapefile, the file must be created according to the following business rules:

  1. A PointID value is a mandatory field and should be provided for each point and be unique across all coordinate data listed in the Points table. It should be of Short Integer type.
  2. A PointType is a mandatory field and should be provided for each point. It must correspond to the Geospatial Point types list defined by IMSMA. The field should have Text type.

Polygon Shapefile Import Business Rules