[Talk-it] openlayers help

alberto bonati albertobonati at libero.it
Fri Jul 2 14:05:04 BST 2010


Il 02/07/2010 8.49, Luca Delucchi ha scritto:
> dovrebbe creartelo nella cartella dove ti crea la pagina!
> sistema operativo? versione di qgis e ogr2layers ?
> se vuoi puoi provare la versione di sviluppo che trovi qui [0], così
> mi fai un po' di bug fix...
>
>    
Quantum Gis 1.4.0 Encedalus su Windows XP, OGR2Layers 0.6...

Nelle istruzioni, che immagino conoscerai ... :-)

First you must add the definition for the projection of Spherical 
Mercator to your proj.4 data directories (on linux 
/usr/share/proj/epsg), this is necessary for usign OpenStreetMap 
background; you must add only the line:
<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 
+x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs

Non so im Windows dove mettere questa istruzione, io ho creato un CRS 
personalizzato con questi parametri.

Ho fatto dei test con uno shapefile, ho provato a riproiettare i dati in 
900913 ed in quel modo sono sincronizzati con Google Layers, però non è 
servito a nulla, il file GML non lo crea.

Immagino che nel GML stiano le informazioni su quello che deve essere 
sovrapposto alla mappa.

Ciao

Alberto



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-it/attachments/20100702/e7265eb6/attachment.html>


More information about the Talk-it mailing list