Simple Reader Example

The example below configures an SDE reader to extract features from the dataset testdset located on server tuvok. Only features located on the table named roads, that fall within the specified envelope and have an attribute NUMLANES with a value of 2 and an attribute SURFACE with a value of GRAVEL, are read from the SDE.

SDE30_DATASET testdset
SDE30_Server tuvok
SDE30_Where “NUMLANES=2 AND SURFACE=’GRAVEL’”
SDE30_USERID joe
SDE30_PASSWORD bounce
SDE30_INSTANCE esri_sde
SDE30_VERSION_NAME joe-version
SDE30_SEARCH_ENVELOPE 601190 543783 611110 5447549
SDE30_IDs roads 
SDE30_SEARCH_METHOD SDE_AREA_INTERSECT