Re: [OpenLayers-Users] Moving LayerSwitcher position from top-right corner to bottom-left corner

2010-07-16 Thread Adrian Popa
No ideas on this one? Is it difficult to implement or nobody has tried it until now? On 07/14/2010 02:20 PM, Adrian Popa wrote: Hello, I'm trying to move the layer switcher button from the top-right corner of the map to the bottom-left corner. I have done this before with 2.8, but I ended

Re: [OpenLayers-Users] MapFish vs OpenLayers

2010-07-16 Thread Vidal, Antoni
Hello Bart and Hugo, I'm new with MapFish, I've just installed and done some basic tests. First of all, I don't understand how it works pylons virtual environment. Anyway, I'm interested in client side of MapFish to build a Rich web mappinng application. Now We use OL over an apache

Re: [OpenLayers-Users] Moving LayerSwitcher position from top-right corner to bottom-left corner

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Please read up on css. It is all controlled with css. Best regards, Bart No ideas on this one? Is it difficult to implement or nobody has tried it until now? On 07/14/2010 02:20 PM, Adrian Popa wrote: Hello, I'm trying to move the layer switcher button from the top-right corner of the

Re: [OpenLayers-Users] MapFish vs OpenLayers

2010-07-16 Thread Bart van den Eijnden (OSGIS)
If you are only interested in the client-side, I would suggest looking at GeoExt: http://www.geoext.org Best regards, Bart Hello Bart and Hugo, I'm new with MapFish, I've just installed and done some basic tests. First of all, I don't understand how it works pylons virtual environment.

Re: [OpenLayers-Users] Correct layerUrls syntax

2010-07-16 Thread Andreas Hocevar
Hi, this thread should answer your question: http://getsatisfaction.com/opengeo/topics/error_in_wmsgetfeatureinfo Regards, Andreas. On Jul 15, 2010, at 23:51 , mcpiper wrote: Hi, I'm using geowebcache and trying to get WMSgetFeatureInfo to work but haven't been able to find an example of

Re: [OpenLayers-Users] Change the background color of the WMS layer

2010-07-16 Thread Sarah Schuessler
Hi, try using .png or .gif images. best regards Sarah Von: Jehanzeb Orakzai jehanzeb_orak...@yahoo.com An: users@openlayers.org Gesendet: Donnerstag, den 15. Juli 2010, 21:16:34 Uhr Betreff: [OpenLayers-Users] Change the background color of the WMS layer

Re: [OpenLayers-Users] Need help with WMSGetFeatureInfo

2010-07-16 Thread Sarah Schuessler
Hi, do you want to show only ux and uy or do you want to do a wmsgetfeatureinforequest with that? best regards Sarah Von: Zuhex gmd...@hotmail.com An: users@openlayers.org Gesendet: Freitag, den 16. Juli 2010, 7:31:10 Uhr Betreff: [OpenLayers-Users] Need help

Re: [OpenLayers-Users] Need help with WMSGetFeatureInfo

2010-07-16 Thread Zuhex
Hi Sarah, Sorry for the question is not clear. I want to do a wmsgetfeatureinforequest. Do you have any suggestion? Thank you -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Need-help-with-WMSGetFeatureInfo-tp5300515p5300775.html Sent from the OpenLayers Users

Re: [OpenLayers-Users] Need help with WMSGetFeatureInfo

2010-07-16 Thread Sarah Schuessler
Hi, did you see this (you can even look at examples pages of OL): var infoControls = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://x:8080/geoserver/wms?', title: 'Identify features', infoFormat: 'text/plain',

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Piero Campa
Any clues about this? I'm trying with: myLayer = new OpenLayers.Layer.WMS('myLabel' WMSURL, {layers: myMap.geotiff, transparent: 'true',

Re: [OpenLayers-Users] How to get get the WMS-layer's parameters

2010-07-16 Thread Piero Campa
Hi Tim, ok so you can get the HTTP WMS request URL of a certain layer with that: var request = layer.getURL(map.getExtent()); where you input the BBOX. But whether I want to test which was the actual BBOX I requested when I did the HTTP request? How do I get the HTTP WMS GetMap request I did

Re: [OpenLayers-Users] How to get get the WMS-layer's parameters

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Hi Piero, just check the Net tab of Firebug. Best regards, Bart Hi Tim, ok so you can get the HTTP WMS request URL of a certain layer with that: var request = layer.getURL(map.getExtent()); where you input the BBOX. But whether I want to test which was the actual BBOX I requested when

