Changeset 366


Ignore:
Timestamp:
Oct 3, 2012, 11:13:57 AM (12 years ago)
Author:
djay
Message:

Fix the two target for service_internal_java.obj, thanks to Farkas for his comment. FIx issue when outputing raster data to make sure that if there is no projection that the layer will be added to the mapfile.

Location:
trunk/zoo-project/zoo-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/makefile.vc

    r364 r366  
    4949        $(CPP) /c $(CFLAGS) service_internal_ms.c
    5050
    51 service_internal_java.obj: service_internal_java.c service.h
    52         $(CPP) /c $(CFLAGS) $(CJFLAGS) service_internal_java.c
    53 
    5451service_loader.obj: service_loader.c service.h
    5552        $(CPP) /c $(CFLAGS)  service_loader.c
  • trunk/zoo-project/zoo-kernel/service_internal_ms.c

    r364 r366  
    624624  if( hDataset == NULL ){
    625625#ifdef DEBUGMS
    626     fprintf(stderr,"Unable to access the DataSource \n");
     626    fprintf(stderr,"Unable to access the DataSource %s \n",pszFilename);
    627627#endif
    628628    setMapInMaps(conf,"lenv","message","gdalinfo failed - unable to open");
     
    631631  }
    632632#ifdef DEBUGMS
    633   fprintf(stderr,"Accessing the DataSource %s\n",__LINE__);
     633    fprintf(stderr,"Accessing the DataSource %s %d\n",pszFilename,__LINE__);
    634634#endif
    635635
     
    677677   * proj4 definition if available or fallback to default EPSG:4326
    678678   */
    679   if( GDALGetProjectionRef( hDataset ) != NULL ){
     679  const char *tRef=GDALGetProjectionRef( hDataset );
     680  if( tRef != NULL && strlen(tRef)>0 ){
    680681    OGRSpatialReferenceH  hSRS;
    681682    char *pszProjection;
     
    685686#endif
    686687    setSrsInformations(output,m,myLayer,pszProjection);
    687   }
     688    }
    688689
    689690
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png