Revision 28176

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java
1303 1303
    			}
1304 1304
    		}
1305 1305

  
1306
    		// compatibility with hyperlink from 1.9 alpha version... do we really need to be compatible with alpha versions?? 
1306
    		// compatibility with hyperlink from 1.9 alpha version... do we really need to be compatible with alpha versions??
1307 1307
    		XMLEntity xmlLinkProperties=xml.firstChild("typeChild", "linkProperties");
1308 1308
    		if (xmlLinkProperties != null){
1309 1309
    			try {
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/featureiterators/AttrQueryFeatureIterator.java
75 75
 * SQL syntax is very extrict, GDBMS based.
76 76
 * (for example, % character is not allowed to build strings expressions,
77 77
 * all SQL statement must end with ;, etc)
78
 * 
79
 * 
80
 * 
81
 * 
78
 *
79
 *
80
 *
81
 *
82 82
 * @author azabala
83 83
 *
84 84
 */
......
87 87
	private String sqlQuery;
88 88
	private long[] indexes;
89 89

  
90
	public AttrQueryFeatureIterator(ReadableVectorial source, 
91
			IProjection sourceProj, 
92
			IProjection targetProj, 
90
	public AttrQueryFeatureIterator(ReadableVectorial source,
91
			IProjection sourceProj,
92
			IProjection targetProj,
93 93
			String sqlQuery) throws ReadDriverException {
94
		super(source);
94
		super(source,sourceProj,targetProj,source.getRecordset().getFieldNames());
95 95
		this.sqlQuery = sqlQuery;
96 96

  
97 97
		try {
......
158 158
			reprojectIfNecessary(geom);
159 159
		} catch (ExpansionFileReadException e) {
160 160
			throw new ReadDriverException("Error accediendo al driver", e);
161
		} 
161
		}
162 162

  
163 163
		Value[] regAtt = getValues((int)indexes[currentFeature]);
164 164
		DefaultFeature feat = new DefaultFeature(geom, regAtt, (int)indexes[currentFeature] + "");
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/styling/labeling/DefaultLabelingMethod.java
140 140
			sql.append(lc.getSQLQuery());
141 141
		}
142 142
		sql.append(";");
143
		return layer.getSource().getFeatureIterator(sql.toString(), layer.getProjection());
143
		return layer.getSource().getFeatureIterator(sql.toString(), viewPort.getProjection());
144 144
//		}
145 145
//		else {
146 146
//			return layer.getSource().getFeatureIterator(

Also available in: Unified diff