<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi again!,<br><br>I found the way to create the value for the the_geom field. If someone needs to do what i did, in the sql sentence you have to set the value for the the_geom field to:<br><br>ST_GeomFromText('POINT(xx yy)'));<br><br>where xx and yy are the coordinates. This is for points only, if you want to add a linestring or a multipolygon you will have to add more parameters to define the line or the polygon.<br><br>Regards!<br><br>Manu.<br><br><hr>From: malbela7@hotmail.com<br>To: ka-map-users@lists.maptools.org<br>Subject: RE: [ka-Map-users] Editing map online<br>Date: Tue, 30 Sep 2008 15:53:28 +0000<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
Hi everyone!,<br><br>I have one more question about online map edition. Now that i have my php script to add data to the postgis database, getting the coordinates from the map...i'm wondering how i can generate the data to store in the the_geom field for the postgis database, because without this field the data will not be added to the map.<br><br>Thank you very much in advance.<br><br>Best regards!<br><br>Manu,<br><br>> Date: Thu, 11 Sep 2008 13:20:03 +0200<br>> From: lorenzo@ominiverdi.com<br>> CC: ka-map-users@lists.maptools.org<br>> Subject: Re: [ka-Map-users] Editing map online<br>> <br>> <br>> <br>> manu - wrote:<br>> > Hey Lorenzo!,<br>> ><br>> > Thank you for your answer. As i see there are some good and powerful alternatives. I'm thinking on using a simply php form, but can you tell me where can i find a sample or some documentation to make the communication between php and ka-map? By the way. I'm using postgis to store the geographic data.<br>> > <br>> have a look at tools/kaExporer/startUp.js<br>> look the function myQuery, there's all the code you need to pass <br>> informations to your php script.<br>> <br>> ciao<br>> Lorenzo<br>> <br>> > Thanks a lot in advance.<br>> ><br>> > Manu.<br>> > ----------------------------------------<br>> > <br>> >> Date: Wed, 10 Sep 2008 12:36:36 +0200<br>> >> From: lorenzo@ominiverdi.com<br>> >> CC: ka-map-users@lists.maptools.org<br>> >> Subject: Re: [ka-Map-users] Editing map online<br>> >><br>> >> Hi Manu, if you want to edit attributes of some features you can easily <br>> >> create your form in php passing coordinates from ka-map.<br>> >> if you want to edit geometries you should use OpenLayers and some <br>> >> features server (FeatureServer, Geoserver as WFS-T, ecc.)<br>> >><br>> >> ciao<br>> >> lorenzo<br>> >><br>> >><br>> >><br>> >> manu - wrote:<br>> >> <br>> >>> Hello everybody!<br>> >>><br>> >>> I'm wondering if there is a way to edit the layer data through ka-map <br>> >>> online.<br>> >>><br>> >>> Thank you very much.<br>> >>><br>> >>> Manu<br>> >>><br>> >>> ------------------------------------------------------------------------<br>> >>> ¡Haz tu clic solidario y ayuda a África! ¡Puedes empezar ahora! <br>> >>><br>> >>> ------------------------------------------------------------------------<br>> >>><br>> >>> _______________________________________________<br>> >>> ka-Map-users mailing list<br>> >>> ka-Map-users@lists.maptools.org<br>> >>> http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> >>> <br>> >>> <br>> >> _______________________________________________<br>> >> ka-Map-users mailing list<br>> >> ka-Map-users@lists.maptools.org<br>> >> http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> >> <br>> ><br>> > _________________________________________________________________<br>> > ¿Eres un cotilla? Disfruta de todas las novedades en MSN Corazón<br>> > http://entretenimiento.es.msn.com/corazon/<br>> > _______________________________________________<br>> > ka-Map-users mailing list<br>> > ka-Map-users@lists.maptools.org<br>> > http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> ><br>> > <br>> _______________________________________________<br>> ka-Map-users mailing list<br>> ka-Map-users@lists.maptools.org<br>> http://lists.maptools.org/mailman/listinfo/ka-map-users<br><br><hr>La cartera, las gafas. ¿te falta algo? <a href="http://www.vivelive.com/abecedario" target="_blank">Ahora llévate Messenger en tu móvil</a>
<br /><hr />Juega a las preguntas de Live Quiz con tus contactos de Messenger <a href='http://www.vivelive.com/LiveQuiz/' target='_new'>¡Empieza ahora!</a></body>
</html>