Re: [OpenLayers-Users] WFS Filter Stragety?

2009-02-18 Thread Tim Schaub
Hey- HKChad wrote: > I need to append an &filter= param to my WFS queries. I've already been down > the road of using OpenLayers.Layer.WFS and learning that it appends &BBOX= > to each query even if you have an &filter, and we all know that violates the > WFS spec even though some servers support

[OpenLayers-Users] WFS Filter Stragety?

2009-02-18 Thread HKChad
I need to append an &filter= param to my WFS queries. I've already been down the road of using OpenLayers.Layer.WFS and learning that it appends &BBOX= to each query even if you have an &filter, and we all know that violates the WFS spec even though some servers support it, so I learned of the new

Re: [OpenLayers-Users] Function setCenter

2009-02-18 Thread Arnd Wippermann
this should work: map.setCenter (new OpenLayers.LonLat (lo, la).transform(new OpenLayers.Projection( "EPSG: 4326"), new OpenLayers.Projection( "EPSG: 900913")), 12); Arnd Wippermann _ Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Marcello Brunal

Re: [OpenLayers-Users] Overlay and BaseLayer problem

2009-02-18 Thread huub fleuren
Hi Eric, Thank you for this tip for a fake backgroundlayer var fake = new OpenLayers.Layer('fake', {displayInLayerSwitcher: false}); map.addLayer(fake); I added {isBaseLayer:true} var fake = new OpenLayers.Layer('fake', {isBaseLayer: true}); Now (in the layerswitcher or otherwise) the back

[OpenLayers-Users] Scoping Issue With Yahoo Geocoder

2009-02-18 Thread Matt Kenny
Hello Everyone, I'm having some trouble passing an array of properties to points created with the yahoo geocoder control: http://trac.openlayers.org/attachment/ticket/1784/yahoogeocoder.html I've got a series of address stored in a MySQL database, each of which also have a 'NAME' property associa

Re: [OpenLayers-Users] limit cache buildup on client?

2009-02-18 Thread William Kyngesburye
On Feb 18, 2009, at 1:00 PM, Christopher Schmidt wrote: > OL doesn't cache any files, though the number of files it loads can be > miniized by the 'buffer':0 option on tiled layers. > > This is all within the browser realm; outside of the Javascript world. OK. Seeing this had me a bit worried a

Re: [OpenLayers-Users] limit cache buildup on client?

2009-02-18 Thread Christopher Schmidt
On Wed, Feb 18, 2009 at 12:55:02PM -0600, William Kyngesburye wrote: > I noticed this when I was looking at mapfish, but ultimately it's > OpenLayers. As a session in an OL map progresses, cached images build > up in the browser. In a tiled map with many layers and fractionalzoom > on this

[OpenLayers-Users] limit cache buildup on client?

2009-02-18 Thread William Kyngesburye
I noticed this when I was looking at mapfish, but ultimately it's OpenLayers. As a session in an OL map progresses, cached images build up in the browser. In a tiled map with many layers and fractionalzoom on this can get up into the many hundreds quite fast. I don't know if this adversely

[OpenLayers-Users] Function setCenter

