Revision 734

View differences:

trunk/libraries/libjni-gdal/src/es/gva/cit/wrappergdal/OGRSpatialReference.java
149 149
	 * 
150 150
	 */
151 151
	protected void finalize(){
152
		System.out.println("Finalizando...");
153 152
		if(cPtr > 0)
154 153
			OSRDestroySpatialReferenceNat(cPtr);
155 154
	}
trunk/libraries/libjni-gdal/src/ogrspatialreference_interfaz.c
79 79
  (JNIEnv *env, jobject obj){
80 80
  	
81 81
  	OGRSpatialReferenceH *hSRS;
82
  	jlong jresult=0;
82 83
  	hSRS=(OGRSpatialReferenceH*)malloc(sizeof(OGRSpatialReferenceH));
83 84
  	
84
  	jlong jresult=0;
85 85
  	
86
  	
86 87
 	*hSRS = OSRNewSpatialReference( NULL );
87 88
  	*(OGRSpatialReferenceH **)&jresult = hSRS;
88 89
  	
trunk/libraries/libjni-gdal/.cdtproject
18 18
<target name="all" targetID="org.eclipse.cdt.make.MakeTargetBuilder" path="">
19 19
<buildCommand>nmake</buildCommand>
20 20
<buildArguments>/f makefile.w32</buildArguments>
21
<buildTarget>all</buildTarget>
21
<buildTarget>default</buildTarget>
22 22
<stopOnError>false</stopOnError>
23
<useDefaultCommand>true</useDefaultCommand>
23
<useDefaultCommand>false</useDefaultCommand>
24 24
</target>
25 25
<target name="header" targetID="org.eclipse.cdt.make.MakeTargetBuilder" path="">
26 26
<buildCommand>nmake</buildCommand>
......
34 34
<buildArguments>/f makefile.w32</buildArguments>
35 35
<buildTarget>clean</buildTarget>
36 36
<stopOnError>false</stopOnError>
37
<useDefaultCommand>true</useDefaultCommand>
37
<useDefaultCommand>false</useDefaultCommand>
38 38
</target>
39 39
<target name="jar" targetID="org.eclipse.cdt.make.MakeTargetBuilder" path="">
40 40
<buildCommand>nmake</buildCommand>
trunk/libraries/libjni-gdal/src-test/Writetif.java
84 84
		  	oSRS.setUTM(11,true);
85 85
		  	oSRS.setWellKnownGeogCS("NAD27");
86 86
		  	System.out.println("Nueva Proyecci?n ==> "+oSRS.exportToWkt());
87
		  	System.out.println(oSRS.getHemisphere()+" - "+oSRS.getUTMZone());
88 87
		  	dset_dstno.setProjection(oSRS.exportToWkt());
89
		  	oSRS=null;
90 88
		  	
89
		  	
91 90
		  	//A?adimos el vector geoTransform de la imag?n fuente a la de destino
92 91
		  	
93 92
		  	dset_dstno.setGeoTransform(gt);
......
112 111
		  	System.out.println("TIEMPO DE ESCRITURA ="+(total/1000));		  	
113 112
		  	dset_dstno.close();
114 113
		  	migdal.close();
114
		  	oSRS=null;
115 115
		  
116 116
		  }catch(Exception e){
117 117
		  	e.printStackTrace( );

Also available in: Unified diff