[OpenLayers-Users] OpenLayers in an Eclipse Workbench!?

2010-07-16 Thread Falko Bräutigam
Hello all, my name is Falko Bräutigam. I'm a core developer of the POLYMAP3 project. I would like to introduce this project here to see what other OpenLayers users think about the idea of bringing together the power of OpenLayers, Eclipse Workbench, OSGi and GeoTools. POLYMAP3 aims to provide

[OpenLayers-Users] customize PanZoomBar

2010-07-16 Thread Gilbert, Antoine
Hi list I'm trying to find info about how to customize the PanZoomBar First I would like to customize the height of the default one, my map is in fractionnedZoom mode and I would like the zoom bar having a defined height, how I do that, I have to play with css styles I guess ? How about

Re: [OpenLayers-Users] Correct layerUrls syntax

2010-07-16 Thread mcpiper
Thanks Andreas, I had it backwards. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Correct-layerUrls-syntax-tp5299551p5301736.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing list

Re: [OpenLayers-Users] customize PanZoomBar

2010-07-16 Thread BMcBride
Antoine, You may be interested in this: http://mapbox.com/documentation/adding-tiles-your-site/openlayers-themes http://mapbox.com/documentation/adding-tiles-your-site/openlayers-themes . You can replace the images in your openlayers img directory and modify the css in the theme\default

[OpenLayers-Users] working with features

2010-07-16 Thread ulao
Here is the code I'm using to create var linearRing = new OpenLayers.Geometry.LinearRing(points); var obj = new OpenLayers.Geometry.Polygon([linearRing]); var polygonFeature = new OpenLayers.Feature.Vector( obj ); shapeLayer.addFeatures(polygonFeature)

Re: [OpenLayers-Users] WFS reprojection help

2010-07-16 Thread Ian Turton
On Thu, Jul 15, 2010 at 10:13 PM, christopher.schm...@nokia.com wrote: Hi, I have a map that I think should work at:  http://crschmidt.net/mapping/mas/wfs-states.html This is a minimal modification of the wfs-states.html included in the examples. Specifically, I've added:  * Proj4js

[OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Eduardo Ramos
Hello I'm having a real hard time changing my OpenLayers.Layer.WFS request to the OpenLayers.Layer.Vector with OpenLayers.Protocol.WFS. I've been reading and experimenting all available examples that I was able to find and the API documentation (wich, by the way, didn't help very much) for 2

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Without seeing your actual WFS it is hard to help. But here it goes: 1) featureType should be MonkeyIsland 2) check if your featureNS does not end with / in the XML returned by your WFS, this would also break the parser. So maybe http://www.mapinfo.com/wfs/ instead of http://www.mapinfo.com/wfs

Re: [OpenLayers-Users] WFS reprojection help

2010-07-16 Thread christopher.schmidt
On Jul 16, 2010, at 9:40 AM, ext Ian Turton wrote: On Thu, Jul 15, 2010 at 10:13 PM, christopher.schm...@nokia.com wrote: Hi, I have a map that I think should work at: http://crschmidt.net/mapping/mas/wfs-states.html This is a minimal modification of the wfs-states.html included in

Re: [OpenLayers-Users] WFS reprojection help

2010-07-16 Thread Zoran Jankovic
Hi Christopher, Maybe this will help: try using proj4js-compressed.js, instead of proj4js. It worked for me, when I had trouble with compatibility (IE, FF, Chrome). BR, --- Zoran Jankovic ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and Consulting http://www.zisis.hr M: 00

Re: [OpenLayers-Users] WFS reprojection help

2010-07-16 Thread christopher.schmidt
On Jul 16, 2010, at 10:02 AM, ext Zoran Jankovic wrote: Hi Christopher, Maybe this will help: try using proj4js-compressed.js, instead of proj4js. It worked for me, when I had trouble with compatibility (IE, FF, Chrome). Zoran: Perfect! That did what I needed. This is what I get for

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Eduardo Ramos
Well, thanks for the quick response. The WFS response to 'http://localhost:2006/GetFeature.ashx?service=WFSversion=1.0.0request=GetCapabilities' is: WFS_Capabilities xsi:schemaLocation=http://www.opengis.net/wfs

Re: [OpenLayers-Users] working with features

