[OpenLayers-Users] How to remove the default blue PanZoom control - explained

2009-09-04 Thread Jan Henrik Øverland
Hi, I get a lot of questions from people trying to remove the default PanZoom map control. I recommend this solution: The following controls are given to the map by default: - OpenLayers.Control.Navigation

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread gustavo palminha
Hy there. First of all let me say nice webgis, realy good those menus are well made. After testing your browser, i pressed the (i) button with the tool tip troggle query and i click on the map, then i got asp for download, after download it got xml code with the message " WMS server error. Invalid

Re: [OpenLayers-Users] Has anyone got WFS-T working with SDE files ?

2009-09-04 Thread cgp
Hi Ian, Thanks for pointing me in the right direction. I'm new to OpenLayers and GeoServer so I didn't even know that I could use that Sample Requests page to test my POSTs. Anyway, I did more testing and the behaviour of my application is very random. The requests I make return valid Responses

Re: [OpenLayers-Users] Has anyone got WFS-T working with SDE files ?

2009-09-04 Thread cgp
Hi Ian, Thanks for pointing me in the right direction. I'm new to OpenLayers and GeoServer so I didn't even know that I could use that Sample Requests page to test my POSTs. Anyway, I did more testing and the behaviour of my application is very random. The requests I make return valid Responses

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread Arnd Wippermann
Hi, I have to set the active layer for the map to reference that layer afterwards with a mouse click. http://gis.ibbeck.de/ginfo/apps/OL27Client/OL27ClientGis.asp?WMC=./data/WMC/ !Google_World.wmc.xml Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...

Re: [OpenLayers-Users] Has anyone got WFS-T working with SDE files ?

2009-09-04 Thread Ian Turton
On Fri, Sep 4, 2009 at 11:14 AM, cgp wrote: > > And not just the normal shape files? I have got my SDE layers displaying but > they are not saving at all. I tried working with normal shape files and they > are all working fine.  Here is what I have: > Does it work from the sample requests page of

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread gustavo palminha
Hello. As you say "set opacity or remove layer." But the idea would be to reference that layer with a click on the map. Do you do that? And if so how? Regards. GP Arnd Wippermann wrote: > > Hi, > > I use in my application the possibility to set the active layer for the > map. > > > With t

Re: [OpenLayers-Users] How to change the display coordinates

2009-09-04 Thread fsalas
Andreas , I test your solutions but openlayer show the standard coordinates format ej. -79.456,21.2365 Why, the formatOutput don't affect ? .. . . map.addControl(mp); Regards, salas. - Original Message - From: "Andreas Hocevar" To: "users" Sent: Friday, September 04, 2009 9:13 AM

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread François Van Der Biest
On Fri, Sep 4, 2009 at 5:34 PM, wrote: > I was using this key in the first place > "gml_include_items" "ad,quintmat,quintsoc" which returns this.The problem > still there. Is it an expected response? Yes it is. > Is there a node missing? Nope. I'm not aware of a way to include the geometry in

Re: [OpenLayers-Users] different resolutions on x/y axis possible?

2009-09-04 Thread David Fawcett
If the data was served as a WMS, could one exploit the non-square pixels 'feature' of the WMS spec? What if one requested a 200 x 2000 px image with an extent (in local coordinates) of 0 0 2 2000. (I am not used to working with image coordinates, so I may have the order mixed up). Just a theory.

[OpenLayers-Users] Highlight on hover

2009-09-04 Thread Steve . Toutant
Yes geom900913 is correctly referenced as well as the 2 other geometries. geom900913 is not considered as an attribute though, but the others are. The behavior is fine I think. I was using this key in the first place "gml_include_items" "ad,quintmat,quintsoc" which returns this.The problem still

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread François Van Der Biest
OK, I know what's going on. You've got 3 geometry columns, but mapserver uses only the one which is declared in geometry_colums table. But MapServer lacks the ability to send the geometry. It sends all the attributes. Other geometry columns are considered as attributes, and that's why you wee them

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread François Van Der Biest
I've never seen that before ;-) MapServer considers your geometry column as an attribute ! Are your sure geom900913 is correctly referenced as the geom column name for lim_admin.inddef_2006 in your postgis geometry_columns table ? HTH, F. On Fri, Sep 4, 2009 at 5:06 PM, wrote: > > What I meant

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread Arnd Wippermann
Hi, I use in my application the possibility to set the active layer for the map. With this I am able to accomplish general functions like set opacity or remove layer. And I can decide, which special functions are possible for this layer. I.e. if it is WMS layer, i can do a GetFeatureInfo request

[OpenLayers-Users] Has anyone got WFS-T working with SDE files ?

