<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Stephen,<DIV>I've lost this e-mail because was not in the list, sorry.</DIV><DIV>I'm answering you publicly to share this thinking, hope it's ok for you.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>your questions:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Would it be possible to get you to bubble polygon creation/editing up to the top of your stack :) Or more generally, geometry, instead of just polygons. It would be nice if this feature would allow the user to:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">create:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">select locations using the mouse on the map and</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"save" the polygon back to the server in map coordinates (ie: lat/lon).</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">edit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">get a polygon from the server via unique id or unique id via a query</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">optionally request the polygon be locked</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">allow vertices to be added, deleted, moved</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"save" the polygon back to the server or</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"save as new" the polygon back to the server</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">bonus points: suport some special case polygones:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1) square or rectangle, optionally rotated about a corner</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2) circle and N-side polygon, based on center, radius or radius point</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">unlock:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">release a lock before it times out if requested above.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">delete:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">request a polygon on the server be deleted via unique id or query</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This ideas are in my and Andrea's mind since quite a long time. I know we are not the only ones.</DIV><DIV>We scanned all technologies to see how to do this and to do it strong, mostly universal.</DIV><DIV>Vectorial drawings are the system to use.</DIV><DIV>The system PG has developed is a good starting point to do this but there are some doubts:</DIV><DIV>1) browser support for vectorial graphics is not fully stable and not universal (not standard). PG had to play with different technologies to manage his API for ka-map.</DIV><DIV>2) in this situation only "little" polygons or lines can be managed. "little" is a relative concept and in this case it starts to be more relative. Maybe it's OK to desing a 20 <FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">vertices</SPAN></FONT> polygon but what about a country border? how can you offer a system that works just with 20-100-1000 <FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">vertices and not for 10.000? </SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">this in not depending from your skills but from browser support and development.</SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">more over there are other problems related moving 10.000 point over the internet.</SPAN></FONT></DIV><DIV>3) I've seen something nice done with flash that has a good vectorial management system. The problem? flash is proprietary, that's enough for me. more other you need a plug-in to use it in your browser and connection problems are the same of any other technology.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So, my sentence is: browsers are not yet mature to do this.</DIV><DIV>(or maybe, I'm not yet mature to do this)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Now I have to say that I'm always looking for a way to mind this gap. Once I'll be ready I'll surely let you know.</DIV><DIV>:-)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>anyway there are many experimental ideas we are working on.</DIV><DIV>One dream is to create a Web Interface for some/many GRASS functions using ka-Map framework.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>hope my answer doesn't look so simplistic.</DIV><DIV>thanks for asking and commenting</DIV><DIV>ciao</DIV><DIV>Lorenzo</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 08/ago/06, at 14:50, Stephen Woodbridge wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Lorenzo Becchi wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Elene, we are working on it.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">We'll be please if you'll help us testing<SPAN class="Apple-converted-space"> </SPAN>and debugging it.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please be patient a while more...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">you can trace CVS updates with:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://cia.navi.cx/stats/project/ka-map">http://cia.navi.cx/stats/project/ka-map</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">anyway, main changes will be commented on the list.</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi Lorenzo,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I know you have been busy contributing LOTS of great stuff to ka-map. I particularly like kaExplorer. Thanks. I took a vacation in the Dominican Republic a few years ago. It is a great place to visit, I hope you are enjoying the sun and the culture.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Would it be possible to get you to bubble polygon creation/editing up to the top of your stack :) Or more generally, geometry, instead of just polygons. It would be nice if this feature would allow the user to:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">create:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">select locations using the mouse on the map and</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"save" the polygon back to the server in map coordinates (ie: lat/lon).</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">edit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">get a polygon from the server via unique id or unique id via a query</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">optionally request the polygon be locked</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">allow vertices to be added, deleted, moved</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"save" the polygon back to the server or</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"save as new" the polygon back to the server</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">bonus points: suport some special case polygones:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">1) square or rectangle, optionally rotated about a corner</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">2) circle and N-side polygon, based on center, radius or radius point</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">unlock:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">release a lock before it times out if requested above.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">delete:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">request a polygon on the server be deleted via unique id or query</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">It would be up to the user of the functionality to write the polygon.php or geometry.php script to implement the backend. But I would be happy to write a simple reference server-side script to support this functionality and say store and retrieve the data from postgis. By using postgis, it would be simple to include the data in the database as a layer in the mapfile for display and query.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please let me know if you are interested. I would be happy to work up a spec for the server scripts and work with you to define the data exchange for the ajax requests. I know this is relatively small effort, but it is something that I can do to support this effort.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Best regards,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN>-Stephen Woodbridge</DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>