Hi,

You need to specify a template for each layer.

For instance, :
LAYER
  NAME 'kabupaten'
  TEMPLATE "void"
.....
END


[EMAIL PROTECTED] a écrit :
> hello im  new guy in this milist. right now im working with my final
> project. I use pmapper as my framework. Somehow i can show the map into
> pmapper. But unfortunately, when i use tool info, the atrribut / info cant
> show. Any1 one?
>
> And then i use quantum gis to convert the shp to postgis then i convert it
> again to .map . And the attribut cant show too. Here is my code :
>
>
> #######  start here  ########
>
> LAYER
>     NAME 'kabupaten'
>     TYPE POLYGON
>     CONNECTIONTYPE postgis
>     CONNECTION "host=localhost user=user password=pwd dbname=db port=5432"
>     #DATA "the_geom FROM (select the_geom, gid, PROVINSI, KABUPATEN FROM
> public.kabupaten)"
>       DATA "the_geom FROM public.kabupaten"
>     METADATA
>       'wms_title' 'kabupaten'
>         "RESULT_FIELDS" "PROVINSI, KABUPATEN"
>       "RESULT_HEADERS" "Propinsi,Kabupaten"
>       "LAYER_ENCODING" "UTF-8"
>     END    # Metadata
>
>     STATUS DEFAULT
>     TRANSPARENCY 100
>     PROJECTION
>     'proj=longlat'
>     'ellps=WGS84'
>     'datum=WGS84'
>     'no_defs'
>     ''
>     END
>     CLASS
>        NAME 'kabupaten'
>        STYLE
>          SYMBOL 0
>          SIZE 10
>          OUTLINECOLOR 0 0 0
>          COLOR 255 255 156
>        END
>     END
>   END
>
> #######  end here  ########
>
>
> Is there any1 can help me..Im really appreciates it.
>
> Thq so much.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft 
> Defy all challenges. Microsoft(R) Visual Studio 2008. 
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
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