[Cartoweb-users] problems with installing new projects

daniel jaimes djaimesp at yahoo.es
Tue May 16 11:56:45 EDT 2006


Hello list,    I follow without being able to execute my own one to layer.    this map of test is my:
 
 # MapFile created with Gix Export Tool -  Wed Feb 16 09:52:52 2000 
 # http://gix.sourceforge.net 
 # View Date   : Martes, 15 de Febrero de 2000 05:42:42 p.m. 
 # 
 MAP 
   NAME 'DPTO' 
   SIZE 550 400 
   EXTENT 1029273.03424751 1238832.00000000 1239694.82851489 1533082.00000000 
   UNITS meters 
   RESOLUTION 72 
 #  CONFIG PROJ_LIB 'C:/Proj/nad/' 
 #  DATAPATTERN '' 
 #  TEMPLATEPATTERN '' 
  # SHAPEPATH "/var/www/html/cartoweb3/projects/dptons/server_conf/dptons/data/" 
   SYMBOLSET "/var/www/html/cartoweb3/projects/dptons/server_conf/dptons/simbolos/dpto.sym" 
   FONTSET "/var/www/html/cartoweb3/projects/dptons/server_conf/dptons/tipos/dpto.fnt" 
   STATUS on 
   IMAGECOLOR 255 255 255 
   IMAGETYPE png24 
   STATUS on 
   DEBUG false 
  
   WEB 
     MINSCALE 0 
       IMAGEPATH "/tmp/" 
   IMAGEURL "/tmp/" 
     LOG '/tmp/dpto.log' 
     METADATA 
       wms_extent                       "1038837.66125966 1252207.00000000 1230130.20150273 1519707.00000000" 
       wms_abstract                     "planea_sig4 ** Gix Generated MapFile" 
       wms_encoding                     "ISO-8859-1" 
       wms_opaque                       "1" 
       wms_accesscontraints             "none" 
       wms_addresstype                  "mailing address" 
       wms_address                      "" 
       wms_city                         "" 
       wms_stateorprovince              "" 
       wms_postcode                     "" 
       wms_country                      "" 
       wms_contactelectronicmailaddress "" 
       wms_contactfacsimiletelephone    "" 
       wms_contactperson                "" 
       wms_contactorganization          "" 
       wms_contactposition              "" 
       wms_contactvoicetelephone        "" 
       wms_feature_info_mime_type       "NONE" 
       wms_fees                         "none" 
 #      wms_group_title                  "" 
       wms_keywordlist                  "DPTO" 
       wms_title                        "DPTO" 
       wms_timeformat                   "YYYY-MM-DDTHH, YYYY-MM-DDTHH:MM, YYYY-MM-DD HH:MM:SS" 
       wms_onlineresource               "http://planea_sig4/cgi-bin/mapserv.exe?map=c:\mapasdaniel\dpto.map&" 
       wms_srs                          "" 
     END #METADATA 
   END  #WEB 
  
  REFERENCE 
      IMAGE "/var/www/html/cartoweb3/projects/dptons/server_conf/dptons/images/keymap.png" 
    EXTENT 1029273.03424751 1238832.00000000 1239694.82851489 1533082.00000000 
    STATUS on 
    COLOR -1 -1 -1 
    OUTLINECOLOR 255 255 0 
    SIZE 110 120 
    #MARKER  
    #MARKERSIZE  
   #MINBOXSIZE  
    #MAXBOXSIZE  
  END  #REFERENCE 
 PROJECTION 
     "init=epsg:21892" 
   END 
   LEGEND 
     IMAGECOLOR 255 255 255 
     OUTLINECOLOR -1 -1 -1 
     KEYSIZE 18 12 
     KEYSPACING 2 2 
     POSTLABELCACHE true 
     POSITION ll 
     LABEL 
       ANTIALIAS true 
       BACKGROUNDCOLOR 255 255 255 
       BACKGROUNDSHADOWCOLOR -1 -1 -1 
       BACKGROUNDSHADOWSIZE 2 2 
       OUTLINECOLOR -1 -1 -1 
       COLOR 0 0 0 
       FONT 'Arial-Normal' 
       SIZE 10 
       TYPE truetype 
     END 
     STATUS on 
   END  #LEGEND 
  
   SCALEBAR 
     BACKGROUNDCOLOR 255 255 255 
     COLOR 0 0 0 
     IMAGECOLOR 255 255 255 
     INTERVALS 4 
     LABEL 
       COLOR 0 0 0 
       SIZE tiny 
       TYPE bitmap 
       ANTIALIAS true 
     END 
     OUTLINECOLOR 0 0 0 
     POSITION lr 
     POSTLABELCACHE true 
     SIZE 200 4 
     STATUS on 
     STYLE 0 
     UNITS meters 
   END   #SCALEBAR 
  
   QUERYMAP 
     STYLE hilite 
     STATUS on 
     COLOR 255 255 0 
   END   #QUERYMAP 
  
   LAYER  #Temperatura.shp 
     TRANSPARENCY 100 
     NAME 'temperatura.shp' 
     METADATA 
       gix_layername        "Temperatura.shp" 
       gix_layerfieldnames  "CLATEMP4|COD_DPTO|NOM_DPTO" 
       gix_layerfieldalias  "Clatemp4|Cod_dpto|Nom_dpto" 
       wms_abstract         "planea_sig4 Temperatura.shp Gix Generated MapFile" 
       wms_extent           "1048792.37500000 1252207.00000000 1227540.87500000 1519707.00000000" 
       wms_keywordlist      "Temperatura.shp, planea_sig4, DPTO" 
       wms_opaque           "0" 
       wms_srs              "NONE" 
       wms_title            "Temperatura.shp" 
 #      wms_default          "YYYY-MM-DD HH:MM:SS" 
 #      wms_timeextent       "" 
 #      wms_timeitem         "" 
     END  #METADATA 
     TOLERANCE 3 
     TOLERANCEUNITS pixels 
     DATA '/var/www/html/cartoweb3/projects/dptons/server_conf/dptons/data/temperatura.shp' 
  #   HEADER 'header.html' 
  #   FOOTER 'footer.html' 
     LABELCACHE on 
 #    TILEINDEX '' 
 #    TILEITEM  '' 
     STATUS off 
     DEBUG false 
     TRANSFORM true 
     TYPE polygon 
     CLASSITEM 'CLATEMP4' 
     CLASS 
       NAME '4__-___5__C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '4__-___5__C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 23 0 220 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     CLASS 
       NAME '5__-__9___C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '5__-__9___C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 77 80 253 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     CLASS 
       NAME '9__-__13_C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '9__-__13_C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 0 130 255 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     CLASS 
       NAME '13_-_17_C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '13_-_17_C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 0 219 255 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     CLASS 
       NAME '17_-_21_C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '17_-_21_C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 255 255 0 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     CLASS 
       NAME '21_-_25_C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '21_-_25_C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 255 191 0 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     CLASS 
       NAME '25_-_28_C°' 
       TEMPLATE 'template.html' 
       EXPRESSION '25_-_28_C°' 
       #RASTERFILL_STYLE_SOLID 
       STYLE 
         COLOR 253 113 0 
         BACKGROUNDCOLOR 255 255 255 
       END  #STYLE 
       LABEL 
         TYPE truetype 
         COLOR 0 0 0 
         ENCODING "ISO-8859-1" 
         FONT 'Arial-Normal' 
         PARTIALS true 
         POSITION cc 
         SIZE 8 
         ANTIALIAS true 
         FORCE false 
       END 
     END #CLASS 
     LABELITEM 'Clatemp4' 
   END  #LAYER 
  
  
 OUTPUTFORMAT 
    NAME png24 
    DRIVER "GD/PNG" 
    MIMETYPE "image/png" 
    IMAGEMODE RGBA 
    EXTENSION png 
    TRANSPARENT on 
 END  #OUTPUTFORMAT 
  
 OUTPUTFORMAT 
   NAME png 
   DRIVER "GD/PNG" 
   MIMETYPE "image/png" 
   IMAGEMODE PC256 
   EXTENSION "png" 
 END  #OUTPUTFORMAT 
  
 OUTPUTFORMAT 
   NAME gif 
   DRIVER "GD/GIF" 
   MIMETYPE "image/gif" 
   IMAGEMODE PC256 
   EXTENSION "gif" 
 END  #OUTPUTFORMAT 
  
 OUTPUTFORMAT 
   NAME jpeg 
   DRIVER "GD/JPEG" 
   MIMETYPE "image/jpeg" 
   IMAGEMODE RGB 
   EXTENSION "jpg" 
 END  #OUTPUTFORMAT 
 END  #MAP 
 
 *************************************************
 this layer.ini is my file  :
 
 ; whether to generate class icons automatically
 autoClassLegend = true
 
 ; layers
 ;layers.root.className = LayerGroup
 ;layers.root.children =  background, human, categ
 ;layers.root.rendering = block 
 ;
 ;nuevo 
 layers.root.className = LayerGroup
 layers.root.children =  ambiente
 layers.root.rendering = block 
 ;
 
 layers.ambiente.className = Layer
 layers.ambiente.msLayer = temperatura
 layers.ambiente.label = temperatura
 
 ****************************************
 * the error is;
 **************************************
 
