Re: [OpenLayers-Users] BING and OpenLayers

2010-03-19 Thread Roger André
Hi Eric, I appreciate the link to documentation, and have tried to apply the information it contains.  The best I can do with it is below.  It looks ok, until you start to pan the map, at which point the WMS layer slides right off. OpenLayers Example http://openlayers.org/api/OpenLay

[OpenLayers-Users] Issue in example sundials-spherical-mercator.html

2010-03-19 Thread Mulone
Hi all, if I go to http://openlayers.org/dev/examples/sundials-spherical-mercator.html with Google Chrome and I zoom in with control + mouse wheel, the topology of the sunflowers get broken. It doesn't happen on Firefox. Is this a bug? - Mulone PhD student -- View this message in context:

[OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-19 Thread mario1...@libero.it
Hi, I've got a problem with modify feature control. It seems like onModificationStart event is call always before the other event I've got on my application even if I recall the other event. Is there a way to deactivate this control ? Here is a my code: modifyControls = { modify: new Ope

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread moataz Elmasry
Hmm. From the stack trace it seems that the request arrives to geoserver and a transaction performed againest the db. In the snippet: Request: transaction handle = null service = WFS version = 1.1.0 baseUrl = http://localhost:1234/geoserver/ providedVersion

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread Maxime Phaneuf
Hi You should try to update your GeoServer version to the most recent one. I once had this problem and I resolved it like that. Also, be sure NOT to use the same saveStrategy for different geometry type (i.e. point - line - polygon). Maxime -- View this message in context: http://n2.nabble.com

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread paweluz
Hi! Thanks a lot for your interest. I have changed the configuration just to check if it was depending on the proxy issue. Now I have Tomcat running my application and geoserver running from the exe file (on windows 2000). I am using OpenLayers proxy file. Now I got in firebug an error... The Sou

[OpenLayers-Users] Serialize as GPX

2010-03-19 Thread Gilles Bassière
Hi, I'm trying to export a line geometry to a GPX file. I planned to use the OpenLayers.Format.GPX since it advertises itself as a "Read/write GPX parser". Unfortunately, I get a weird message in FireBug when I try to serialize a line feature: Security error" code: "1000 I had a look at the c

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread moataz Elmasry
I might be wrong concerning the proxy issue. But to clear something here, you would still see the vector layer and the features you add per hand to that layer, unrelated to, whether these features are added to the db or not. My concern here is that how can we make sure that the transaction has

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread bartvde
I think you should ask this question on the Geoserver list. The OpenLayers side of things looks okay to me. Best regards, Bart > > Hi! > > I am using Postgis, Geoserver and Openlayers 2.8. I create my simple > application based on this example > http://dev.openlayers.org/releases/OpenLayers-2.8/

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread paweluz
Hi! I am familiar with the proxy issue, but in my case it should not be the problem. If it was I wouldn't see the vector layer at all (I suppose). I have both geoserver and my application running on this same server application - Glassfish, in this case the proxy should not be the issue... don't

Re: [OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread moataz Elmasry
I might be wrong, but maybe your problem might be related to proxy issues. are you using proxy.cgi? Maybe you want to see check threads out: http://n2.nabble.com/Problem-with-WFS-proxy-cgi-td4662347.html http://old.nabble.com/proxy.cgi-for-WFS-td20239114.html open layer has its own python proxy h

[OpenLayers-Users] SaveStrategy does not work - WFSProtocol with Vector Layer

2010-03-19 Thread paweluz
Hi! I am using Postgis, Geoserver and Openlayers 2.8. I create my simple application based on this example http://dev.openlayers.org/releases/OpenLayers-2.8/examples/wfs-protocol-transactions.html. I can see the vector on map, I can get the object attributes from the feature I clicked on, but I

Re: [OpenLayers-Users] change Feature's Bounds

2010-03-19 Thread Frederic Junod
Hi, Not sure what you are trying to do... If you want to inverse the lon and lat coordinates, you should use something like: var x = this.feature.geometry.lon; var y = this.feature.geometry.lat; this.feature.geometry.move(y, x); fredj On Fri, Mar 19, 2010 at 1:30 PM, Maribel Bernal wrote

Re: [OpenLayers-Users] MapServer, OpenStreetMap, OpenLayers + Reprojection from Latlong to Mercator: a real nightmare

2010-03-19 Thread Mulone
udpate: we managed to reproject in google mercator the map on OpenLayers with this code: http://www.copypastecode.com/24724 It looks ok but when I added a transparent Google Maps layer, our geometries are shifted south by about 30km. Any idea of what might cause this issue? Cheers, Mulone -

[OpenLayers-Users] change Feature's Bounds

2010-03-19 Thread Maribel Bernal
Hi all, It may be a beginner question, but there are any way to change the bounds of a point? For example, if I wanted to change (lon,lat) for (lat,lon), can I do this?: var x = this.feature.geometry.getBounds().getCenterLonLat().lon; var y = this.feature.geometry.getBounds().getCenterLonLat().la

[OpenLayers-Users] FOSS4G2010 Press Release #6, Barcelona, Sept. 2010

2010-03-19 Thread Lluís Vicens
http://wiki.osgeo.org/wiki/FOSS4G_2010_Press_Release_6 Call for Abstracts (Update March 2010) === We are pleased to announce that the deadline for Abstract submissions (General and Academic Sessions) has been postponed to April 15th, 2010!! General Se

Re: [OpenLayers-Users] GWT + Openlayers - WFSProtocol - WFS version 1.1.0 does not work

2010-03-19 Thread paweluz
Sorry, my mistake...everything is working correctly. I had some mistakes in my code... Just remember to use version 1.1.0 WFSprotocolOption and everything should be working wright... Poul -- View this message in context: http://n2.nabble.com/GWT-Openlayers-WFSProtocol-WFS-version-1-1-0-does-not

Re: [OpenLayers-Users] zoomToScale Issue

2010-03-19 Thread Andrew Haigh
Bart, I don't set a list of fixed scales / resolutions and I have now set the fractionalZoom and everything is now sorted and working ok. Thanks Andrew On 17 March 2010 09:38, wrote: > Hi, > > how is your map instantiated? With a fixed set of scales/resolutions? > > Or are you using fractiona

[OpenLayers-Users] GWT + Openlayers - WFSProtocol - WFS version 1.1.0 does not work

2010-03-19 Thread paweluz
Hi! I am using GWT with Openlayetrs 2.8. My goal is to save, delete and modify object from Web Browser. I am using for that Vector layer with WFSProtocol. I wrote 'save strategy' class for vector layer, because it has not been included into GWT-OL library yet. When I try to save some features to