Re: [OpenLayers-Users] Adding Feature to WFS in Vector Layer / Copying Features

2009-08-13 Thread Fabian Patzke
I made progress and it works now for me, but I stumbled over some weird behaviour further posting is an dev-list see: http://n2.nabble.com/Adding-Feature-to-WFS-in-Vector-Layer---Copying-Features-tp3416461p3435981.html Fabian Patzke wrote: I moved a bit further with my efforts. My

[OpenLayers-Users] Automatic zooming to map points based on elements selected from drop-down lists

2009-08-13 Thread Surya Tarigan
Dear list,   would somebody give hints or share javascript codes on how to automatically zooming to map points based on elements selected from drop-down lists.    best regards,   surya ___ Users mailing list Users@openlayers.org

[OpenLayers-Users] Using OpenLayers with a non WMS-Service

2009-08-13 Thread Thomas Buschhardt
Hallo, I want connect OpenLayers with a non WMS-map programm. I wrote a little php-Script as a bridge to this map-programm and Im able to request. I can zoom-in and pan in this map but Im unable to zoom-out. I think I dont understand the logic of the boundig-box of OpenLayers. I add a

[OpenLayers-Users] Using Openlayers with Tile and Export Image doesnt overlap

2009-08-13 Thread RajeevSharma
Hello, I am using Open Layers for the first time, and would like to display maps from multiple services. 1. A Tiled map service which forms the background. 2. One or more Dynamic map services which will be used to overlay on top of the first service. I am using the XYZ and ArcGIS93Rest

[OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Manuel Albela Miranda
Hi everybody!, I have one GML layer where some of the points are in the same location, so I'm wondering if it's possible to get all the features that are at that location when you click on it by using the SelectFeature control or if there is another way to do that. Thank you very much in

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Ivan Grcic
Hi, cant you use box selection? Or it HAS to be click? On Thu, Aug 13, 2009 at 12:12 PM, Manuel Albela Mirandamanuel.alb...@gmail.com wrote: Hi everybody!, I have one GML layer where some of the points are in the same location, so I'm wondering if it's possible to get all the features that

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Manuel Albela Miranda
Hi Ivan, I already have it working with the box selection, but for the user it will be easier to click on a point and get all the different features related to it. The selection box works perfect for multiple points, but when you need the precision of one point I think it will be more user

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Ivan Grcic
maybe faking selectBox after feature has been selected? onSelect : function(feature){ this.selectBox( /* calculate box from feature.geometry */) } On Thu, Aug 13, 2009 at 1:15 PM, Manuel Albela Mirandamanuel.alb...@gmail.com wrote: Hi Ivan, I already have it working with the box selection,

Re: [OpenLayers-Users] Disappearing layers

2009-08-13 Thread Jerome Freyre
Hi Eoinyp, I watched your code. I think you made a mistake with the zoom level on the function map.setCenter(). Try to modify the line like that: map.setCenter(new OpenLayers.LonLat(17, 43), 12); It should work ;) Here is the copy of your code that I used and modify: map = new

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Jerome Freyre
Hi Manuel, Another way should be the use of the cluster strategy. If you activate the strategy, all closest points are transform in one feature called cluster. And the cluster contains points so you can easily display informations about your points.

Re: [OpenLayers-Users] Automatic zooming to map points based on elements selected from drop-down lists

2009-08-13 Thread Jerome Freyre
Hi Surya, If you can recover coordinates of your elements in drop-down list, you can call the function : map.setCenter(new OpenLayers.LonLat(selectedElementLongitude, selectedElementLatitude)); And if there is multiple element selected, you have to create a bounding box and zoom to the extent:

[OpenLayers-Users] Fw: Projection issue

