Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-08 Thread Arnd Wippermann
iello [mailto:beppen...@gmail.com] Gesendet: Donnerstag, 8. April 2010 13:43 An: Arnd Wippermann Cc: users@openlayers.org Betreff: Re: [OpenLayers-Users] Just another trasformation problem ;) Thanks for suggestion but doesn't works yet!!! I found a solution using qgis plugin "ogr2layer&

Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-08 Thread Giuseppe Naponiello
.Projection.transform(isoline, epsg2498, > map.projection); > > Arnd > > -- > *Von:* users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] > *Im Auftrag von *Giuseppe Naponiello > *Gesendet:* Mittwoch, 7. April 2010 12:02 > *An:* users@open

Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-07 Thread Arnd Wippermann
8, map.projection); Arnd _ Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Giuseppe Naponiello Gesendet: Mittwoch, 7. April 2010 12:02 An: users@openlayers.org Betreff: [OpenLayers-Users] Just another trasformation problem ;) Hi all, I ought to dis

Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-07 Thread Giuseppe Naponiello
Thanks, but now my layer is shifted in South Africa!!! I don't understand what's wrong: the map output the exact coordinates. Well, I've: 3 base layers -> epsg:900913 1 gml layer-> epsg:2498 and I want display projection in wgs84 Is my set up (code in my previous mail) correct? -beppe- 201

Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-07 Thread bartvde
Hi, not sure if this is the cause of your problem since I don't know anything about EPSG:2498, but can you try adding xy false to your Format.GML: var isoline = new OpenLayers.Layer.Vector("isoline", { strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenL

[OpenLayers-Users] Just another trasformation problem ;)

2010-04-07 Thread Giuseppe Naponiello
Hi all, I ought to display a map with osm layer as base and a gml file of a little part of Armenia. First step was convert my shapefile, with projection epsg:2498, in a gml format (ogr2ogr -f GML ...). Second step was set up my map. Within tag of my html page, I' ve insert a link to these librari