[OpenLayers-Users] Possible bug with Protocol.WFS

2010-02-08 Thread Brian Stempin
Hi all, I've been working with a few people on #openlayers to help me out with a WFS issue. I'm posting this to the list because I may have found a bug in the process. So, at one point, I packaged some of my WFS output into an XML file and tschaub wrote the following example for me (which worked

[OpenLayers-Users] Drawing and labelling a circle in openlayers 2.7.

2010-02-08 Thread jbloc1878
Hi does anyone have a code example of drawing a circle within open layers 2.7? I was Reading through the open layers documentation but cannot get it to work, also I am not sure if it is only for 2.8. Also is it possible to label the circle with some text? Or any shape for that matter polygon

[OpenLayers-Users] WFSDescribeFeatureType with complex type element ref

2010-02-08 Thread HKChad
I have a WFS that includes some complex types as element ref's in the schema. The WFSDescribeFeatureType parser is choking on them and throwing the error 'TypeError: fullType.split is not a function'. I have a sample here, http://www.2kgt.com/test/WFSDescribeFeatureType.html The error gets thrown

[OpenLayers-Users] Error in IE8

2010-02-08 Thread Dylan Parry
Hi folks, I’m getting the following error when attempting to view an OpenLayers-based page in IE8: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729) Timestamp: Mon, 8 Feb 201

[OpenLayers-Users] Migration of Trac/SVN to OSGeo

2010-02-08 Thread Christopher Schmidt
Hi, In order to shift the OpenLayers trac/svn services off of a server that is being decommissioned, it would be beneficial to have OpenLayers developers: * Register for an OSGeo Account: https://www.osgeo.org/cgi-bin/ldap_create_user.py * List their names under: http://trac.openlayers

Re: [OpenLayers-Users] problem with empty baselayer and google

2010-02-08 Thread Andreas Hocevar
Hi, a lot of these google and baselayer issues have been fixed recently. Are you seeing his problem with OpenLayers 2.8 or trunk? If the latter, then please create a ticket. If the former, then please try a nightly build or check out trunk from svn. Regards, Andreas. steve.tout...@inspq.qc.ca

[OpenLayers-Users] Using a proxy for WMS not WFS

2010-02-08 Thread Guillaume
Hello, I have a problem I’ve never encountered on forums before. Every topics deals with proxy for WFS service and getcapabilities request, but I would like to use a proxy for WMS service and getdata. I use OpenLayers to interrogate several WMS services. One of this service (private) is not

Re: [OpenLayers-Users] Selection disappears after zooming

