Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a contour shape file with different FTypes (FTYPE_CODE) data type is text my task is to load this contours shape file into a GDB Feature class (Contour50K) with different sub types (FeatureCode).

I just started to explore FME by downloading the trial version.

Kindly help.

Regards,

Kiran

share|improve this question

2 Answers 2

You need first to relate your FTYPE_Code to a field (in your shape file) with long integer. (read esri help)
A couple of methods are to use a "distinct" or run dissolve on the ftype_code field and you will end up with a table of codes and values (your former ftype_code field).
table

Create your new feature class and associate the subtype (key in all subtype values) Then I would use the esri simple loader found on the right click of your feature class.

  1. create a new field for your subtype code of type long integer.
  2. create your feature class (use your shape file to import the schema).

import schema

  1. use the properties of your gdb to create the subtype.(right click)

Use this tutorial to complete this step.
create subtype

use the simple data loader... (right click your feature class to start)

simple data loader

Now that your gdb schema is ready you can load your shape file.

Now choose to load your features into a subtype.

subtype
(Note: you will need to load each subtype one at a time).
You will do that with the query builder in the last stage of simple loader.
query builder

When you understand all this you can probably script all this in modelbuilder.

share|improve this answer
    
Thanks Brad for the reply but i wanted to work it out in FME the same process. –  Kiran Burra May 23 '12 at 5:18
    
Please help me in sending me some example fmw to load a shape file with diff. feature types into a GDB feature class with diff. subtypes. URGENT!!! –  Kiran Burra May 23 '12 at 5:48
    
You should specify such requirements clearly in your question so that such considerable effort (a great answer btw) is not spent on an answer you cannot use. –  blah238 May 23 '12 at 23:20
    
My sincere apologies for that..Please help me :) –  Kiran Burra May 28 '12 at 3:13
    
If you want to accomplish this in FME. It will still have to adhere to esri data rules. I suggest attempting in esri so you know the in and outs that you could then apply to FME. –  Brad Nesom May 29 '12 at 13:14

This FMEpedia article should get you going in the right direction:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.