I figured out if I use the @Split I can get the string seperated. I
now am getting a message IGDS Multi Text feature had no text
strings! -- only a text node will be output in my log file. I've
included the @Split function, as well as the FME code, and the
contents of the log file. Can someone tell me what I'm missing?
Thanks
Bonita
FACTORY_DEF * TeeFactory
\
FACTORY_NAME slop_text_splitter
\
INPUT FEATURE_TYPE street_light_only_pole_in_service_anno
\
sworld_type sworld_text \
OUTPUT FEATURE_TYPE street_light_only_pole_multi_line
\
@Split(&sworld_text_string,\n,slop1,slop2,slop3) \
@Log(street_light_only_pole_multi_line,4,2)
SWORLD street_light_only_pole_multi_line \
sworld_geom_type sworld_text \
slop1 %slop1 \
slop2 %slop2
\
sworld_orientation %sworld_orientation
IGDS 12 \
igds_type igds_multi_text \
igds_node_number 1
\
igds_text_size $(ST_LT_ONLY_POLE_TEXT_SIZE) \
igds_text_width_multiplier $(ST_LT_ONLY_POLE_TEXT_WIDE) \
igds_rotation %sworld_orientation \
igds_font $(ST_LT_ONLY_POLE_TEXT_FONT) \
igds_justification 1 \
igds_text_elements{0}.igds_text_size
$(ST_LT_ONLY_POLE_TEXT_SIZE) \
igds_text_elements{0}.igds_text_width_multiplier
$(ST_LT_ONLY_POLE_TEXT_WIDE) \
igds_text_elements(0).igds_font
$(ST_LT_ONLY_POLE_TEXT_FONT)\
igds_text_elements{0}.igds_rotation %
sworld_orientation \
igds_text_elements{0}.igds_color 0\
igds_text_elements{0}.igds_text_string %slop1 \
igds_text_elements{1}.igds_text_string %slop2 \
igds_color 0 \
igds_weight 1 \
igds_style 0
2005-04-28 16:56:34| 3.6|
0.0|INFORM|===========================================================
================
2005-04-28 16:56:34| 3.6|
0.0|INFORM|street_light_only_pole_multi_line
2005-04-28 16:56:34| 3.6|
0.0|INFORM|+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Feature Type:
`street_light_only_pole_multi_line'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`bge_maintenance?' has value `Unknown'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`capitalized_by' has value `BGE'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`center_bore?' has value `Conversion'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `class'
has value `4'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`created_date' has value `20021122'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`created_date.full' has value `20021122120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`created_date.orig' has value `20021122120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`current_class' has value `4'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`descriptive_address' has value `71340248'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`descriptive_address_id' has value `71340248'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`elec_right_of_ways' has value `0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`electric_supply' has value `Unknown'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`fme_factory_trace' has value `f_0(SmallworldGeometryFactory):f_2
(SamplingFactory):slop_text_splitter(TeeFactory)'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`fme_geometry' has value `fme_point'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `grid' has
value `3141130'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `height'
has value `30'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `hinged?'
has value `No'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `id' has
value `3751761'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`installation_date' has value `19700224'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`installation_date.full' has value `19700224120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`installation_date.orig' has value `19700224120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`installation_work_order_number' has value `unknown'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`life_cycle_status' has value `In-Service'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`manufactured_date' has value `19690101'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`manufactured_date.full' has value `19690101120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`manufactured_date.orig' has value `19690101120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`manufacturer' has value `TPC'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`manufacturer_plant' has value `S'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `material'
has value `Wood'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`original_capitalization_date' has value `19700224'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`original_capitalization_date.full' has value `19700224120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`original_capitalization_date.orig' has value `19700224120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`original_treatment_code' has value `C'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`outdoor_light_relays' has value `0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`ownership_code' has value `9-Company or Other Utility Owned OH Line
Pole'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`paved_label' has value `E'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`pole_attchmnts' has value `71340250,71340251'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`pole_attchmnts{0}' has value `71340250'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`pole_attchmnts{1}' has value `71340251'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`pole_comments' has value `0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`pole_number' has value `471431'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`property_code' has value `Unknown'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`reinforcement' has value `unset'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`reinforcement_type' has value `unset'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`removal_date' has value `10010101'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`removal_date.full' has value `10010101120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`removal_date.orig' has value `10010101120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`removal_work_order_number' has value `'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`retention' has value `unset'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `slop1'
has value `471431'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `slop2'
has value `OTH'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`species_code' has value `Southern Pine'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geom_type' has value `sworld_text'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_geom_type' has value `sworld_text'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_horiz_just' has value `1'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_name' has value `in_service_anno'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_orientation' has value `-11.2900'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_scale' has value `1.00000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_text_height' has value `9.84252'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_text_string' has value `471431
OTH'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_type' has value `sworld_text'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{0}.sworld_vert_just' has value `2'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{1}.sworld_horiz_just' has value `1'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{1}.sworld_orientation' has value `-11.2900'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{1}.sworld_text_height' has value `9.84252'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{1}.sworld_text_string' has value `471431
OTH'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{1}.sworld_type' has value `sworld_text'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_geometry{1}.sworld_vert_just' has value `2'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_horiz_just' has value `1'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_name' has value `in_service_anno'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_orientation' has value `-11.2900'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_table_name' has value `street_light_only_pole'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_text_height' has value `9.84252'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_text_string' has value `471431
OTH'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_transaction' has value `insert'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_type' has value `sworld_text'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`sworld_vert_just' has value `2'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`updated_date' has value `20050422'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`updated_date.full' has value `20050422120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`updated_date.orig' has value `20050422120000'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `xy' has
value `3607510'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string): `xy_id'
has value `3607510'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Geometry Type: Point (1)
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Number of Coordinates: 1 --
Coordinate Dimension: 2 -- Coordinate System: `'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|
(1363480.54111018,520454.897545817)
2005-04-28 16:56:34| 3.6|
0.0|INFORM|===========================================================
================
2005-04-28 16:56:34| 3.6| 0.0|WARN |DEBUG_TransSpec: Attributes
not available for transfer from instance of
`street_light_only_pole_multi_line': slop1(%slop1) slop2(%slop2)
sworld_orientation(%sworld_orientation)
2005-04-28 16:56:34| 3.6| 0.0|WARN |DEBUG_TransSpec: Attributes
IGNORED for featuretype `street_light_only_pole_multi_line':
sworld_text_string(471431
OTH) property_code(Unknown) hinged?(No) updated_date(20050422)
capitalized_by(BGE) removal_date.orig(10010101120000)
installation_date.orig(19700224120000) sworld_geometry{0}.sworld_type
(sworld_text) original_capitalization_date.orig(19700224120000)
created_date.orig(20021122120000) sworld_name(in_service_anno)
descriptive_address_id(71340248) installation_date.full
(19700224120000) electric_supply(Unknown) manufactured_date.full
(19690101120000) outdoor_light_relays(0) material(Wood) grid(3141130)
xy(3607510) installation_date(19700224) retention(unset)
life_cycle_status(In-Service) installation_work_order_number(unknown)
pole_number(471431) pole_attchmnts{1}(71340251) sworld_geometry
{1}.sworld_text_string(471431
OTH) sworld_geometry{0}.sworld_scale(1.00000) pole_attchmnts
(71340250,71340251) manufacturer(TPC) manufacturer_plant(S)
sworld_geometry{0}.sworld_geom_type(sworld_text) sworld_geometry
{0}.sworld_text_string(471431
OTH) sworld_geometry{0}.sworld_name(in_service_anno) pole_comments(0)
reinforcement(unset) fme_factory_trace(f_0
(SmallworldGeometryFactory):f_2(SamplingFactory):slop_text_splitter
(TeeFactory)) species_code(Southern Pine) id(3751761)
sworld_transaction(insert) sworld_geometry{1}.sworld_vert_just(2)
elec_right_of_ways(0) removal_date(10010101) created_date.full
(20021122120000) original_treatment_code(C) updated_date.orig
(20050422120000) paved_label(E) sworld_horiz_just(1) sworld_geometry
{0}.sworld_vert_just(2) original_capitalization_date(19700224)
manufactured_date(19690101) center_bore?(Conversion) created_date
(20021122) sworld_geometry{1}.sworld_orientation(-11.2900)
sworld_geometry{0}.sworld_orientation(-11.2900) sworld_table_name
(street_light_only_pole) ownership_code(9-Company or Other Utility
Owned OH Line Pole) class(4) descriptive_address(71340248) xy_id
(3607510) original_capitalization_date.full(19700224120000)
manufactured_date.orig(19690101120000) bge_maintenance?(Unknown)
fme_geometry(fme_point) pole_attchmnts{0}(71340250) sworld_type
(sworld_text) sworld_geometry{1}.sworld_horiz_just(1)
removal_work_order_number() height(30) sworld_geometry
{0}.sworld_horiz_just(1) sworld_vert_just(2) reinforcement_type
(unset) updated_date.full(20050422120000) sworld_geom_type
(sworld_text) current_class(4) sworld_text_height(9.84252)
sworld_geometry{1}.sworld_text_height(9.84252) removal_date.full
(10010101120000) sworld_geometry{0}.sworld_text_height(9.84252)
sworld_geometry{1}.sworld_type(sworld_text)
2005-04-28 16:56:34| 3.6| 0.0|WARN |IGDS Multi Text feature had
no text strings! -- only a text node will be output
2005-04-28 16:56:34| 3.6|
0.0|INFORM|+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Feature Type: `12'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_color' has value `0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_font' has value `3'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_justification' has value `1'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_node_number' has value `1'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_rotation' has value `-11.2900'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_style' has value `0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements(0).igds_font' has value `3'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements{0}.igds_color' has value `0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements{0}.igds_rotation' has value `-11.2900'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements{0}.igds_text_size' has value `13.5'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements{0}.igds_text_string' has value `471431'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements{0}.igds_text_width_multiplier' has value `4.0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_elements{1}.igds_text_string' has value `OTH'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_size' has value `13.5'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_text_width_multiplier' has value `4.0'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_type' has value `igds_text_node'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute(string):
`igds_weight' has value `1'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute: `igds_text_elements
{0}.igds_text_size' is sequenced
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute: `igds_text_elements
{0}.igds_text_width_multiplier' is sequenced
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute: `igds_text_elements
{0}.igds_color' is sequenced
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute: `igds_text_elements
{0}.igds_rotation' is sequenced
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute: `igds_text_elements
{0}.igds_text_string' is sequenced
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Attribute: `igds_text_elements
{1}.igds_text_string' is sequenced
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Geometry Type: Point (1)
2005-04-28 16:56:34| 3.6| 0.0|INFORM|Number of Coordinates: 1 --
Coordinate Dimension: 2 -- Coordinate System: `'
2005-04-28 16:56:34| 3.6| 0.0|INFORM|
(1363480.54111018,520454.897545817)
2005-04-28 16:56:34| 3.6|
0.0|INFORM|===========================================================
================
Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our
Professional Services team. Visit www.safe.com/services for details.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/