[OpenLayers-Users] LayerSwitcher

2010-03-02 Thread Rahn Hanno (rahn)
Hello list, I have another question about the LayerSwitcher. I have only one base layer. This Layer is always shown. In the LayerSwitcher there is an radio button for this layer but you can't use it. Is there a possibility hide this radiobutton in the layerswitcher? I will only show the

Re: [OpenLayers-Users] LayerSwitcher

2010-03-02 Thread bartvde
Hi, set displayInLayerSwitcher to false on your single base layer to only show the overlays in the LayerSwitcher. Best regards, Bart Hello list, I have another question about the LayerSwitcher. I have only one base layer. This Layer is always shown. In the LayerSwitcher there is an radio

[OpenLayers-Users] Configuring OpenLayers.Layer.Text reading real comma separated values

2010-03-02 Thread Martin
Hi I am aware of this description: http://wiki.openstreetmap.org/wiki/OpenLayers_Dynamic_POI and also this examples: http://openlayers.org/dev/examples/dynamic-text-layer.html http://openlayers.org/dev/examples/markersTextLayer.html This examples uses such files (tab separated) for data layer:

[OpenLayers-Users] WMSCapabilities parse problem

2010-03-02 Thread maxho
Hi. I'm trying to parse WMS GetCapabilities response to get LegendURLs. I started with sample from http://trac.openlayers.org/ticket/1176 and was able to read version property. However I can't read Service and Capability nodes of response. They show up as undefined in firebug console. I tried

Re: [OpenLayers-Users] WMSCapabilities parse problem

2010-03-02 Thread bartvde
Hi, you don't need Format.XML in between but I doubt that's your problem. var CAPformat = new OpenLayers.Format.WMSCapabilities(); var cap = CAPformat.read(response.responseXML || response.responseText); Can you share the output of your WMS GetCapabilities response? Best regards, Bart Hi.

[OpenLayers-Users] Select style for point features

2010-03-02 Thread Olivier THIERRY
Hi, I have to draw routes on a map. I need points for the steps of the route and lines between the steps. I could make it work, but now I need to highlight these lines and points. Actually I need to change the colour of either lines or points when they are selected in a list outside the map or

Re: [OpenLayers-Users] WMSCapabilities parse problem

