[OpenLayers-Users] WFS not showing!

2010-03-09 Thread Philipp Gaertner
Hi list, I'm using ExtJS, OpenLayers and GeoExt and try to create a synchronised map and table view of vector features and follow basically the tutorial from OpenGeo "Leveraging OGC Services with GeoExt. I have WFS service on a ArcGIS Server, and set all necessary parameter including the proxi.cgi

[OpenLayers-Users] WFS not loading!

2010-03-09 Thread Philipp Gaertner
Hi list, I'm using ExtJS, OpenLayers and GeoExt and try to create a grid view of WFS features and follow basically the tutorial from OpenGeo "Leveraging OGC Services with GeoExt. I have WFS service on a ArcGIS Server, and set all necessary parameter including the proxi.cgi but the attribute don't

Re: [OpenLayers-Users] Questions on using Protocol.HTTP and custom XML to load/edit features

2010-03-09 Thread Eric Lemoine
On Monday, March 8, 2010, Stephen Woodbridge wrote: > OK, to partially answer some of my own questions ... inline below. > > Stephen Woodbridge wrote: >> Hi all, >> >> I am trying to implement a vector layer that will allow editing point >> data. The data is accessed via a PHP script that serves s

[OpenLayers-Users] WMS in OpenLayers

2010-03-09 Thread GIS
Hi OpenLayers mailing group, We are running a Mapserver for generating maps in our system NunaGIS which is build on the product SpatialMap from Grontmij|CarlBro in Denmark. We have a number of WMS layers covering towns and villages of Greenland, but how do I include them in a OpenLayers code?

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Wendell Turner
... > > > > > You could use OpenLayerer to do so : > > > > > > > > > > http://openlayerer.appspot.com/ > > > > > > > http://docs.openlayers.org/library/deploying.html#custom-build-profiles > > > > > Cool. I tried that, and was able to reduce my OpenLayers.js > > to 371K (or 52%, I'm using a lo

Re: [OpenLayers-Users] Styling a feature through drawFeature's constructor

2010-03-09 Thread Eric Lemoine
On Tue, Mar 9, 2010 at 3:53 PM, Frost89 wrote: > > Is there no way to set it in the drawFeature control's constructor? How about using a StyleMap in your layer? -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.

Re: [OpenLayers-Users] Disable select control only for some features in a layer

2010-03-09 Thread Eric Lemoine
On Tue, Mar 9, 2010 at 10:54 AM, Olivier THIERRY wrote: > Hi, > > I have a Vector layer with two kinds of vectors : lines and points. > I enabled select control for lines, both from user click on the > feature and user click on a button outside the map. > For the points I need to enable select con

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Christopher Schmidt
On Tue, Mar 09, 2010 at 02:01:44PM -0600, P Kishor wrote: > Oh, Chris. My apologies for not responding specifically to your > detailed note. I didn't respond because it was so complete, with > detailed explanation. With respect to explaining the dependencies in > OL, it left nothing further to be a

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Louis Versailles
I Alexandre thanks for your responce yes I tried with the trunk and it's work well. I also tried with all selected in the 2.8 and I got the same message louis Selon Alexandre Dube : > Louis, > > The message says that you must have at least one layer object, one > language and one control (min

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Alexandre Dube
Louis, The message says that you must have at least one layer object, one language and one control (minimum for each), so my guess is that you might be missing one or there's a problem with the 2.8 build. Have you tried the same selections with trunk ? Regards, Alexandre Louis Versailles

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
On Tue, Mar 9, 2010 at 1:36 PM, Christopher Schmidt wrote: > On Tue, Mar 09, 2010 at 01:06:50PM -0600, P Kishor wrote: >> On Tue, Mar 9, 2010 at 1:02 PM, Wendell Turner wrote: >> > On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: >> >> On Tue, Mar 09, 2010 at 08:26:36AM -0600,

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Christopher Schmidt
On Tue, Mar 09, 2010 at 01:06:50PM -0600, P Kishor wrote: > On Tue, Mar 9, 2010 at 1:02 PM, Wendell Turner wrote: > > On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: > >> On Tue, Mar 09, 2010 at 08:26:36AM -0600, P Kishor wrote: > >> > On Tue, Mar 9, 2010 at 8:23 AM, Alexandre

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Christopher Schmidt
On Tue, Mar 09, 2010 at 07:02:27PM +, Wendell Turner wrote: > On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: > > On Tue, Mar 09, 2010 at 08:26:36AM -0600, P Kishor wrote: > > > On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube wrote: > > > > Hi, > > > > > > > > You could use

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
On Tue, Mar 9, 2010 at 1:02 PM, Wendell Turner wrote: > On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: >> On Tue, Mar 09, 2010 at 08:26:36AM -0600, P Kishor wrote: >> > On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube wrote: >> > > Hi, >> > > >> > > You could use OpenLayerer t

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Wendell Turner
On Tue, Mar 09, 2010 at 10:04:44AM -0500, Christopher Schmidt wrote: > On Tue, Mar 09, 2010 at 08:26:36AM -0600, P Kishor wrote: > > On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube wrote: > > > Hi, > > > > > > You could use OpenLayerer to do so : > > > > > > http://openlayerer.appspot.com/ > > > >

