Changeset 607 for trunk/zoo-project/zoo-kernel/service_internal_ms.c
- Timestamp:
- Mar 12, 2015, 3:14:52 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_ms.c
r586 r607 131 131 outputMapfile(m,tmpI); 132 132 map *msUrl=getMapFromMaps(m,"main","mapserverAddress"); 133 if(msUrl==NULL){ 134 errorException (m, _("Unable to find any mapserverAddress defined in the main.cfg file"), 135 "InternalError", NULL); 136 exit(-1); 137 } 133 138 map *msOgcVersion=getMapFromMaps(m,"main","msOgcVersion"); 134 139 map *dataPath=getMapFromMaps(m,"main","dataPath"); … … 794 799 char *pszProjection; 795 800 pszProjection = (char *) GDALGetProjectionRef( hDataset ); 796 //#ifdef DEBUGMS801 #ifdef DEBUGMS 797 802 fprintf(stderr,"Accessing the DataSource %s\n",GDALGetProjectionRef( hDataset )); 798 //#endif803 #endif 799 804 setSrsInformations(output,m,myLayer,pszProjection); 800 805 }else{
Note: See TracChangeset
for help on using the changeset viewer.