2010-07-16 Thread ulao
g. LOL Ok half the trouble is that thing dont update untill I zoom in or out. Is there a reDraw or update function? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/working-with-features-tp5301904p5302158.html Sent from the OpenLayers Users mailing list archive at

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Eduardo, featureNS should be http://www.mapinfo.com/wfs in your case. What do you see using Firebug? Does the request go off at all? Does the WFS respond with a proper FeatureCollection? Can you share a snippet of the response? Best regards, Bart Well, thanks for the quick response. The

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Eduardo José Ramos
Bart, thanks for your time. The request doesn't go off at all... firebug console is empty. No javaScript errors or warnings... It adds the layer name to the layer control but nothing else happens. Edu -Original Message- From: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl]

Re: [OpenLayers-Users] Moving LayerSwitcher position from top-right corner to bottom-left corner

2010-07-16 Thread Adrian Popa
I studied CSS extensively the past two days, and I sort of managed to move it, but I still have two problems: 1. I can't position the layer-switcher-maximize button if I want to add an offset measured from the bottom (bottom: 40px). I can only display it if I specify an offset from the top -

Re: [OpenLayers-Users] working with features

2010-07-16 Thread Gilberto Ramos
Hi, Always be sure to mention the OL version you are using! Try to use the last version of course. If you have a doubt about what the API offers to you and how it works, please take your time to read the documentation:

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Ian Turton
On Fri, Jul 16, 2010 at 10:46 AM, Piero Campa piero.ca...@gmail.com wrote: Shall I create manually the HTTP request with OpenLayers.Ajax.Request? It is anyway weird that in the params section of the OpenLayers.Layer.WMS object you can set LAYER, FORMAT, TRANSPARENT, etc. of the HTTP request,

Re: [OpenLayers-Users] MapFish vs OpenLayers

