hi salvatore larosa,
this is mapfile
emanuele

LAYER
  NAME "poi_osservazioni"
  TYPE POINT    
  CONNECTIONTYPE postgis
  CONNECTION "host=localhost port=5432 dbname=** user=** password=**"
  DATA 'the_geom FROM pmapper.vista_poi_osservazioni using unique gid using
srid=3004'
 

  METADATA 
    "DESCRIPTION" "Osservazioni"
    "RESULT_FIELDS"  "" 
    "RESULT_HEADERS" "" 
  END  

  TOLERANCE 10
  TOLERANCEUNITS pixels

  CLASSITEM "tipo"

  SYMBOLSCALE 30000

  CLASS
    NAME 'fauna'
    EXPRESSION "fauna"
    TEMPLATE void  
        STYLE
     COLOR 255 255 0
     OUTLINECOLOR 0 0 0
     SYMBOL 'CIRCLE' 
     SIZE 10
     MINSIZE 10
     MAXSIZE 20
        END
  END  
  
  CLASS
    NAME 'flora'
    EXPRESSION "flora"
    TEMPLATE void  
        STYLE
     COLOR 255 0 255 
     OUTLINECOLOR 0 0 0
     SYMBOL 'CIRCLE' 
     SIZE 10
     MINSIZE 10
     MAXSIZE 20
        END
  END  
END




Salvator*eL*arosa wrote:
> 
> 
> 
> Emanuele Masiero wrote:
>> 
>> I have tried but it doesn't work.
>> The strange thing is that the same mapfile  of postgis layer  generates
>> legend icons in pmapper 2.x but it doesn't in v3.2
>> emanuele
>> 
>> 
>> 
>> Salvator*eL*arosa wrote:
>>> 
>>> 
>>> 
>>> Emanuele Masiero wrote:
>>>> 
>>>> HI EVERYBODY,
>>>> 
>>>> with layer of postgis in pmapper 3.2 it not generates icons in
>>>> images/legend and in toc it writes "legend" (url: ..pmapper32/void),
>>>> but in the map the symbology is ok 
>>>> 
>>>> same layer of postgis in pmapper 2.x it generates icons and the toc is
>>>> ok
>>>> Do you know the solution?
>>>> thanks
>>>> emanuele
>>>> 
>>> 
>>> Check within your mapfile if in layer postgis there is
>>> the keyword TEMPLATE void!
>>> 
>> 
>> 
> 
> Post here your definition in mapfile for the postgis layer....
> 
> bye
> 
> SL
> 

-- 
View this message in context: 
http://www.nabble.com/no-icon-legend-with-layer-of-postgis-in-v3.2-tp18641399p18674382.html
Sent from the pmapper users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to