Hi everybody, 
thnaks for your answers ! 
I have downloaded a svn client, but after that how can i upgrade my postgis (i 
am so new at linux !!) ? 
Thanks again 

Sophie 

----- Mail Original ----- 
De: "Courtin Olivier" <[EMAIL PROTECTED]> 
À: "PostGIS Users Discussion" <[email protected]> 
Envoyé: Vendredi 1 Août 2008 12:41:39 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne 
Objet: Re: [postgis-users] JSON 


On Aug 1, 2008, at 12:20 PM, Sophie GRAS wrote: 

Hi Sophie, 

> i want to use the asgeojson function. 
> Do you know where we can find the 1.3.4 version of postgis ? 

This version is not yet released, 
You could use the current SVN version from 1.3 branch: 

svn checkout http://svn.refractions.net/postgis/branches/1.3 postgis-1.3 

(require to have an svn client already installed, cf 
http://subversion.tigris.org/) 

> once you have your data in the "geojson format", how do you "call" 
> it in the json file ? 


Not sure to really understand the question, below a working use case: 

SELECT ST_AsGeoJson(the_geom) FROM your_table LIMIT 1; 

and copy/paste the result in OpenLayers: 
cf <http://openlayers.org/dev/examples/vector-formats.html> 


HTH, 

-- 
Olivier 
_______________________________________________ 
postgis-users mailing list 
[email protected] 
http://postgis.refractions.net/mailman/listinfo/postgis-users 
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to