Class : SoapFaultWrapper
Message : Could not find msLayer temperatura
Backtrace:

file: 266 - /var/www/html/cartoweb3/coreplugins/layers/server/LayersInitProvider.php
call: LayersInitProvider::fillDynamicLayer()

file: 359 - /var/www/html/cartoweb3/coreplugins/layers/server/LayersInitProvider.php
call: LayersInitProvider->fillDynamicLayer(Object(Layer))

file: 395 - /var/www/html/cartoweb3/coreplugins/layers/server/LayersInitProvider.php
call: LayersInitProvider->fillDynamicLayers()

file: 239 - /var/www/html/cartoweb3/coreplugins/layers/server/ServerLayers.php
call: LayersInitProvider->getInit()

file: 168 - /var/www/html/cartoweb3/server/ServerPluginHelper.php
call: ServerLayers->getInit()

file: 267 - /var/www/html/cartoweb3/common/PluginManager.php
call: InitProviderHelper->getInitHelper(Object(ServerLayers))

file: 267 - /var/www/html/cartoweb3/common/PluginManager.php
call: call_user_func_array(Array(2), Array(1))

file: 285 - /var/www/html/cartoweb3/common/PluginManager.php
call: PluginManager->callPluginImplementing(Object(ServerLayers), "InitProvider", "getInit", Array(0))

