[Chameleon] bugs in mapnotes & TrueNorthArrow in fgs...

Massimiliano Cannata massimiliano.cannata at supsi.ch
Tue Jun 6 09:17:07 EDT 2006


*I have just download and installed the fgs package with chameleon 2.2.1
I have some problems with TrueNorthArrow and MapNotes widgets....

My Samples don't works if the TrueNorthArrow widget is used.....

And when I use the MapNotes widget the map with the new layer doesn't 
load....
The layer exist, in fact
print_r(getlayerbyname("MapNotesAnnotation")); return the following:*

ms_layer_obj Object
(
    [_handle_] => Resource id #55
    [_map_handle_] => Resource id #9
    [numclasses] => 1
    [index] => 16
    [status] => 1
    [debug] => 0
    [classitem] => id
    [name] => MapNotesAnnotation
    [group] => 
    [data] => /tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f
    [type] => 0
    [dump] => 0
    [tolerance] => 5
    [toleranceunits] => 6
    [sizeunits] => 6
    [symbolscale] => -1
    [minscale] => -1
    [maxscale] => -1
    [labelminscale] => -1
    [labelmaxscale] => -1
    [maxfeatures] => -1
    [transform] => 1
    [labelcache] => 1
    [postlabelcache] => 0
    [labelitem] => label
    [labelsizeitem] => 
    [labelangleitem] => 
    [tileitem] => location
    [tileindex] => 
    [header] => 
    [footer] => 
    [connection] => 
    [connectiontype] => 1
    [filteritem] => 
    [template] => ttt
    [transparency] => 0
    [styleitem] => 
    [num_processing] => 0
    [requires] => 
    [labelrequires] => 
    [offsite] => ms_color_obj Object
        (
            [_handle_] => Resource id #56
            [red] => -1
            [green] => -1
            [blue] => -1
        )

)


*Moreover, the generated shapefile is correct, in fact: *
    ogrinfo /tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f.shp
*returns*:
    INFO: Open of 
`/tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f.shp'
    using driver `ESRI Shapefile' successful.
    1: 9f4920ac7e207475f7898a1d0daf0d8f (Point)

*and *
   ls -l /tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f*
*returns *
-rw-r--r--    1 maxi     maxi         1007 Jun  6 14:59 
/tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f.dbf
-rw-rw-r--    1 maxi     maxi          128 Jun  6 14:59 
/tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f.shp
-rw-rw-r--    1 maxi     maxi          108 Jun  6 14:59 
/tmp/sess_44857c337a153/9f4920ac7e207475f7898a1d0daf0d8f.shx
   


*The new layer appears on the legend but the map fail to load......

Do you have any hints?*

*Thanks,
Massimiliano*



-- 

Dr. Massimiliano Cannata
Geomatic Engineer

Scuola Universitaria Professionale della Svizzera Italiana
Istituto Scienze della Terra
Via Trevano, c.p. 72
CH-6952 Canobbio-Lugano
Tel: +41 (0)58 666 62 14
Fax: +41 (0)58 666 62 09




More information about the Chameleon mailing list