2009-09-04 Thread cgp
And not just the normal shape files? I have got my SDE layers displaying but they are not saving at all. I tried working with normal shape files and they are all working fine. Here is what I have: var saveStrategy = new OpenLayers.Strategy.Save({auto:true}); var wfs_layer =

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread François Van Der Biest
I'm not sure to understand what your "continue" button is, and where your features come from, since you've got no geometry in the returned GML.. But 010620E61001000 . 010620 ... clearly looks like WKB ! (which could explain why the format complains - it's waiting for GML, not W

Re: [OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Florian Diederichs
Hi Andreas, thanks a lot for the tip, although now that i know, i'm feeling a bit bad because i didn't figure that out by myself ;) Regards Florian Andreas Hocevar-2 wrote: > > Hi Florian, > > if your application is based on the stragety-cluster example, then you > won't have the count in yo

Re: [OpenLayers-Users] Re : Re: Re : Re: Re : Re: edit data oracle

2009-09-04 Thread Christopher Schmidt
On Fri, Sep 04, 2009 at 04:17:52PM +0200, YOUNESS ELMEDRAOUI wrote: > size=2>But FeatureServer support OGR and OGR support Oracle (R/W). My recommendation to you is the same as it was in the previous 4 emails on the topic: Use GeoServer. If you want to hack on FeatureServer, you'er welcome to, b

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread Steve . Toutant
I have 3 geometries in the postgis table that is queried. The bounds of geom900913 are returns but not the geometry attribute. -8212506.502737,5697097.841728 -8204853.558950,5702856.964043 But the 2 others geometries are returned. 010620E61001000 . 010620 ... Here is the

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread gustavo palminha
After studying the GetFeatureInfo example from openlayers i looked into the WSDL of the WMS server that was used for building the example. After looking into it there was references in the WSDL about the GetFeatureInfo. After a short look into the foruns about the GetFeatureInfo i had the feeling

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread Steve . Toutant
I got this in the response which is the same as the map projection. I forgot to say that even if the feature is added to the vector layer I get this message in line 724 of OpenLayers.js xmldom.loadXML(text);return xmldom;}),this),function(){return new DOMParser().parseFromString(text,'text/xml'

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread Andreas Hocevar
gustavo palminha wrote: > Hello andreas. > I bottom line is that i would like to create a sort of GetFeatureInfo for my > WMS layers. > I do not use mapserver or geoserver, instead i use manifold gis which doen > not provide a valid WSDL for a working GetFeatureInfo. > Wow, I was not aware that

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread François Van Der Biest
On Fri, Sep 4, 2009 at 4:13 PM, François Van Der Biest wrote: > Hi Steve. > > A potential reason is that the GML you're receiving does not use the > same SRS as the one of your map. > You may check this using FireBug. OK, you're using MapServer. Most probably, you've got no geometry in the GML res

[OpenLayers-Users] Re : Re: Re : Re: Re : Re: edit data oracle

2009-09-04 Thread YOUNESS ELMEDRAOUI
But FeatureServer support OGR and OGR support Oracle (R/W).Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'

Re: [OpenLayers-Users] How to change the display coordinates

2009-09-04 Thread Andreas Hocevar
Please provide a valid email address, and post follow-up questions to the list. You want me to show you how to calculate minutes and seconds? Here are two functions from Mapbuilder [1]: /** * Decimal to DMS conversion */ convertDMS = function(coordinate, type) { var coords = new A

Re: [OpenLayers-Users] Highlight on hover

2009-09-04 Thread François Van Der Biest
Hi Steve. A potential reason is that the GML you're receiving does not use the same SRS as the one of your map. You may check this using FireBug. I know GeoServer does not handle reprojecting features returned by WMS getFeatureInfo. Cheers, F. On Fri, Sep 4, 2009 at 3:52 PM, wrote: > > Hello,

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread gustavo palminha
Hello andreas. I bottom line is that i would like to create a sort of GetFeatureInfo for my WMS layers. I do not use mapserver or geoserver, instead i use manifold gis which doen not provide a valid WSDL for a working GetFeatureInfo. So my main goal would be to know how to discover a way to captur

Re: [OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread Andreas Hocevar
gustavo palminha wrote: > Hello to all. > I was trying to find a way to accomplish as stated in the subject. > But i was not able to fo it, so my question if it's posible? > Hope if anyone could share any ideas on this. > Regards. > Please provide a bit more context. Since all layers are vertic

[OpenLayers-Users] Highlight on hover

2009-09-04 Thread Steve . Toutant
Hello, With the code below, a GetFeatureInfo request is succesfully launched to mapserver when I stop moving the mouse. In firebug I see the XML response with the msGMLOutput tag. I can see that the highlightLayer has feature added to it but I don't see them on the map. Like there is no geometr

Re: [OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Andreas Hocevar
Hi Florian, if your application is based on the stragety-cluster example, then you won't have the count in your context. If you provide a context in your Style objedt, you don't have direct access to feature attributes. So your context should look like this: context: { radius: function(featur

Re: [OpenLayers-Users] Re : Re: Re : Re: edit data oracle

2009-09-04 Thread Christopher Schmidt
On Fri, Sep 04, 2009 at 01:53:27PM +0200, YOUNESS ELMEDRAOUI wrote: > size=2>Ok, i see, but can we use FeatureServer in this case? is it > possible? FeatureServer doesn't speak Oracle. Use GeoServer (as was recommended already, I believe.) Regards, -- Christopher Schmidt MetaCarta

Re: [OpenLayers-Users] Two important questions

2009-09-04 Thread Maren Kiehl
I solved it: 1. in style-block: cursor: "pointer" 2. in Navigation-Control: new OpenLayers.Control.Navigation({handleRightClicks: true}); --- Maren Kiehl schrieb: > Hi everyone. > > Here are my two questions: > 1. Is it possible to implement a property or fun

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

2009-09-04 Thread Surya Tarigan
Dear Jerome,   I don't know what is wrong with my script, the function go() in the script below doesn't react to the event on the dropdown list (onchange). I have two layers one wms from Geoserver and the other one tiling quickbird as a base layers. Could you please so  kindly take a look at my

Re: [OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Florian Diederichs
Hello, thanks for replying, i guess i should have mentioned, that i copy the attributes from the features to the clusters. However the attribute i wanted to use as the label is the 'cluster.attributes.count' which is there by default anyway, when i remember correctly. So in my case, the clusters

[OpenLayers-Users] Re : Re: Re : Re: edit data oracle

2009-09-04 Thread YOUNESS ELMEDRAOUI
Ok, i see, but can we use FeatureServer in this case? is it possible?Best regards,YounessLes informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est s

Re: [OpenLayers-Users] Show Icons only in Zoom 9 to 16

2009-09-04 Thread Jan Tappenbeck
Philip Bruvoll schrieb: > I think you can register a zoomend event. > Something like this : > > var olMap = new OpenLayers.Map(...) > var callBack = function(zoomLevel) {...} > olMap.events.register("zoomend", olMap, callBack); > > Then you can hide the markers in the callback function depending

Re: [OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Christopher Schmidt
On Fri, Sep 04, 2009 at 05:23:42AM -0500, Florian Diederichs wrote: > > Hi all, > > i've encountered a problem, trying to label my clusters. The label just says > "undefined" with my clustered layer, but works fine with my regular vector > layers. > > I labeled them the way it is show in the ex

Re: [OpenLayers-Users] different resolutions on x/y axis possible?

2009-09-04 Thread Christopher Schmidt
On Fri, Sep 04, 2009 at 04:50:04AM -0500, Alex_vG wrote: > > Is it possible to use for the x- and the y-axis of a layer different > resolutions? > > I want to use OpenLayers to visualize a defect map of a steel strip. The > real dimension of the strip are appr. 2 meter x 2000 meter. That means a

Re: [OpenLayers-Users] IE 7/8 Openlayers.js single File Problem

2009-09-04 Thread Max Weidemann
Hi Christopher and Kenneth, Taking a newer version of Openlayers.js solved the Problem. Thanks for your help Max -- View this message in context: http://n2.nabble.com/IE-7-8-Openlayers-js-single-File-Problem-tp3573055p3579281.html Sent from the OpenLayers Users mailing list archive at Nabble.

[OpenLayers-Users] mouse event return clicked layer

2009-09-04 Thread gustavo palminha
Hello to all. I was trying to find a way to accomplish as stated in the subject. But i was not able to fo it, so my question if it's posible? Hope if anyone could share any ideas on this. Regards. -- View this message in context: http://n2.nabble.com/mouse-event-return-clicked-layer-tp3579125p3

[OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Florian Diederichs
Hi all, i've encountered a problem, trying to label my clusters. The label just says "undefined" with my clustered layer, but works fine with my regular vector layers. I labeled them the way it is show in the example http://openlayers.org/dev/examples/vector-features-with-text.html Any advice

[OpenLayers-Users] different resolutions on x/y axis possible?

2009-09-04 Thread Alex_vG
Is it possible to use for the x- and the y-axis of a layer different resolutions? I want to use OpenLayers to visualize a defect map of a steel strip. The real dimension of the strip are appr. 2 meter x 2000 meter. That means a real x/y Ratio of 1:1000. I've written a php-serverscript for renderi

[OpenLayers-Users] Two important questions

2009-09-04 Thread Maren Kiehl
Hi everyone. Here are my two questions: 1. Is it possible to implement a property or function which allows to zoom out in a map by double-clicking the right mouse-button? 2. I have some points in my map, which open a popup by clicking one of them. Now I want that after loading the map the mouse

Re: [OpenLayers-Users] How to change the display coordinates

2009-09-04 Thread Andreas Hocevar
fsalas wrote: > Hi , I need to change the display coordinates in degree minutes and > second format example (NE 50 20´ 23´´ ) Just configure your MousePosition control with a custom formatOutput function: var mp = new OpenLayers.Control.MousePosition({ formatOutput: function(lonLat) {