2009-08-13 Thread Mr. Rahul Teni
Resending it again ;-) now removed tile.php and config.php also. Thanks, Rahul G. Teni MS BITS,BE Comp 9822564489 --- On Thu, 8/13/09, Mr. Rahul Teni rahul_g_t...@yahoo.com wrote: From: Mr. Rahul Teni rahul_g_t...@yahoo.com Subject: Fw: Projection issue To: users@openlayers.org Date:

Re: [OpenLayers-Users] Using Openlayers with Tile and Export Image doesnt overlap

2009-08-13 Thread Christopher Schmidt
On Thu, Aug 13, 2009 at 05:05:18AM -0500, RajeevSharma wrote: Hello, I am using Open Layers for the first time, and would like to display maps from multiple services. 1. A Tiled map service which forms the background. 2. One or more Dynamic map services which will be used to overlay on

[OpenLayers-Users] Defining WFS-filter dynamically

2009-08-13 Thread Kai Behncke
Dear users, I try to set a WFS-filter dynamically. I set an array with: for(var i=0;iy.length;i++){ the_filter= 'new OpenLayers.Filter.Comparison({type: OpenLayers.Filter.Comparison.EQUAL_TO,property: objekt_id,value:'+y[i]+'}),'; filter_array.push(the_filter); }

Re: [OpenLayers-Users] Disappearing layers

2009-08-13 Thread eoinyp
Perfect! :) Thank you Jerome. --- On Thu, 13/8/09, Jerome Freyre (via Nabble) ml-user+114850-1335474...@n2.nabble.com wrote: From: Jerome Freyre (via Nabble) ml-user+114850-1335474...@n2.nabble.com Subject: Re: [OpenLayers-Users] Disappearing layers To: eoinyp eoi...@yahoo.com Date: Thursday,

Re: [OpenLayers-Users] Disappearing layers

2009-08-13 Thread Jerome Freyre
You're welcome ;) Le 13 août 09 à 15:52, eoinyp (via Nabble) a écrit : Perfect! :) Thank you Jerome. --- On Thu, 13/8/09, Jerome Freyre (via Nabble) [hidden email] wrote: From: Jerome Freyre (via Nabble) [hidden email] Subject: Re: [OpenLayers-Users] Disappearing layers To: eoinyp

Re: [OpenLayers-Users] Question about GML/WFS compatibility and Styling

2009-08-13 Thread Aaron_Gundel
Sorry Christopher, I replied to you but I don't think I cc'd the list. Anyway... Yes, my html is hosted at a different origin. Yes, I am using a proxy. Yes, firebug is showing the file loading up. The URL does contain the requested data and the features are contained within the GML.

Re: [OpenLayers-Users] Question about GML/WFS compatibility and Styling

2009-08-13 Thread Christopher Schmidt
On Thu, Aug 13, 2009 at 09:44:32AM -0700, aaron_gun...@sjwater.com wrote: Sorry Christopher, I replied to you but I don't think I cc'd the list. Anyway... Yes, my html is hosted at a different origin. Yes, I am using a proxy. Yes, firebug is showing the file loading up. The URL does

Re: [OpenLayers-Users] Displaying a popup on mouse over AND a different popup on click. [SOLVED]

2009-08-13 Thread Esteban olm
Hi, I'm sorry, but I have a problem. When I implement this, I can pan the map, and when I go over a marker, A popup appears, and when I go out of the marker, the popup disappear. That's ok, but after the popup has appear an disappear, now I can not pan the map. Maybe the popup has deactivated

Re: [OpenLayers-Users] Question about GML/WFS compatibility and Styling

2009-08-13 Thread Aaron_Gundel
Not a problem, Christopher... Here's the raw response I get back from geoserver (minus a couple of unrelated and superflouous elements)... wfs:FeatureCollection xsi:schemaLocation=http://devinside.sjwater.com/

Re: [OpenLayers-Users] Question about GML/WFS compatibility and Styling