[OpenLayers-Users] righ-click event stops left-click

2010-03-09 Thread dalsinao
Hello all, I want to capture in the same control both left and right click events. Using examples, I've come to the control I add below. It seems to work fine: Left click events are caught in my "onLeftClick" function and right click events in "onRightClick" (see code below). However, after servi

[OpenLayers-Users] SQL in an SLD

2010-03-09 Thread Rick Wayne
Hullo Eoin, > SELECT DISTINCT ( COUNT( point_geom)) > FROM (SELECT point_geom? FROM locations where point_type = 3) AS foo > GROUP BY point_geom; We get around this kind of thing by creating views in the database, which synthesize the values we want to depict via SLD. Something like CREATE VI

[OpenLayers-Users] SQL in an SLD - possible?

2010-03-09 Thread Eoin Mac Aoidh
Hi all, I have just got to grips with basic SLD templates. Now I would like to apply an SLD template and include an SQL condition in it. Im not sure exactly how, or if its possible. I would like to follow a simple Attribute-based point example where point size is set on a less than or equal bas

Re: [OpenLayers-Users] wfs not displaying

2010-03-09 Thread Sarah Schuessler
Hi, I tried to make it work, but my wfs layer won´t be displayed. I got a respone at firebug (if I use projection: "EPSG:900913" but even if I use no projection, only with EPSG: 31467 I got no features back). If I use these lines: var ddBounds = new OpenLayers.Bounds( -73.839111,40.2879

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Shawn Oatley
You will need to determine what functionality you need from OpenLayers first. By using custom builds (build.py) I've been able to shrink my OL file down to 336 KB (without compression). I am sure others have gotten it smaller, but this is the size that I need in order to do what I want with OL. T

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Alexandre Dube
Hi, You could use OpenLayerer to do so : http://openlayerer.appspot.com/ Regards, Alexandre P Kishor wrote: > From Firebug's 'Net' panel, my mixed, OpenLayers, Google Maps test page shows > -- > > Google js > -- > maps: 4.3 KB > main.js: 67.7 KB > vp: 661 B > %7Bmod_drag,mod_ctrapi%7

Re: [OpenLayers-Users] Styling a feature through drawFeature's constructor

2010-03-09 Thread Frost89
Is there no way to set it in the drawFeature control's constructor? -- View this message in context: http://n2.nabble.com/Styling-a-feature-through-drawFeature-s-constructor-tp4674311p4701966.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube wrote: > Hi, > > You could use OpenLayerer to do so : > > http://openlayerer.appspot.com/ Wow! This is very cool (and should be advertised more prominently). Of course, now I have another problem -- way too many choices, and not enough guidance to ch

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Christopher Schmidt
On Tue, Mar 09, 2010 at 08:15:49AM -0600, P Kishor wrote: > From Firebug's 'Net' panel, my mixed, OpenLayers, Google Maps test page shows > -- > > Google js > -- > maps: 4.3 KB > main.js: 67.7 KB > vp: 661 B > %7Bmod_drag,mod_ctrapi%7D.js: 11.2 KB > vp: 660 B > = > That totals

Re: [OpenLayers-Users] slimming OL

2010-03-09 Thread Christopher Schmidt
On Tue, Mar 09, 2010 at 08:26:36AM -0600, P Kishor wrote: > On Tue, Mar 9, 2010 at 8:23 AM, Alexandre Dube wrote: > > Hi, > > > > You could use OpenLayerer to do so : > > > > http://openlayerer.appspot.com/ > > Wow! This is very cool (and should be advertised more prominently). Of > course, now I

[OpenLayers-Users] slimming OL

2010-03-09 Thread P Kishor
>From Firebug's 'Net' panel, my mixed, OpenLayers, Google Maps test page shows >-- Google js -- maps: 4.3 KB main.js: 67.7 KB vp: 661 B %7Bmod_drag,mod_ctrapi%7D.js: 11.2 KB vp: 660 B = That totals 85 KB OpenLayers.js: 695.1 KB Why is OL almost 10 times the size of Gmaps scr

[OpenLayers-Users] SplitFeature question

2010-03-09 Thread Maxime Phaneuf
Hello everybody I want to add a line splitting tool to my webgis. This is working well. But, the problem is that I want to add a point feature where the split has occured. In order to do this, I would need to know the exact coordinates of where the split occured. Is this information available thr

Re: [OpenLayers-Users] No Simple Popups on WFS features

2010-03-09 Thread Piero Campa
(That is: I call popup handlers on mouseover and mouseout instead of featureselected and featureunselected, because if I open popups on featureselected I never get in the function onFeatureSelect(evt) ) -- View this message in context: http://n2.nabble.com/No-Simple-Popups-on-WFS-features-tp47

[OpenLayers-Users] Google-like drag'n'drop route/path changes

2010-03-09 Thread J.Schumann
Hello! Is there a way to get path modification functionality like it can be seen at maps.google.com when editing a route? Dragging of waypoints, adding new waypoints by dragging a line and so on? I only found the OpenLayers.Handler.Path for adding line paths but it's functionality is limited. Ma

Re: [OpenLayers-Users] Google-like drag'n'drop route/path changes

2010-03-09 Thread Frederic Junod
Hello, Did you see http://openlayers.org/dev/examples/modify-feature.html ? "draw line" then "modify feature" and click on your line. fredj On Tue, Mar 9, 2010 at 2:25 PM, J.Schumann wrote: > > Hello! > > Is there a way to get path modification functionality like it can be seen at > maps.googl

Re: [OpenLayers-Users] SplitFeature question

2010-03-09 Thread bartvde
I think you can use the beforesplit event for this (and use the source property): * Supported control event types (in addition to those from ): * beforesplit - Triggered before a split occurs. Listeners receive an * event object with *source* and *target* properties. Best rega

Re: [OpenLayers-Users] inconsistent click handling

2010-03-09 Thread Gert-Jan Braas
Thanks. I've added the suggested line to the test page. The same behaviour persists. My client/tester (using Safari) noticed that when the marker is right-clicked, the expected functionality usually get's activated. So: - left-click (no response) - left-click (no response) - left-click (no respon

[OpenLayers-Users] No Simple Popups on WFS features

2010-03-09 Thread Piero Campa
Hi everybody, I'm a beginner to Openlayers and Javascripts. =) I'm now at the stage "Try to open popups over WFS features" but I'm having problems. My template is the example in the Openlayers Documentation: http://docs.openlayers.org/library/overlays.html#displaying-popups but the problem is in

Re: [OpenLayers-Users] inconsistent click handling

2010-03-09 Thread bartvde
Hi, my first guess would be the clickTolerance, try setting it to a larger value (defaults to 4). There is only an ugly prototype way to set it right now, but please give it a try: OpenLayers.Handler.Feature.prototype.clickTolerance = 6; Best regards, Bart > Hello list, > > I'm having a persis

Re: [OpenLayers-Users] inconsistent click handling

2010-03-09 Thread Gert-Jan Braas
I just (re-)double checked the test page, and it took me about 20 test clicks to reproduce the behaviour. so, I hope you can understand why it's driving me nuts :-( Gert-Jan Op Di, 9 maart, 2010 10:44, schreef Gert-Jan Braas: > Hello list, > > I'm having a persistent problem, which is not very

[OpenLayers-Users] Disable select control only for some features in a layer

2010-03-09 Thread Olivier THIERRY
Hi, I have a Vector layer with two kinds of vectors : lines and points. I enabled select control for lines, both from user click on the feature and user click on a button outside the map. For the points I need to enable select control on a user click on a button outside the map, but I want to disa

Re: [OpenLayers-Users] WFS Not loading

2010-03-09 Thread Lewis Oaten
Hi Brian, I have had a play around with a few things and not had any success but noticed some strange results. As you can see, I have added a geometryName, attempted using a featureNS and added a styleMap. My latest code: http://pastebin.com/9RFJ6tJh When I add the projection the result returns

[OpenLayers-Users] inconsistent click handling

2010-03-09 Thread Gert-Jan Braas
Hello list, I'm having a persistent problem, which is not very consistently reproducible. I have a small application with a button, which when beeing clicked, places a marker on a map. The marker can be moved. When double clicked, the marker dis-appears and a popup-window is shown. In 50% (a gues

Re: [OpenLayers-Users] zIndex and Base Layer

2010-03-09 Thread Maria Neywell
thanks Bart, My baselayer is a kamap layer. I used this option and it doesn't work anymore. 2010/3/8 > What type is your base layer? WMS? > > If so, you can use allOverlays: true on your MAP object. > > Best regards, > Bart > > > Hi, > > > > Here is my code, > > > > layer_map is my base layer.