[Cartoweb-users] continuos with problems

Yves Jacolin yjacolin at free.fr
Thu May 18 15:46:27 EDT 2006


have you selected by default your layer ?
try to add it in the dptons.ini in server_conf/dptons/ :
mapInfo.initialMapStates.default.layers.temperatura.selected = true

Y.
Le Jeudi 18 Mai 2006 21:35, daniel jaimes a écrit :
> Hi,    already all this equal one, not that it is some variable? that I
> must do? visit to http://200.75.50.141/cartoweb3/htdocs/dptons.php does not
> visualize the map please help me.
>
> "oliver.christen" <oliver.christen at camptocamp.com> escribió:       you did
> a php-cgi cw3setup.php --clean  after you have modified your mapfile ? also
> i see DATA  "temperatura",
> did you rename the shapefile? or is is still temperatura.shp? be sure the
> filename of the shapefile is the same as in  DATA ""
>
>  Regards
>  Oliver
>     ----- Original Message -----
>    From:    daniel jaimes
>    To: cartoweb
>    Sent: Thursday, May 18, 2006 5:45  PM
>    Subject: [Cartoweb-users] continuos with    problems
>
>
> continuous with problems, it seems that it does not find layer   
> temperatura
>
>
> 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))
> **********************************************************
> this layers.ini is my file
>
> whether to generate class icons automatically
> autoClassLegend = true
>
> ;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
> ***********************************************
> this dptons.map
>  is my file
>
> # 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 "DPTONS"
>   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.s
>ym" #  FONTSET
> "/var/www/html/cartoweb3/projects/dptons/server_conf/dptons/tipos/dpto.fnt"
> FONTSET "fonts.txt"
>   SYMBOLSET "symbols.txt"
>  SHAPEPATH "data"
>   STATUS on
>   IMAGECOLOR 255 255 255
> #  IMAGETYPE png24
>   STATUS on
>   DEBUG TRUE
>   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/dpto.jpg
>" 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"
>       "init=epsg:4326"
>  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 "Vera"
>       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"
>     METADATA
>       gix_layername        "temperatura"
>       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"
> #      wms_default          "YYYY-MM-DD HH:MM:SS"
> #      wms_timeextent       ""
> #      wms_timeitem         ""
>     END  #METADATA
>     TOLERANCE 3
>     TOLERANCEUNITS pixels
>     DATA "temperatura"
>  #   HEADER 'header.html'
>  #   FOOTER 'footer.html'
>     LABELCACHE on
> #    TILEINDEX ''
> #    TILEITEM  ''
>
>     STATUS on
>     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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     CLASS
>       NAME '5__-__9___C°'
>       TEMPLATE 'ttt'
>       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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     CLASS
>       NAME '9__-__13_C°'
>       TEMPLATE 'ttt'
>       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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     CLASS
>       NAME '13_-_17_C°'
>       TEMPLATE 'ttt'
>       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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     CLASS
>       NAME '17_-_21_C°'
>       TEMPLATE 'ttt'
>       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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     CLASS
>       NAME '21_-_25_C°'
>       TEMPLATE 'ttt'
>       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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     CLASS
>       NAME '25_-_28_C°'
>       TEMPLATE 'ttt'
>       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 "Vera"
>         PARTIALS true
>         POSITION cc
>         SIZE 8
>         ANTIALIAS true
>         FORCE false
>       END
>     END #CLASS
>     LABELITEM "CLATEMP4"
>   END  #LAYER
>
>
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del    Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
> ---------------------------------
>
> _______________________________________________
> Cartoweb-users    mailing    list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com

-- 
"J'aimerais être une cigarette pour naître au creux de tes mains, vivre sur 
tes lèvres et mourir à tes pieds."
---
Yves Jacolin
Appt. 55, 3e ét.
Val de Loire Nord
18 boulevard Aristide Briand
45 000 Orléans

Port. : 06 64 28 27 92
Tél. : 02 38 52 96 35
Freebox : 0872 14 2008
http://yjacolin.gloobe.org
http://questioniup.gloobe.org
http://www.gloobe.org

-- 
Yves Jacolin
-------------
http://yjacolin.gloobe.org
http://softlibre.gloobe.org



More information about the Cartoweb-users mailing list