2009-02-18 Thread Marcello Brunaldi
I have a base layer of google where I inserted the marker whose GeoRSS point coordinates in EPSG: 4326; to be displayed correctly, I had to insert the projection option: * new1 [0] = new OpenLayers.Layer.GeoRSS ( 'GeoRSS', 'GeoRSS / blu.xml', ( 'projection': new OpenLayers.Projection ( "EPSG: 4326"

[OpenLayers-Users] Function setCenter

2009-02-18 Thread Marcello Brunaldi
I have a base layer of google where I inserted the marker whose GeoRSS point coordinates in EPSG: 4326; to be displayed correctly, I had to insert the projection option: * new1 [0] = new OpenLayers.Layer.GeoRSS ( 'GeoRSS', 'GeoRSS / blu.xml', ( 'projection': new OpenLayers.Projection ( "EPSG: 4326"

[OpenLayers-Users] Function setCenter

2009-02-18 Thread Marcello Brunaldi
I have a base layer of google where I inserted the marker whose GeoRSS point coordinates in EPSG: 4326; to be displayed correctly, I had to insert the projection option: * new1 [0] = new OpenLayers.Layer.GeoRSS ( 'GeoRSS', 'GeoRSS / blu.xml', ( 'projection': new OpenLayers.Projection ( "EPSG: 4326"

Re: [OpenLayers-Users] GML and KML styleMap

2009-02-18 Thread goliah
Hi Arnd, you are right, the "extendedData" section isn't parsed by OpenLayers.Format.KML. As a workaround, i wrote a Python script which copies data found in the extendedData section to the format Something read by OL. The script is here, if someone is interested: http://www.maurob.org/?q=node

Re: [OpenLayers-Users] zIndexing across multiple vector layers

2009-02-18 Thread dalsinao
Hi again, Thanks a lot for your answers, they have been really very helpful and I've managed to solve my problem. Below I added a couple of comments to your comments to explain what I've done. Thanks again to both of you, David > >Hi, > >On Tue, Feb 17, 2009 at 11:26 AM, dalsinao wrote: >> Ok,

Re: [OpenLayers-Users] General Question to understand OL-code more "from the base on"

2009-02-18 Thread Alexandre Dube
Hi Kai, What loadURL does is an AJAX request so the object your setHTML function receive is an AJAX response and responseText is one of its properties. You can learn more at : http://www.w3schools.com/dom/dom_http.asp Learn more with one of the best javascript teacher : firebug. If you

[OpenLayers-Users] General Question to understand OL-code more "from the base on"

2009-02-18 Thread Kai Behncke
Dear list, I have got a question to understand better OpenLayers-code. Let`s take "getFeatureInfo.html" (of the examples) For example it`s written: OpenLayers.loadURL(url, '', this, setHTML); function setHTML(response) { OpenLayers.Util.getElement('nodeList').innerHTML = respon

[OpenLayers-Users] Evaluation of a OL-project

2009-02-18 Thread Dipl. Inf. Carsten Eider
Hi list(s), in novembre 2008 i posted a message about a OL-baes geoEditor which is available under https.//143.93.78.98/geoEditor2/ (demo/epmty) This proof-of-concept has been used by several people. We just have to do a limited evaluation on this project, so i am looking for people who are intere

Re: [OpenLayers-Users] WFS ProxyHost

2009-02-18 Thread Arnd Wippermann
Hi Raphael, perhaps you can provide some informations what's not working. If your WFS server and your page on the same domain, you need no proxy script. When I started using WFS request, i needed some time to get it work. First I had the problem to configure my MapServer for WFS requests.

Re: [OpenLayers-Users] WFS ProxyHost

2009-02-18 Thread Kai Behncke
Hello, I took the one "proxy.cgi" that lies in the examples-directory of the openlayers-code. Copied it on a linux-server, got some problems, did dos2unix and it worked perfectly. The only thing you might need to change is: allowedHosts = ['www.openlayers.org', 'openlayers.org',

Re: [OpenLayers-Users] WFS ProxyHost

2009-02-18 Thread Raphael Saldanha
Thanks Kai, But I dont have an idea how to write a proxy... do you know where can I find some tips or a generic one? On Wed, Feb 18, 2009 at 8:01 AM, Kai Behncke wrote: > Dear Raphael, > > I had also some problems with the wfs proxy-host. > > In my case it was because I wrote the code of the p

Re: [OpenLayers-Users] WFS ProxyHost

2009-02-18 Thread Kai Behncke
Dear Raphael, I had also some problems with the wfs proxy-host. In my case it was because I wrote the code of the proxy-host on a Windows-Machine and loaded it on a linux-server, there were some problem with the word wraps then (maby by coincidence you have the same error). I solved it with a