[mapserver-dev] Mapserver trunk & postgis 2.0

Andrea Peri aperi2007 at gmail.com
Wed Mar 7 15:07:04 EST 2012


Thx,
for response.
Meanwhile I guess to found the real problem.
It was a path forward a wrong TrueType font file.
When correct the path forward a good truetype font, it the mapserver begin
to give correct maps.

This is the layer I'm using:

  LAYER
    NAME "idcomuni"
    STATUS ON
    TYPE POLYGON
    #DUMP true
    EXTENT 1487422.221679 4672163.860500 1839051.274580 4930953.559500
    CONNECTIONTYPE postgis
    CONNECTION "user=postgres password=controllo dbname=test host=localhost
port=5432"
    DATA "geometry from test.am_com_region_am_com using unique gid using
srid=3003"
    PROJECTION
      "+init=epsg:3003"
    END
    METADATA
      "wms_title" "Confini Comunali"
      "wms_srs" "EPSG:3003 EPSG:4326"
      "wms_extent" "1487422.221679 4672163.860500 1839051.274580
4930953.559500"
      "wms_bbox_extended" "true"
    END
    OPACITY 100
    PROCESSING "APPROXIMATION_SCALE=FULL"
    LABELITEM "nome"
    CLASS
      NAME 'am_com_region_am_com'
      STYLE
         WIDTH 0.91
         OUTLINECOLOR 0 0 0
         COLOR 103 132 169
         ANTIALIAS true
      END
      LABEL
        POSITION auto
        SIZE 8
        COLOR 0 0 0
        TYPE truetype
        FONT LiberationMono-Regular
      END
    END
  END

Regards,
Andrea.

My
2012/3/7 Stephen Woodbridge <woodbri at swoodbridge.com>

> First it would help if you post your LAYER block or DATA statement.
>
> In the MAP section put something like:
>
>    CONFIG MS_ERRORFILE "stderr"
>    DEBUG 10
>
> And you might also try adding the DEBUG to the actual LAYER block. Under
> apache, the error messages will go into the apache error.log
>
> -Steve W
>
>
> On 3/7/2012 11:35 AM, Salvatore Larosa wrote:
>
>> I am having the same problem, but I fear that the
>>
>> command raster2pgsql did not work properly,
>>
>> at least in my case!
>> Can you see your raster display somewhere?
>> How did your map file?
>>
>> Here [1] it seems to work!
>>
>>
>> Regards!
>>
>>
>> [1] - http://trac.osgeo.org/postgis/**ticket/497<http://trac.osgeo.org/postgis/ticket/497>
>>
>>
>>    ----Messaggio originale----
>>    Da: aperi2007 at gmail.com
>>    Data: 05/03/2012 15.06
>>    A: <mapserver-dev at lists.osgeo.org**>
>>    Ogg: [mapserver-dev] Mapserver trunk & postgis 2.0
>>
>>    Hi,
>>    Is supported postgis 2.0 on Mapserver trunk ?
>>
>>    I'm testing that version of mapserver and will use postgis 2.0 beta2.
>>
>>    I'm having some trouble, mapserver give no errors, but the map is
>>    fully white.
>>
>>    I see also the bounding-box is forgotten.
>>    How is possible to growth the log level to have more information
>>    from mapserver ?
>>
>>    thx,
>>
>>
>>    --
>>    -----------------
>>    Andrea Peri
>>    . . . . . . . . .
>>    qwerty אטלעש
>>    -----------------
>>
>>
>>
>>
>>
>> ______________________________**_________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>>
>
> ______________________________**_________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>



-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120307/bcb84628/attachment.html


More information about the mapserver-dev mailing list