Changeset 366
- Timestamp:
- Oct 3, 2012, 11:13:57 AM (12 years ago)
- Location:
- trunk/zoo-project/zoo-kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/makefile.vc
r364 r366 49 49 $(CPP) /c $(CFLAGS) service_internal_ms.c 50 50 51 service_internal_java.obj: service_internal_java.c service.h52 $(CPP) /c $(CFLAGS) $(CJFLAGS) service_internal_java.c53 54 51 service_loader.obj: service_loader.c service.h 55 52 $(CPP) /c $(CFLAGS) service_loader.c -
trunk/zoo-project/zoo-kernel/service_internal_ms.c
r364 r366 624 624 if( hDataset == NULL ){ 625 625 #ifdef DEBUGMS 626 fprintf(stderr,"Unable to access the DataSource \n");626 fprintf(stderr,"Unable to access the DataSource %s \n",pszFilename); 627 627 #endif 628 628 setMapInMaps(conf,"lenv","message","gdalinfo failed - unable to open"); … … 631 631 } 632 632 #ifdef DEBUGMS 633 fprintf(stderr,"Accessing the DataSource %s\n",__LINE__);633 fprintf(stderr,"Accessing the DataSource %s %d\n",pszFilename,__LINE__); 634 634 #endif 635 635 … … 677 677 * proj4 definition if available or fallback to default EPSG:4326 678 678 */ 679 if( GDALGetProjectionRef( hDataset ) != NULL ){ 679 const char *tRef=GDALGetProjectionRef( hDataset ); 680 if( tRef != NULL && strlen(tRef)>0 ){ 680 681 OGRSpatialReferenceH hSRS; 681 682 char *pszProjection; … … 685 686 #endif 686 687 setSrsInformations(output,m,myLayer,pszProjection); 687 }688 } 688 689 689 690
Note: See TracChangeset
for help on using the changeset viewer.