2010-07-16 Thread Brent Fraser
Antoni, Have a look at GeoMoose (http://www.geomoose.org/). It uses Openlayers, with some additional Javascript to provide a starter mapping application. It also (optionally) uses some PHP along with Mapserver's Mapscript to do some server-side processing. Best Regards, Brent Fraser

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Piero Campa
Ok Ian, right. (Thanks) So you mean that you would download also data outside the viewport in certain cases? But, especially if the BBOX is small, this wouldn't be a huge problem. Or am I missing something? -- View this message in context:

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Bart van den Eijnden (OSGIS)
If you want the BBOX to be exactly the visible part, use ratio 1 and buffer 0 in the layer options. So: var layer = new OpenLayers.Layer.WMS(null, url, {layers: 'foo'}, {singleTile:true, buffer:0, ratio:1}); Best regards, Bart Ok Ian, right. (Thanks) So you mean that you would download also

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Gilberto Ramos
What server are you using? var layer = new OpenLayers.Layer.Vector(Guybrush Threepwood, { strategies: [new OpenLayers.Strategy.BBOX()], projection: new OpenLayers.Projection(EPSG:4326), protocol: new OpenLayers.Protocol.WFS({ version: 1.1.0,

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Piero Campa
Good point Bart, but I'd like to select a small portion of the map instead. Putting a ratio1 the layer would be reduced indeed, but centered with respect to the viewport. I'd rather specify where exactly to extract the data. -- View this message in context:

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Then use an image layer? Best regards, Bart Good point Bart, but I'd like to select a small portion of the map instead. Putting a ratio1 the layer would be reduced indeed, but centered with respect to the viewport. I'd rather specify where exactly to extract the data. -- View this

Re: [OpenLayers-Users] MapFish vs OpenLayers

2010-07-16 Thread Gilberto Ramos
Mapfish client = GeoExt + Openlayers GeoExt = ExtJS + Openlayers I use Mapfish just as client! It has very nice widgets that would safe you a couple of hours coding.. The result is the same you would obtain coding with GeoExt because both use ExtJS (BTW, now

Re: [OpenLayers-Users] MapFish vs OpenLayers

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Hi Gilberto, can I correct one point you made? ExtJS is *not* called Sencha. The product name is unchanged. The company behind the product has changed its name, that's all. Best regards, Bart Mapfish client = GeoExt + Openlayers GeoExt = ExtJS + Openlayers I use Mapfish just as client!

Re: [OpenLayers-Users] MapFish vs OpenLayers

2010-07-16 Thread Yves Moisan
Le 2010-07-16 11:19, Gilberto Ramos a écrit : Mapfish client = GeoExt + Openlayers GeoExt = ExtJS + Openlayers I use Mapfish just as client! It has very nice widgets that would safe you a couple of hours coding.. The result is the same you would obtain coding with GeoExt because both use

Re: [OpenLayers-Users] Doing something when the layer's features get deleted

2010-07-16 Thread Adrian Popa
I managed to find this (and fix my problem) for myself - by using beforefeatureremoved event: markers.events.on({ featureselected: onMarkerSelect, featureunselected: onMarkerUnselect, visibilitychanged: onMarkerToggle, beforefeatureremoved:

Re: [OpenLayers-Users] Get the value of the element of an XML File

2010-07-16 Thread Gilberto Ramos
Hi, If you're using OL 2.9.1 you have plenty functions to access the data.. just take a look at the OL Class Documentation for OpenLayers.Format.XML - http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Format/XML-js.html

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Eduardo José Ramos
Hi I've updated my reques as you sugested. Now I'm having this error: this.writers[prefix][local] is undefined [Break on this error] var child=this.writers[prefix][local]f(parent){parent.appendChild(child);} Openlayers.js (line 790) At least is better than no error and no response :)

Re: [OpenLayers-Users] Working with Openlayers.Layer.Vector and WFS

2010-07-16 Thread Eduardo Ramos
I'm working with IIS 7 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Working-with-Openlayers-Layer-Vector-and-WFS-tp5301971p5302694.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Piero Campa
Uhm... yes, I can see that you can specify the bounds of an Image layer. But I don't have an URL of the raster (I'm trying to catch it without success), I can retrieve it only via WMS. -- View this message in context:

Re: [OpenLayers-Users] working with features

2010-07-16 Thread ulao
I dont see how to figure that out, but I downloaded the latest's stable. Anything that still does nto work I will just post a reply here. I know the object is ready as some properties work and other seem not to be there. Perhaps is was the version I was using as the js file size was not the same.

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Piero Campa
Actually with the OpenLayers.Layer.Image you download the WHOLE image then you decide where to put it... I'd like to exploit the WMS BBOX ability to extract portions of rasters... -- View this message in context:

[OpenLayers-Users] Noob question. I get my overlay when I have no base layer...

2010-07-16 Thread Jeff Heard
I have the following code, which shows my overlay layer (news) when I take out the google layer, but doesn't show it when I leave the google layer in. Have I done something wrong that should be obvious to me? I assume it's either only loading the base layer or is layering them in the wrong

Re: [OpenLayers-Users] working with features

2010-07-16 Thread Gilberto Ramos
To make sure your features are already loaded when you call them, code within the 'loadend' event function: function functionName(event) { for (var i = 0; i layer.features.length; i++){ var featureGeom = layer.features[i].geometry; alert(featureGeom); } }

Re: [OpenLayers-Users] Set Bbox of WMS request

2010-07-16 Thread Rossko
Shall I create manually the HTTP request with OpenLayers.Ajax.Request? That seems to be exactly what you need to do, so that you can set your BBOX completely unrelated to the current map's size or position. -- View this message in context:

Re: [OpenLayers-Users] Need help with WMSGetFeatureInfo

2010-07-16 Thread Zuhex
Hi, I tried to change the line map.getLonLatFromPixel(event.xy) to map.getLonLatFromPixel(ux,uy) It still don't work, I think because I want to show a popup without clicking on the map. Otherwise I received xy from the users put in it. I think those codes are processed when clicking on map.

Re: [OpenLayers-Users] Get the value of the element of an XML File

2010-07-16 Thread Kalyan Kamepalli
Arnaud, I want to implement exactly the same thing in my project. I made a Ajax request same as you with onSuccess function defined in the same JS file. The problem for me is, the function defined for onSuccess event is not recognized and the browser showing an error message saying that the

[OpenLayers-Users] How to make a OpenLayers plugin?

2010-07-16 Thread joi d
I am working with Sahana Disaster Management System. Part of my project is to make a OpenLayers plugin in Sahana for GIS. How do I do that? Any help would be highly appreciated. Thank you. -- View this message in context:

[OpenLayers-Users] Tile Cache

2010-07-16 Thread Kalyan Kamepalli
Hello group, Could some one share me their Tile Cache experiences please. I want implement the same with WMS layer. I tried to browse some information on installation and configuration of cache.But, couldn't find any. How difficult is it to implement ? Is it as simple as using OpenLayers library

Re: [OpenLayers-Users] Tile Cache

2010-07-16 Thread Cédric MOULLET
Hi, The big advantage of tiling technologies is that you avoid data extraction and rendering on the server side. This implies less server load and higher performance. Disadvantages are that the tiles need to be pregenerated and style is predefined. You can find more information here: