Thank you for the help!
I solved the problem: I had to add the name of the layer also in the
$categories_pool array, not only in the $categories one (php_config.php
file).

Thanks again

Laura

On 9/7/07, Laura Poggio <[EMAIL PROTECTED]> wrote:
>
> I am trying to set up a mapserver application using p.mapper.
> I have now a problem with layers defined with a OGR connection to a MySQL
> database. Below the layer as I defined in the mapfile:
>
> LAYER     # db table (from Mysql database)
>         NAME "dblocsites"
>         TYPE point
>         CONNECTIONTYPE OGR                                             #
> type of connection
>         CONNECTION "qloc.ovf"
>        # Virtual Data File (.ovf)
>         DATA "loc_data"
>           # name of the layer defined in the ovf
>         TRANSPARENCY 100
>         STATUS on
>         TOLERANCE 10
>         TOLERANCEUNITS pixels
>         METADATA
>             "DESCRIPTION" "Sampled sites loc"
>             "RESULT_FIELDS" "LocCode,X,Y,alt,lu"
>             "RESULT_HEADERS" "Site, X Coord, Y Coord, Altitude, Land use"
>         END
>             CLASS
>                 NAME "dbsites"
>                 STYLE
>                     SYMBOL 'circle'
>                     COLOR 0 0 0
>                     SIZE 7
>                 END # end style
>             END # end class
>     END     # sites layer ends here
>
> I can draw this layer with mapserver used as CGI without any problems.
> However p.mapper is not recognising it. I added the name of the layer in
> the config file but the layer does not appear in the legend.
> I am stuck with this since few days: any idea will be really appreciated.
>
> Thanks in advance
>
> Laura
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to