file: 166 - /var/www/html/cartoweb3/server/MapInfoHandler.php
call: PluginManager->callPluginsImplementing("InitProvider", "getInit")

file: 49 - /var/www/html/cartoweb3/server/ServerMapInfoCache.php
call: MapInfoHandler->loadMapInfo()

file: 99 - /var/www/html/cartoweb3/common/MapInfoCache.php
call: ServerMapInfoCache->computeMapInfo()

file: 179 - /var/www/html/cartoweb3/common/MapInfoCache.php
call: ServerMapInfoCache->cacheMapInfo()

file: 177 - /var/www/html/cartoweb3/server/MapInfoHandler.php
call: ServerMapInfoCache->getMapInfo()

file: 375 - /var/www/html/cartoweb3/server/ServerContext.php
call: MapInfoHandler->getMapInfo()

file: 218 - /var/www/html/cartoweb3/coreplugins/layers/server/ServerLayers.php
call: ServerContext->getMapInfo()

file: 74 - /var/www/html/cartoweb3/server/ServerPluginHelper.php
call: ServerLayers->handleCorePlugin(Object(LayersRequest))

file: 184 - /var/www/html/cartoweb3/server/ServerPluginHelper.php
call: CoreProviderHelper->callHandleFunction(Object(ServerLayers), "handleCorePlugin")

file: 267 - /var/www/html/cartoweb3/common/PluginManager.php
call: CoreProviderHelper->handleCorePluginHelper(Object(ServerLayers))

file: 267 - /var/www/html/cartoweb3/common/PluginManager.php
call: call_user_func_array(Array(2), Array(1))

file: 293 - /var/www/html/cartoweb3/server/Cartoserver.php
call: PluginManager->callPluginImplementing(Object(ServerLayers), "CoreProvider", "handleCorePlugin")

file: 337 - /var/www/html/cartoweb3/server/Cartoserver.php
call: Cartoserver->doGetMap(Object(MapRequest))

file: 358 - /var/www/html/cartoweb3/server/Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))

file: 81 - /var/www/html/cartoweb3/server/MapResultCache.php
call: Cartoserver->cacheGetMap(Object(MapRequest))

file: 115 - /var/www/html/cartoweb3/server/MapResultCache.php
call: MapResultCache->getMapResultFromServer(Object(MapRequest))

file: 197 - /var/www/html/cartoweb3/server/MapResultCache.php
call: MapResultCache->cacheMapResult(Object(MapRequest))

file: 368 - /var/www/html/cartoweb3/server/Cartoserver.php
call: MapResultCache->getMap(Object(MapRequest))

file: 104 - /var/www/html/cartoweb3/client/CartoserverService.php
call: Cartoserver->getMap(Object(MapRequest))

file: 158 - /var/www/html/cartoweb3/client/CartoserverService.php
call: CartoserverService->callDirect("getMap", Object(MapRequest))

file: 226 - /var/www/html/cartoweb3/client/CartoserverService.php
call: CartoserverService->callFunction("getMap", Object(MapRequest))

file: 776 - /var/www/html/cartoweb3/client/Cartoclient.php
call: CartoserverService->getMap(Object(MapRequest))

file: 892 - /var/www/html/cartoweb3/client/Cartoclient.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))

file: 1027 - /var/www/html/cartoweb3/client/Cartoclient.php
call: Cartoclient->doMain()

file: 38 - /var/www/html/cartoweb3/htdocs/client.php
call: Cartoclient->main()

file: 3 - /var/www/html/cartoweb3/htdocs/dptons.php
call: require_once("/var/www/html/cartoweb3/htdocs/client.php")
 
 
		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060516/9d25ecd7/attachment-0001.html


More information about the Cartoweb-users mailing list