2010-03-02 Thread maxho
This doesnt help. Firebug shows that response.responseXML is null and response.responseText is empty string. So the problem is not in the parser but in the GET request I guess, because in browser this URL (

[OpenLayers-Users] Google Maps not working

2010-03-02 Thread shiv_sms
Iam new to Openlayers. Iam trying to render google maps in openlayers. I have used the google maps example source code and replaced it with google maps api key for our domain. When i try to load the page i seem to get this error persistently and google maps doesnt load, Error: G_PHYSICAL_MAP

[OpenLayers-Users] Irregular polygons

2010-03-02 Thread Vitor Isaia
Dear list, I need OpenLayers to draw automatically irregular polygons, from sets of coordinates, that represent geofences. I already have, in my application, regular polygons (circles) drawn from coordinates, but I can't find a way to draw irregular ones, like this: [image: polygons.jpg]

[OpenLayers-Users] popup with additional button?

2010-03-02 Thread Chris Green
Hi list I'm wondering if there is an easy way to add an extra button to the standard popup. I am already using the closebox, what I really want is an extra 'OK' button if the information in the popup is what the user was looking for, if not then he will click the closebox and carry on looking.

Re: [OpenLayers-Users] Select style for point features

2010-03-02 Thread Alexandre Dube
Olivier, The way to defined your default symbolizer with the applyDefaults method is correct, but you didn't do so with your select symbolizer. In order for a point to be drawn, it needs more than these two properties (like pointRadius for example). Try using applyDefaults there too. Then,

Re: [OpenLayers-Users] Irregular polygons

2010-03-02 Thread Sveen Atle Frenvik (Geomatikk IKT)
I guess you could use OpenLayers.?Geometry.?Polygon (http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Geometry/Polygon-js.html), but the doc says it is constructed from an array of OpenLayers.?Geometry.?LinearRings, so I guess the safe bet is to use: var poly =

[OpenLayers-Users] WFS layer not display..

2010-03-02 Thread pocky
Hi, I'm new in GIS and now trying to do my work with GeoServer + OpenLayers mainly focusing on WFS-T. Since last week, I've faced a problem about WFS layer due to it doesn't display as I expect. I've tried to search for the solution to this problem and tried to change my code based on the

Re: [OpenLayers-Users] WFS layer not display..

2010-03-02 Thread bartvde
featureType is without the namespace prefix, so city_point. Best regards, Bart Hi, I'm new in GIS and now trying to do my work with GeoServer + OpenLayers mainly focusing on WFS-T. Since last week, I've faced a problem about WFS layer due to it doesn't display as I expect. I've tried to

Re: [OpenLayers-Users] WFS layer not display..

2010-03-02 Thread pocky
Bart, thx u so much.. but I already tried it both with and without the namespace prefix.. it still doesn't work.. :-/ -- View this message in context: http://n2.nabble.com/WFS-layer-not-display-tp4660996p4661033.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

Re: [OpenLayers-Users] Select style for point features

2010-03-02 Thread Olivier THIERRY
2010/3/2 Alexandre Dube ad...@mapgears.com: Olivier, The way to defined your default symbolizer with the applyDefaults method is correct, but you didn't do so with your select symbolizer. In order for a point to be drawn, it needs more than these two properties (like pointRadius for

Re: [OpenLayers-Users] WFS layer not display..

2010-03-02 Thread bartvde
What do you see in Firebug when you check out the request done by OpenLayers and the response from your Geoserver? Does it raise an exception, is GML returned? If so, can you post a sample of that GML (1 feature e.g.). Best regards, Bart Bart, thx u so much.. but I already tried it both with

Re: [OpenLayers-Users] Irregular polygons

2010-03-02 Thread Vitor Isaia
Thanks a lot Sveen, it works. Best regards, Vitor. On Tue, Mar 2, 2010 at 10:32 AM, Sveen Atle Frenvik (Geomatikk IKT) atle.frenvik.sv...@geomatikk.no wrote: I guess you could use OpenLayers.​Geometry.​Polygon (

[OpenLayers-Users] Saving features into an external document

2010-03-02 Thread Ozgur Zan
Dear List members, I want to write a code so that when I select a region by drawing a box (shift + left click), the features in the selected region are saved into a a document (of XML, TXT or any other) instead of the default zoom feature (shift + left click to draw a box). Is there anyone who

[OpenLayers-Users] PanZoomBar goes wonky switching from Google to non-Google basemap

2010-03-02 Thread Gregor at HostGIS
An interesting issue I've not been able to figure out. http://idesp.planol.info/map/?wmc=wmc/1lang=pt It uses Google basemaps except for the Nein layer which is a OpenLayers.Layer instance. When I select the Nein basemap, the zoom slider goes to the wrong level: it shows that we're zoomed

Re: [OpenLayers-Users] WFS layer not display..

2010-03-02 Thread pocky
Bart, I don't have much knowledge in OL geoserver. Moreover, I don't know how to use Firebug. Btw, below is GML returned which I got it from Live HTTP Headers / Firefox. -- wfs:GetFeature xmlns:wfs=http://www.opengis.net/wfs; service=WFS

Re: [OpenLayers-Users] text markers

2010-03-02 Thread Germán Carrillo
Hi Karina, I've just seen in another message this link [1], it can help you. As Eric said you, it uses the OpenLayers.Layer.Vector but it reads your text file as well. Regards. Germán -- [1] http://openlayers.org/dev/examples/dynamic-text-layer.html 2010/3/2 Eric

[OpenLayers-Users] proj4j - disable calling to http://spatialreference.org

2010-03-02 Thread mario1...@libero.it
Hi, I've included in my jsp page this projection: Proj4js.defs[EPSG:3003] = +title=Gauss Boaga EPSG:3003 +proj=tmerc +lat_0=0 +lon_0=9 +k=0.999574 +x_0=155 +y_0=0 +ellps=intl +units=m +no_defs; is it possibile to disable calling to http://spatialreference.org? Thank you

Re: [OpenLayers-Users] proj4j - disable calling to http://spatialreference.org

2010-03-02 Thread Mike Adair
At the moment, no it's not possible to disable that, however if all your projection definitions are properly loaded, it should never get to the part where it calls spatialreference.org. That said, to make sure it never gets called, comment out the call to Proj4js.loadScript in the

Re: [OpenLayers-Users] WFS layer not display..

2010-03-02 Thread Bart van den Eijnden
There are still several reasons why things could be misconfigured (maybe an extra / in your namespace definition, the geometry column is not named the_geom etc), and we can't help you without knowing the request/response. So please install Firebug (a Firefox extension) and learn how to use it,

[OpenLayers-Users] Error seen under IE8/7

2010-03-02 Thread ChiefDan
Initially my map loads fine under IE8, however if I do a page refresh I get an error: this.div.style is null Debugging the error leads here: getZIndex:function(){return this.div.style.zIndex;} I don't see this error under Firefox or Chrome. I am wondering if it is a result of my not having any

[OpenLayers-Users] Problem with WFS proxy.cgi

2010-03-02 Thread moataz Elmasry
Hello List I know that this topic has been visited many times I'm aware of the following pages: http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost http://trac.openlayers.org/browser/trunk/openlayers/examples/proxy.cgi and the threads:

Re: [OpenLayers-Users] Problem with WFS proxy.cgi

2010-03-02 Thread Bart van den Eijnden
Hi, since you are running Tomcat and Geoserver, you are better off using: http://geoserver.org/display/GEOS/GeoServer+Proxy+Extension Best regards, Bart On Mar 2, 2010, at 6:26 PM, moataz Elmasry wrote: Hello List I know that this topic has been visited many times I'm aware of the

Re: [OpenLayers-Users] WMS from ArcGIS Server on top of google maps -Parameter 'srs' contains unacceptable value.

2010-03-02 Thread Arnd Wippermann
Hi, i use this code to be able to pass a different projection code to the getFullRequestString of the Layer.WMS. If in the options for the Layer.WMS projection is set, then it will be used instead of the map.projection. OpenLayers.Layer.WMS.prototype.getFullRequestString =

Re: [OpenLayers-Users] Problem with WFS proxy.cgi

2010-03-02 Thread paweluz
Hi What system do you use?? Win or Linux ?? If Windows I may help you... I was dealing with this problem for about 3 days, and today I have finally done it. I am working with: - system Win 2000 - Geoserver standalone edition 1.6.4 - Python 2.6 - Yo have to install this !! I have tins in folder

Re: [OpenLayers-Users] Select style for point features

2010-03-02 Thread Arnd Wippermann
Hi You can try to add an elseFilter to your style var lookupSens = { aller: {strokeDashstyle: solid}, retour: {strokeDashstyle: dash} }; styles.addUniqueValueRules(default, sens, lookupSens); var rules = [new OpenLayers.Rule({ symbolizer:

[OpenLayers-Users] Layer Z order with Google and WMS

2010-03-02 Thread ChiefDan
I've got a NOAA Chart that is being served up via WMS that I would like to use with a Google Map base layer. The issue is I want the Chart layer rendered first, then Google layer so the land will be visible, but the chart shows in the ocean. The chart is being served up via Tilecache. With a

Re: [OpenLayers-Users] Layer Z order with Google and WMS

2010-03-02 Thread Brad Spencer
Dan, as far as I understand you cannot use GoogleMaps as an overlay only a basemap - someone may correct me there? I assume your WMS layer is transparent? Cheers, Brad... -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of ChiefDan

Re: [OpenLayers-Users] Google Maps not working

2010-03-02 Thread Eric Lemoine
On Tuesday, March 2, 2010, shiv_sms s...@atree.org wrote: Iam new to Openlayers. Iam trying to render google maps in openlayers. I have used the google maps example source code and replaced it with google maps api key for our domain. When i try to load the page i seem to get this error