GME

Geospatial Modelling Environment

copyfeaturedataset

Copies features from one data source to a new data source

Description

This command copies the features in the input data source to the specified output data source, retaining all attribute information in the table. This provides an easy way of loading shapefile data into geodatabases, making backup copies of datasets, and, if the 'where' clause is used, writing subsets of data to different output data sources. It could also be used to merge different data sources. If the output data source does not exist, it is created (this is the intended primary use of the tool). If the output data source exists the tool will attempt to load the features and tabular data into this existing data source.

The 'where' clause allows you to process a subset of features. It is highly recommended that you learn about the 'where' clause as it is one of the more powerful aspects of GME. See the 'Strategic commands' section and the 'where' section for further details.

Syntax

copyfeaturedataset(in, out, [where]);

inthe input feature data source
outthe output feature data source
[where]the selection statement that will be applied to the feature data source to identify a subset of features to process (see full Help documentation for further details)

Example

copyfeaturedataset(in="C:\data\counties.shp", out="C:\bkup\counties.shp");

copyfeaturedataset(in="C:\data\homeranges.shp", pnt="C:\data\female_homeranges.shp", where="SEX='F'");


Messages

Please consider making a purchase to support the continued development of these tools  Read more...

An apology for failing to respond to correspondence in recent months  Read more...

Tips on how to use this interface efficiently  Read more...

Sign up for the newsletter if you wish to receive notification of updates, new functionality, bug fixes, and other related news

Links

Open Source GIS

Copyright © 2001-2010 Hawthorne L. Beyer, Spatial Ecology LLC