Skip to main content
Question

Feature Class extraction

  • February 5, 2013
  • 2 replies
  • 60 views

Forum|alt.badge.img

 

Does anybody know how to extract information from one feature class and output as a new Feature Class ?

 

(I am pulling from an SQL database for GeoMedia to place into a GeoMedia access database)

 

 

Example: I have a Water network (feature class) with two attributes with the following options

 

 

Status: conceptual, proposed, in service

 

and

 

Owner: City, Other

 

 

I want to extract all the IN SERVICE pipes that are of type CITY.  Does anybody know the write transformer that would produce these results?

 

 

 

 
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • February 5, 2013
Hi

 

There are two ways to do this:

 

 

1) When adding the GeoMedia SQL Server reader, click on the parameters button and set a where clause (eg where status="IN SERVICE" and owner="CITY")

 

 

2) Don't set a where clause but use the Tester or TestFilter transformer to carry out this.

 

 

#1 is better because it means you are reading less data into your workspace. #2 means you are reading everything first and then filtering it.

 

 

Hope this helps

 

 

Regards

 

 

Mark

 

 

Mark Ireland

 

Product Evangelist, Safe Software Inc.

sam
Participant
Forum|alt.badge.img
  • Participant
  • February 9, 2013
The best option is to filter  records in the where clause itself as Mark suggested, else

 

You can also use attributefilter based on status first and then owner type

 

 

sam