Revision 28375 branches/v2_0_0_prep/libraries/libGeocoding/src-test/org/gvsig/geocoding/massive/TestMassiveGeocoding.java

View differences:

TestMassiveGeocoding.java
343 343
			AbstractGeocodingStyle style = new SimpleCentroid();
344 344
			FeatureType ftype = streetsStore.getDefaultFeatureType();
345 345
			Literal relations = new DefaultLiteral();
346
			relations.add(new DefaultRelationsComponent("Calle", ftype
347
					.getAttributeDescriptor("STREET_NAM")));
346
			relations.add(new DefaultRelationsComponent("Calle","STREET_NAM"));
348 347

  
349 348
			style.setRelationsLiteral(relations);
350 349
			source.setStyle(style);

Also available in: Unified diff