Ok, I find the error : - about idRecenter : i did not understand ho to use it :-( and that I have to use METADATA ""id_attribute_string" "id" END to use it ! The doc is not clear about it. Or am I wrong ? - about keymap : The problem came from both the extend and the size parameters.
Thank you for your help, Oliver, and have a nice week end ! Y. Le Vendredi 4 Août 2006 15:51, Jacolin Yves a écrit : > Ok the extend of the keymap is now correct. > > I try the X/Y recenter : it is working ! But why you limit the maxlenght to > 6, my project use lambert93 projection and I need 7 numbers ;-) > > Never mind I modify the template in > project/myproject/coreplugin/location/templates/recenter.tpl > > I always problems with "recenter layer" and "keymap" ... > > Y. > > Le Vendredi 4 Août 2006 12:09, vous avez écrit : > > I usualy make the keymap image then I display the same area in the main > > map of cartoweb and look for the extent value reported when you move the > > cursor over the map. the value are maybe not exacte but the error is > > ignorable since the keymap is so small. > > > > When you do the selection of the map before creating the keymap, you > > should have the selection coordinates, no ? > > > > > Well, that's my problem ! I don't know. My problem is to create this > > > keymap > > > easily with the correct extend. At this moment, I am not agreed with my > > > method ;-) > > > > > > How do you do ? Have you got an internal tools or another one > > > public/free ? > > > > > > Regards, > > > > > > Y. > > > > > > Le Vendredi 4 Août 2006 11:30, Oliver Christen a écrit : > > >> is the extent of your keymap correctly set in the mapfile ? > > >> > > >> > Hi, > > >> > > > >> > I have some problem with my keymap, when I clic on, my map doesn't > > >> > change > > >> > as > > >> > expected :-( If I use the X and Y fields, the same problem appears. > > >> > The error > > >> > is not so big but the map is always close the right point). The > > >> > "layer recenter" (ie "recentrer sur une couche") is not correcte as > > >> > well (doesn't seem to work). I think all this problem is link to my > > >> > extend problem for the > > >> > keymap. > > >> > > > >> > My question is : how can you do a correct keymap. I "export" my map > > >> > from > > >> > grass > > >> > and try to retrieve the right extent. > > >> > > > >> > Thank you for your answer. > > >> > > > >> > Y. > > >> > -- > > >> > Yves Jacolin > > >> > http://yjacolin.gloobe.org > > >> > ---- > > >> > Stagiaire Conservatoire Régional des Espaces Naturels de la région > > >> > Centre > > >> > http://cahiersnaturalistes.free.fr/cpnrc/ > > >> > ---- > > >> > - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause > > >> > puisque je suis de bonne foi? > > >> > - Et qu'est-ce que ça peut faire que je sois de mauvaise foi > > >> > puisque c'est pour la bonne cause. (Jacques Prévert) > > >> > > > >> > _______________________________________________ > > >> > Cartoweb-users mailing list > > >> > Cartoweb-users@lists.maptools.org > > >> > http://lists.maptools.org/mailman/listinfo/cartoweb-users > > > > > > -- > > > Yves Jacolin > > > http://yjacolin.gloobe.org > > > ---- > > > Stagiaire Conservatoire Régional des Espaces Naturels de la région > > > Centre http://cahiersnaturalistes.free.fr/cpnrc/ > > > ---- > > > - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause > > > puisque je suis de bonne foi? > > > - Et qu'est-ce que ça peut faire que je sois de mauvaise foi > > > puisque c'est pour la bonne cause. (Jacques Prévert) > > > > > > _______________________________________________ > > > Cartoweb-users mailing list > > > Cartoweb-users@lists.maptools.org > > > http://lists.maptools.org/mailman/listinfo/cartoweb-users -- Yves Jacolin http://yjacolin.gloobe.org ---- Stagiaire Conservatoire Régional des Espaces Naturels de la région Centre http://cahiersnaturalistes.free.fr/cpnrc/ ---- - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause puisque je suis de bonne foi? - Et qu'est-ce que ça peut faire que je sois de mauvaise foi puisque c'est pour la bonne cause. (Jacques Prévert) _______________________________________________ Cartoweb-users mailing list Cartoweb-users@lists.maptools.org http://lists.maptools.org/mailman/listinfo/cartoweb-users