DefinirDatum.patch

Antonio Falciano, 09/10/2014 12:47 PM

Download (1.48 KB)

View differences:

org.gvsig.projection.app.jcrs/org.gvsig.projection.app.jcrs.common/src/main/java/org/gvsig/crs/gui/panels/wizard/DefinirDatum.java (copia locale)
387 387
				
388 388
		String sentence = "SELECT unit_of_meas_name " +
389 389
		  				"FROM epsg_unitofmeasure " +	                              
390
		  				"WHERE unit_of_meas_type = 'length'";
390
		  				"WHERE unit_of_meas_type = 'length' " +
391
		  				"AND uom_code > 9000";
391 392
		EpsgConnection connect = new EpsgConnection();
392 393
		connect.setConnectionEPSG();
393 394
		ResultSet result = Query.select(sentence,connect.getConnection());
......
418 419
				
419 420
		String sentence = "SELECT unit_of_meas_name " +
420 421
		  				"FROM epsg_unitofmeasure " +	                              
421
		  				"WHERE unit_of_meas_type = 'angle' and factor_b is not null and factor_c is not null";
422
		  				"WHERE unit_of_meas_type = 'angle' " +
423
		  				"AND factor_b IS NOT NULL " +
424
		  				"AND factor_c IS NOT NULL " +
425
		  				"AND uom_code > 9100";
422 426
		EpsgConnection connect = new EpsgConnection();
423 427
		connect.setConnectionEPSG();
424 428
		ResultSet result = Query.select(sentence,connect.getConnection());