Ignore:
Timestamp:
May 26, 2014, 4:01:07 PM (10 years ago)
Author:
djay
Message:

Fix issue with WKT projections which can became empty after converting to proj4 format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_ms.c

    r458 r475  
    241241      else{
    242242        OSRExportToProj4(hSRS,&proj4Str);
    243         fprintf(stderr,"Debug WKT: %s \n",proj4Str);
    244         if(proj4Str!=NULL){
     243        if(proj4Str!=NULL && strlen(proj4Str)>0){
    245244#ifdef DEBUGMS
    246245          fprintf(stderr,"PROJ (%s)\n",proj4Str);
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