Il giorno mar, 10/03/2009 alle 13.48 +0100, [email protected] ha
scritto:
> Hi beppe,
> 
> What does tell you the error log php file?
> 
> W

Hi walter,
I don't know if I've done the right things, however,
my /etc/php5/apache2/php.ini configuration is:
display_errors = Off
log_errors = On
error_log = /var/www/error.log

I've created "error.log", changed the permission...and restarted apache,
but there isn't mapserver error messages.
Anyway something is changed:
p.mapper don't stops on the loading bar any more but it doesn't load wms
layer.
I've added another wms layer (ortofoto 2006 PNC MinAmbiente) and this
works good.
I use the same wms service (jpl_global_mosaic) with same configuration
(epsg, projection, metadata ecc.) in other webgis project but I don't
have this problem...I don't understand!!!
It could be a projection problem but I don't know what I can do!

thanks

-beppe-



> ----- Original Message -----
> Da : beppe <[email protected]>
> A : [email protected]
> Oggetto : [pmapper-users] P.mapper 3.2 problem with wms and
> shp
> Data : Tue, 10 Mar 2009 12:29:43 +0100
> 
> > Hi all,
> > I don't understand where is the error:
> > I've 3 layers,
> > 1. wms -> jpl_wml_global_mosaic -> epsg:4326
> > 2. shp -> polygon -> epsg:3003
> > 3. postgis -> point -> epsg:3003
> > 
> > It works good, but when I switch off wms layer, p.mapper
> > stops on the loading bar; the same thing if I delete the
> > wms layer in the mapfile. If I switch on it, p.mapper
> > works again !!!
> > 
> > Please help me, I'm going crazy!
> > 
> > Thanks and excuse me for my english :)
> > 
> > This is my mapfile:
> > 
> > #
> > # Start of map file  
> > #
> > MAP
> > EXTENT 4318601.67424 2502013.67601 4506099.59074
> > 2619755.25865#1988372 1400000 6411627 5400000 
> >  
> > UNITS meters
> > #EXTENT -15 30 40 70
> > #UNITS dd
> > SIZE 600 500
> > SHAPEPATH "../../../trentino_data"
> > SYMBOLSET "../common/symbols/symbols-pmapper.sym"   
> > FONTSET "../common/fonts/msfontset.txt" 
> > RESOLUTION 96
> > IMAGETYPE png
> > INTERLACE OFF
> > #CONFIG "PROJ_LIB" "C:/proj/nad/"
> > PROJECTION
> >   # ETRS-LAEA
> >   #"init=epsg:3003"
> >   #"init=epsg:4326"
> >   #"+proj=tmerc +lat_0=0 +lon_0=9 +k=0.9996 +x_0=1500000
> > +y_0=0 +ellps=intl +units=m +no_defs"
> >   "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000
> > +y_0=3210000 +ellps=GRS80 +units=m +no_defs  no_defs"
> >   #"+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m
> > +no_defs" END  
> > ..
> > ..
> > #
> > # Start of web interface definition
> > #
> > WEB
> >   TEMPLATE "map.html"
> >   IMAGEPATH "/var/www/tmp/"
> >   IMAGEURL "/tmp/"
> >   METADATA
> >     #"MAPFILE_ENCODING" "ISO-8859-1"
> >     "ows_title"     "WMS Demo Server"
> >     "ows_onlineresource"
> > "http://wms.yourserver.org?owskey=test&";
> >     #"ows_srs"        "EPSG:4326 EPSG:36236"
> >     "ows_srs"       "EPSG:4326"  
> >     #"ows_srs"       "EPSG:36236 EPSG:4326 EPSG:3003"     
> >   END  # Metadata
> > END  # Web
> > 
> > #================== START OF LAYER SECTION
> > =====================#
> > 
> > 
> > LAYER
> >   NAME "jpl_wms_global_mosaic"
> >   GROUP "satellite_ortofoto"
> >   TYPE RASTER
> >   STATUS OFF
> >   CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?";
> >   CONNECTIONTYPE WMS
> >   MINSCALE 40001
> >   PROJECTION
> >     "init=epsg:4326"
> >   END
> >   METADATA
> >     "DESCRIPTION"         "satellite + ortofoto"
> >     #"wms_name"            "global_mosaic_base"
> >     "wms_name"            "BMNG"    
> >     "wms_style"           "visual"
> >     "wms_server_version"  "1.1.1"
> >     "wms_format"          "image/jpeg"
> >     "ows_title"           "jpl_wms_global_mosaic"
> >   END
> > END
> > 
> > #
> > # comuni trentino
> > #
> > LAYER
> >   NAME "regione"
> >   TYPE polygon
> >   DATA "shp/ammcom"
> >   TRANSPARENCY 80
> >   LABELITEM "DESC"
> >   LABELMAXSCALE 250001
> >   MINSCALE 601
> >   PROJECTION
> >     "init=epsg:3003"
> >    #"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs 
> > no_defs"
> >   END
> >   METADATA 
> >     "RESULT_FIELDS" "DESC,AREA,PERIMETER"
> >     "RESULT_HEADERS" "Nome,Area,Perimetro"
> >     "DESCRIPTION" "Comuni prov. Trento"
> >     "ows_title"      "Comuni_Trento"
> >   END  # Metadata 
> >   CLASS
> >     NAME 'comuni'
> >     COLOR 114 149 171
> >     OUTLINECOLOR 255 255 255
> >     TEMPLATE void
> >     LABEL
> >       TYPE TRUETYPE
> >       FONT "FreeSansBold"
> >       SIZE 7
> >       COLOR 255 255 255 
> >       OUTLINECOLOR 0 0 0
> >       POSITION auto
> >     END #label
> >   END #class
> > END  # Layer
> > 
> > #siti totali
> >  LAYER
> >     NAME 'siti_indagati'
> >     TYPE POINT
> >     CONNECTIONTYPE postgis
> >     CONNECTION "dbname='ssd' host=localhost port=5432
> > user='xxxxx' password='xxxxxxx'"
> >     DATA 'the_geom from siti_trentino using SRID=4326'
> >     STATUS ON
> >     MINSCALE 601
> >     TOLERANCE 6
> >     TOLERANCEUNITS pixels
> >     LABELITEM "Toponimo"
> >     TEMPLATE void
> >     TRANSPARENCY 100
> >     PROJECTION
> >       "init=epsg:3003"
> >     END
> >     METADATA 
> >       "DESCRIPTION" "Siti indagati"
> >       "RESULT_FIELDS"
> > "Provincia,Comune,Toponimo,Microtoponimo,Definizione
> > ,Interventi_effettuati,Sepolture_individuate
> > ,Cronologia_indagata,Studio_antropologico"
> >       "RESULT_HEADERS"
> > "Provincia,Comune,Toponimo,Microtoponimo,Definizione
> > ,Interventi_effettuati,Sepolture_individuate
> > ,Cronologia_indagata,Studio_antropologico"
> >       "ows_title"      "Siti_indagati"
> >       #"MY_LONG_DESCRIPTION" "Il livello mostra le
> > sepolture collocate cronologicamente tra il 1500 e il
> > 1600"
> >     END  # Metadata
> >    CLASS
> >     Name 'Siti_indagati'
> >     COLOR 255 0 0 
> >     OUTLINECOLOR 0 0 0 
> >     TEMPLATE void
> >     SYMBOL 'circle' 
> >     SIZE 9
> >     LABEL
> >       TYPE TRUETYPE
> >       FONT "FreeSansBold"
> >       #SHADOWCOLOR 57 68 66 
> >       #SHADOWSIZE 3 3
> >       SIZE 10
> >       COLOR 0 0 0 
> >       POSITION auto
> >     END #label
> >   END  # Class
> >   END
> > 
> > 
> > -beppe-
> > 
> > 
> > 
> > ----------------------------------------------------------
> > --------------------
> > _______________________________________________
> > pmapper-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/pmapper-users


------------------------------------------------------------------------------
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to