<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 10Impr; color: #000000'>Hi everybody,<br>thnaks for your answers !<br>I have downloaded a svn client, but after that how can i upgrade my postgis (i am so new at linux !!) ?<br>Thanks again<br><br>Sophie<br><br>----- Mail Original -----<br>De: "Courtin Olivier" <olivier.courtin@camptocamp.com><br>À: "PostGIS Users Discussion" <postgis-users@postgis.refractions.net><br>Envoyé: Vendredi 1 Août 2008 12:41:39 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne<br>Objet: Re: [postgis-users] JSON<br><br><br>On Aug 1, 2008, at 12:20 PM, Sophie GRAS wrote:<br><br>Hi Sophie,<br><br>> i want to use the asgeojson function.<br>> Do you know where we can find the 1.3.4 version of postgis ?<br><br>This version is not yet released,<br>You could use the current SVN version from 1.3 branch:<br><br>svn checkout http://svn.refractions.net/postgis/branches/1.3 postgis-1.3<br><br>(require to have an svn client already installed, cf http://subversion.tigris.org/)<br><br>> once you have your data in the "geojson format", how do you "call"  <br>> it in the json file ?<br><br><br>Not sure to really understand the question, below a working use case:<br><br>SELECT ST_AsGeoJson(the_geom) FROM your_table LIMIT 1;<br><br>and copy/paste the result in OpenLayers:<br>cf <http://openlayers.org/dev/examples/vector-formats.html><br><br><br>HTH,<br><br>--<br>Olivier<br>_______________________________________________<br>postgis-users mailing list<br>postgis-users@postgis.refractions.net<br>http://postgis.refractions.net/mailman/listinfo/postgis-users<br></div></body></html>