2009-08-13 Thread Christopher Schmidt
On Thu, Aug 13, 2009 at 10:12:30AM -0700, aaron_gun...@sjwater.com wrote: Not a problem, Christopher... Here's the raw response I get back from geoserver (minus a couple of unrelated and superflouous elements)... wfs:FeatureCollection xsi:schemaLocation=http://devinside.sjwater.com/

Re: [OpenLayers-Users] Defining WFS-filter dynamically

2009-08-13 Thread Kai Behncke
Dear users, I try to set a WFS-filter dynamically. I found a solution now. If I get e.g a list of comma-separated objekt_ids (4,20,56,.) that shall be filtered in the wfs I do: suchobjekte = new String(suchobjekte); y=suchobjekte.split(,); var filter_body; var filter_header

Re: [OpenLayers-Users] Question about GML/WFS compatibility and Styling

2009-08-13 Thread Aaron_Gundel
You're correct, Christopher. I was mistaken. I copied and pasted out of Firefox's xml viewer, which for some reason strips out the namespace information. ?xml version=1.0 encoding=UTF-8?wfs:FeatureCollection xmlns=http://www.opengis.net/wfs; xmlns:wfs=http://www.opengis.net/wfs;

Re: [OpenLayers-Users] Displaying a popup on mouse over AND a different popup on click. [SOLVED]

2009-08-13 Thread Alexandre Dube
Hi, Esteban olm wrote: Hi, I'm sorry, but I have a problem. When I implement this, I can pan the map, and when I go over a marker, A popup appears, and when I go out of the marker, the popup disappear. That's ok, but after the popup has appear an disappear, now I can not pan the map.

[OpenLayers-Users] Measure Control - hover label?

2009-08-13 Thread Heidt, Christopher M.
I have a MeasureControl setup to draw a line, now I need it to show distance on hover. I've used graphicTitle to do this in the past, but I cant seem to figure out how to do the same when the feature is built with the control. I can listen for the measure event, but the vector doesn't appear to

Re: [OpenLayers-Users] CGI and Tomcat

2009-08-13 Thread Juan Arévalo
Hola, Seguimos teniendo problemas con la configuración del proxy. Te cuento un poco los pasos que hemos seguido. Primero de todo nos hemos bajado el fichero proxy.cgi y instalado python 3.1. Luego hemos modificado la primera linea del proxy.cgi y hemos puesto: #!c:/python31/python.exe -u

Re: [OpenLayers-Users] Question about GML/WFS compatibility and Styling

2009-08-13 Thread Aaron_Gundel
Thanks for your help Christopher. I was able to get this working by switching my gml version out and reprojecting to my base map coordinate system. It is working well now. :) Aaron Christopher Schmidt crschm...@metacarta.com 08/13/2009 10:19 AM To aaron_gun...@sjwater.com cc

[OpenLayers-Users] ArcGIS Tiled Map and tokens

2009-08-13 Thread David Wright
Hello Users, A couple of questions here. First, http://dev.openlayers.org/sandbox/august/documentation/agsControl_instructio ns.pdf provides a plugin for OpenLayers 2.6 that supports ArcGIS Server TiledMap service layers. I have been watching for this functionality in the 2.7 and 2.8

[OpenLayers-Users] beforefeatureadded event not firing on Layer

2009-08-13 Thread John Cartwright
Hello All, I have OpenLayers.Layer.Vector layer on which I've defined the beforefeatureadded and beforefeaturesadded events, e.g. vectors.events.on({beforefeaturesadded: report, beforefeatureadded: report}); Then I'm adding features to this layer using the OpenLayersControlDrawFeature control.

Re: [OpenLayers-Users] Displaying a popup on mouse over AND a different popup on click. [SOLVED]

2009-08-13 Thread Adrian Popa
Hello Esteban, Most likely after the popup closes there is a javascript error in your page and navigation breaks (zooming in/out shouldn't work at this point). Use firebug to see if you get an error in the console. Esteban olm wrote: Hi, I'm sorry, but I have a problem. When I implement