2010-02-08 Thread Alexandre Dube
Poul, If your features have some sort of unique attribute value, you could register a map "moveend" event to manually keep track of your selected features from this kind of attribute. You could also take a look at the Vector.js "getFeatureFromEvent" method (looks like it could do what you want

Re: [OpenLayers-Users] Modify object other then from muse click

2010-02-08 Thread Alexandre Dube
Poul, you already keep track of your feature when selecting it with your SelectFeature control : selectedfeature = feature; so you don't need to make any loop (you should also deactivate the SelectFeature control too and do the opposite when your checkbox is unchecked): if (document.getElem

[OpenLayers-Users] problem with empty baselayer and google

2010-02-08 Thread Steve . Toutant
Hi, I have a problem using an empty base layer with a google layer. They are defined like this var googleH = new OpenLayers.Layer.Google( "Google Hybrid", { type: G_HYBRID_MAP, 'sphericalMercator': true} ); var aucunContexte = new OpenLayers.Layer("AucunContexte",{isBaseLayer: true}); I have an

[OpenLayers-Users] Selection disappears after zooming

2010-02-08 Thread paweluz
Hi! I am using WFS layer on may map with modify and select control. After I zoom in or out the selected geometry in no longer selected. This same goes with modify. Is there a way, maybe some option on map that allows to remember selection. Or maybe there is a way to select this feature from code?

Re: [OpenLayers-Users] Modify object other then from muse click

2010-02-08 Thread paweluz
Hi! Thanks for your help but unfortunately it does not work. Here is my code: My controlls drawControls = { chooseobject: new OpenLayers.Control.SelectFeature( zielona_wfs, {

Re: [OpenLayers-Users] Modify object other then from muse click

2010-02-08 Thread Alexandre Dube
Hi, The ModifyFeature control has its own SelectFeature control, so you could do the following when your checkbox is checked : var features = youVectorLayer.selectedFeatures; for(i=0; i Hi! > > I hope some of more experiences OpenLayers users could help me with my next > problem. I have a line

Re: [OpenLayers-Users] OSM-Data to OL-Map

2010-02-08 Thread Jan Tappenbeck
Am 08.02.2010 13:49, schrieb Tobias Wendorff: > Hi Jan, > > Jan Tappenbeck schrieb: >> Hallo ! > > "Hallo" ;-) > >> can anybody have a look an help me ? > > Orthography or OpenLayers? ;-) > > First of all, get some Firefox-Addons like "Firebug" and "Web > Developer". Those will help you a lot. > >

Re: [OpenLayers-Users] OSM-Data to OL-Map

2010-02-08 Thread Tobias Wendorff
Hi Jan, Jan Tappenbeck schrieb: > Hallo ! "Hallo" ;-) > can anybody have a look an help me ? Orthography or OpenLayers? ;-) First of all, get some Firefox-Addons like "Firebug" and "Web Developer". Those will help you a lot. Okay, now to your problem: protocol: new OpenLayers.Protocol.HTTP({

Re: [OpenLayers-Users] OSM-Data to OL-Map

2010-02-08 Thread Marc Jansen
Hi Jan, The given example in the zip-file works well for me as long as it is accessed through an localhost-URL and one zooms to left-bottom=(-8183712.4810411,2060937.2357758) right-top=(-7929330.0509536,2134775.405086) (Haiti, that is) Regards, Marc Jan Tappenbeck wrote: > Hallo ! > > i foun

[OpenLayers-Users] OSM-Data to OL-Map

2010-02-08 Thread Jan Tappenbeck
Hallo ! i found on the side of JOHN07 an example to show osm-data in OL-Maps: http://wiki.openstreetmap.org/wiki/User:John07/openlayers_osm_file I had an own example http://www.tappenbeck.net//forum/osm/ol_osm20100208.zip but the data will not show !!! can anybody have a look an help me ? re

[OpenLayers-Users] Question about radius and bounds

2010-02-08 Thread Bas Wolvers
Hi Im working on a openlayer - openstreet map implementation. I was wondering can someone help me to set the closest zoomlevel when i have a latlon and a radius in km. For example i have a latlon :> 4.7500454 and 52.6316131 I want to center the map on this latlon and then zoom in to the closed

Re: [OpenLayers-Users] layer loadend event

2010-02-08 Thread protos
Hi Kris, Thanks for the reply. I'm aware of that transition effect, but it's not exactly what we're looking for for I'm trying to implement a customized version of it. Cheers, Colm -- View this message in context: http://n2.nabble.com/layer-loadend-event-tp4533615p4533662.html Sent from the

Re: [OpenLayers-Users] layer loadend event

2010-02-08 Thread Kris Geusebroek
Hi, I believe this functionality is already there. It's called the 'resize' transitionEffect. Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of protos Sent: Monday, February 08, 2010 12:23 PM To: users@openlayers.org Subj

[OpenLayers-Users] layer loadend event

2010-02-08 Thread protos
Hi, I'm trying to implement animated zoom functionality in our openlayers based application. I'm doing this by : 1. Cloning the base layer, 2. Firing the 'load more tiles' event 3. While the tiles are loading in the baseLayer, displaying and scaling the cloned layer in interval steps. 4. Whe

[OpenLayers-Users] WCS and OL

2010-02-08 Thread Vidal, Antoni
Hello list, In order to offer Z on our OL client, I supose that We need a WCS service isn't it? By the other hand, I didn't found examples. Wich is the best way to get this functionality? Thank's in advance. Antoni Vidal Unitat d'Aplicacions SIG-WEB Institut Cartogràfic de Catalunya

Re: [OpenLayers-Users] WFS-T Update problem, wrong SRID for changed geometry

2010-02-08 Thread paweluz
Solved! In my map definition I add two lines: projection: new OpenLayers.Projection("EPSG:900913"), displayProjection: new OpenLayers.Projection("EPSG:900913"), I also have hanged my data in database from 4326 to 900913. Now eve