<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Thank you for your reply<BR>
I still have a problem, when i select polygon(s), the editable features are not rendered that they can be edited (they appear like in a query) but with a radio button at the end. Therefore i can't click one and change its value. Is that something to do with with permissions or the arrangement of metadata? maybe if i solve that it will solve the rest.<BR>
Thank you<BR><BR><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
From: oliver.christen@camptocamp.com<BR>To: tekuganda@hotmail.com; cartoweb-users@lists.maptools.org<BR>Subject: Re: [Cartoweb-users] Gettting the Edition plugin to work<BR>Date: Wed, 13 Jun 2007 09:32:33 +0200<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass
{font-size:10pt;font-family:Tahoma;}
</STYLE>
<DIV><FONT face=Arial>Hi</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>the roles are declared in client_conf/auth.ini</FONT></DIV>
<DIV><FONT face=Arial>to be able to use the edition, a role must equal "editor"</FONT></DIV>
<DIV><FONT face=Arial>see the example files in the demoEdit project</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>security_view is a keyword and cant be changed. what you can set is its value.</FONT></DIV>
<DIV><FONT face=Arial>its explained in <A href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.security.html" target=_blank>http://www.cartoweb.org/doc_head/docbook/xhtml/user.security.html</A></FONT></DIV>
<DIV><FONT face=Arial>www-data is related to the operating system and is what is used by php or postgres to write data, it has nothing to do with the user and roles withing Cartoweb .</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>as for the edition interface, I suggest you read the tutorial <A href="http://www.cartoweb.org/cwiki/HowToUseTheEdition" target=_blank>http://www.cartoweb.org/cwiki/HowToUseTheEdition</A></FONT></DIV>
<DIV><FONT face=Arial>If something doesnt work as expected, it is most probably because of a bad installation or configuration.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>As for the metadata related to the edition, they are listed there:</FONT></DIV>
<DIV><FONT face=Arial><A href="http://www.cartoweb.org/doc_head/docbook/xhtml/user.edit.html" target=_blank>http://www.cartoweb.org/doc_head/docbook/xhtml/user.edit.html</A></FONT></DIV>
<DIV><FONT face=Arial>most of the metadata are linked to the database, the last one, "edit_attributes", list all the attribute which are recovered from the DB table and transfered to Cartoweb and that you can then set via the edition interface.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>regards</FONT></DIV>
<DIV><FONT face=Arial>Oliver</FONT></DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=tekuganda@hotmail.com href="mailto:tekuganda@hotmail.com">Broun Uganda</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=cartoweb-users@lists.maptools.org href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, June 12, 2007 8:45 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Gettting the Edition plugin to work</DIV>
<DIV><BR></DIV>I have installed Cartoweb and tested it with the different examples it works fine.<BR>I have even installed postgres and put some maps which i can access. I have two related problems with the edition plugin though because i can not edit points, lines and polygons. They are only displayed.<BR>
<OL>
<LI>
<DIV>where do i define roles (editor, super user etc) other than the special roles? In the map file how do i specify the security for editing? Can i write "Security_edit" instead of "Security_view" and what is "some_specific parameter"? In a related example sql, tables are granted to www-data; is that an example of permissions i can set for a user ("www-data")</DIV>
<LI>
<DIV> It appears to me that not all the tool bar items are implemented or am wrong? How can i move points and lines with the tool bar? I have used the tool items but they don't move and give me an error of null object. If they moved would they take on the new coordinates automatically?</DIV></LI></OL>I guess in short a description of the edit plugin functions related to layers and their metadata would help.<BR> <BR>Thank you<BR>Broun<BR><BR>
<HR>
Make every IM count. Download Windows Live Messenger and join the i'm Initiative now. It's free. <A href="http://im.live.com/messenger/im/home/?source=TAGWL_June07" target=_blank>Make it count!</A>
<HR>
<P><BR>_______________________________________________<BR>Cartoweb-users mailing list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BLOCKQUOTE><br /><hr />Live Earth is coming. Learn more about the hottest summer event - only on MSN. <a href='http://liveearth.msn.com?source=msntaglineliveearthwlm' target='_new'>Check it out!</a></body>
</html>