Re: [OpenLayers-Users] Declare a default externalGraphic

2009-03-11 Thread Kris Geusebroek
Hi, You might want to configure that in your webserver like getting a 404 and redirecting that to a image Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Heidt, Christopher M. Sent: Wednesday, March 11, 2009 3:37 PM

[OpenLayers-Users] How to convert from meters to degrees for CQL_FILTER DWITHIN

2009-03-13 Thread Kris Geusebroek
in degrees instead of in meters. How can I convert the amount of meters to degrees to supply oracle with the right information? Thanks in advance Kris Geusebroek Consultant Email: kgeusebr...@xebia.com mailto:kgeusebr...@xebia.com Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922

[OpenLayers-Users] FW: How to convert from meters to degrees for CQL_FILTER DWITHIN

2009-03-13 Thread Kris Geusebroek
-Original Message- From: Thomas Maschler [mailto:thomas.masch...@gmx.net] Sent: Friday, March 13, 2009 3:00 PM To: Kris Geusebroek Subject: Re: [OpenLayers-Users] How to convert from meters to degrees for CQL_FILTER DWITHIN Hi Kris have a look here http://www.uwgb.edu/dutchs/UsefulData

[OpenLayers-Users] WFS: how to add a geometry to existing database row

2009-03-23 Thread Kris Geusebroek
, the openlayers WFS layer doesn't get the data from the db. Can I specify that my application retrieves a specific record from the database to add a geometry to it? Cheers Kris Geusebroek Consultant Email: kgeusebr...@xebia.com mailto:kgeusebr...@xebia.com Tel: +31 (0)35 538 1921

Re: [OpenLayers-Users] WFS: how to add a geometry to existing databaserow

2009-03-23 Thread Kris Geusebroek
or alternate options are welcome as always. Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Monday, March 23, 2009 12:39 PM To: users@openlayers.org Subject: [OpenLayers-Users] WFS: how to add a geometry to existing

[OpenLayers-Users] How to fill a wellknown marker with a dash pattern

2009-03-26 Thread Kris Geusebroek
Hi all, I want to create a style for my WFS layer to create a orange square with dashed fill and a different color stroke. In sld I use a mark with an externalgraphic and a strokecolor. Is this possible in openlayers also? Cheers Kris Geusebroek Consultant Email: kgeusebr

[OpenLayers-Users] transitionEffect for WFS layer possible?

2009-03-27 Thread Kris Geusebroek
a blinking effect. Is it possible to have the transitionEffect on a WFS layer (in IE) in any way? Cheers Kris Geusebroek Consultant Email: kgeusebr...@xebia.com mailto:kgeusebr...@xebia.com Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922 Mobile: +31 (0)6 30 697 223 http

Re: [OpenLayers-Users] How to fill a wellknown marker with a dash pattern

2009-03-27 Thread Kris Geusebroek
Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How to fill a wellknown marker with a dash pattern On Thu, Mar 26, 2009 at 12:42:16PM +0100, Kris Geusebroek wrote: Hi all, I want to create a style for my WFS layer to create a orange square with dashed fill

Re: [OpenLayers-Users] transitionEffect for WFS layer possible?

2009-03-30 Thread Kris Geusebroek
method in Strategy.BBOX but alternative could be the way options are extended I guess. Cheers Kris -Original Message- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: Friday, March 27, 2009 11:12 PM To: Andreas Hocevar Cc: Kris Geusebroek; users@openlayers.org Subject: Re

Re: [OpenLayers-Users] Cluster strategy but on the server side

2009-04-01 Thread Kris Geusebroek
Hi Nils, I didn't try this myself but i could imagine that you could cluster a bit in your database. I'm using oracle and have functionality to show only features within a certain boundary of a province. I create a view which calculates the distance and stores that in a column. You could use the

[OpenLayers-Users] Cluster strategy and styleing with rules

2009-04-06 Thread Kris Geusebroek
method but am not sure how to use that one. Another possibility might be to specify a default value in my lookup list (where I specify the symbolizers per unique value) but I don't know if that's possible (null and undefined didn't work) Anyone has experience with this? Cheers Kris

Re: [OpenLayers-Users] Cluster strategy and styleing with rules

2009-04-07 Thread Kris Geusebroek
I soved this by adding an elseFilter rule to the style. This way if none of the rules applie the elsefilter rule is used. Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Monday, April 06, 2009 4:35 PM To: users

[OpenLayers-Users] ModifyFeature not working in trunk

2009-04-14 Thread Kris Geusebroek
the problem is still there. The vertices are drawn but not selectable. I think it has to do with the z-index or so but am not sure. Anybody else seen this? Cheers Kris Geusebroek Consultant Email: kgeusebr...@xebia.com mailto:kgeusebr...@xebia.com Tel: +31 (0)35 538 1921 Fax: +31

Re: [OpenLayers-Users] ModifyFeature not working in trunk

2009-04-14 Thread Kris Geusebroek
Hi, The ModifyFeature was disturbed by the setting yOrdering: true. After removing this setting the vertices point were drawn on top of the feature and thus reachable. Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent

[OpenLayers-Users] SelectFeature deactivate and VML renderer

2009-04-14 Thread Kris Geusebroek
find the reason why this happens. Same code in firefox with the SVG renderer works like a charm. It also happens when deactivating the modifyFeature control because there the selectFeature control is deactivated internally Cheers Kris Kris Geusebroek Consultant Email: kgeusebr

Re: [OpenLayers-Users] SelectFeature deactivate and VML renderer

2009-04-16 Thread Kris Geusebroek
PM To: users Cc: Kris Geusebroek Subject: Re: [OpenLayers-Users] SelectFeature deactivate and VML renderer Thanks for reporting this Kris. See http://trac.openlayers.org/ticket/2048 for a fix. Regards, Andreas. Kris Geusebroek wrote: Hi, I have a selectFeature control configured

Re: [OpenLayers-Users] transitionEffect for WFS layer possible?

2009-04-19 Thread Kris Geusebroek
Hi, Makes sense ;-) i will try this first thing tomorrow. Cheers Kris -Original Message- From: Andreas Hocevar [mailto:ahoce...@opengeo.org] Sent: Sunday, April 19, 2009 11:54 AM To: Kris Geusebroek Cc: Christopher Schmidt; Andreas Hocevar; users@openlayers.org Subject: Re: [OpenLayers

Re: [OpenLayers-Users] Map size without javascript

2009-04-20 Thread Kris Geusebroek
Hi I was experiencing this too and I think I solved it by specifying top, left, bottom and right on the html part of the css just like you do on the map. Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Ian Gibson

Re: [OpenLayers-Users] How to use OpenLayers requesting WFS withSpatial Operations

2009-04-27 Thread Kris Geusebroek
Hi, After having a WFS layer initially loaded you can do something like this to set a different filter and reload the layer: var newFilter = new OpenLayers.Filter.Comparison( { type: OpenLayers.Filter.Comparison.EQUAL_TO,

[OpenLayers-Users] Error when using XMLHTTPRequest (through refreshing a wfs layer every n seconds)

2009-04-27 Thread Kris Geusebroek
is IE6 (I know bad choice). But the error also comes in Firefox but there the response times remain ok. Any help I much appreciated Cheers Kris Geusebroek Consultant Email: kgeusebr...@xebia.com mailto:kgeusebr...@xebia.com Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922 Mobile

Re: [OpenLayers-Users] Error when using XMLHTTPRequest (throughrefreshing a wfs layer every n seconds)

2009-04-27 Thread Kris Geusebroek
can see that this._aborted = true But nothing more strange things to see. Anybode knows how I can investigate more? Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Monday, April 27, 2009 8:17 AM To: users

Re: [OpenLayers-Users] How to use OpenLayers requesting WFS with Spatial Operations

2009-04-27 Thread Kris Geusebroek
is available (if you set extractAttributes to true of course) So you could show a popup on hover or so Cheers Kris From: Myeong Hun Jeong [mailto:mhjeon...@gmail.com] Sent: Monday, April 27, 2009 2:09 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How

Re: [OpenLayers-Users] Error when using XMLHTTPRequest (throughrefreshing a wfs layer every n seconds)

2009-04-28 Thread Kris Geusebroek
) - Applied changes from version 1.0.3 of the used library from http://code.google.com/p/xmlhttprequest Hope its usefull for anyone (and makes it into a new release). Cheers Kris From: Kris Geusebroek Sent: Monday, April 27, 2009 9:52 AM To: Kris Geusebroek; users@openlayers.org

Re: [OpenLayers-Users] vector layer with WFS protocol: load wheninvisible?

2009-04-29 Thread Kris Geusebroek
Hi Bart, I have the same setup but when layer is created with visibility: false no requests are made until visibility is changed. Are you sure you use the last trunk version. I believe there has been some changes to activate protocol later than originally was done. Cheers Kris -Original

Re: [OpenLayers-Users] SelectFeatureControl invalid when set style to vector?

2009-04-29 Thread Kris Geusebroek
Hi Shane, You need to set a select style also, so extend Feature.Vector.style['select'] and add that to the layerstyle Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of shane_china Sent: Wednesday, April 29, 2009 2:38 PM

Re: [OpenLayers-Users] Locate objetcts in the maps

2009-05-01 Thread Kris Geusebroek
Hi, You oculd create a wfs getFeature request with a Filter matching a unique value of your object to locate. You’ll get back a result with you can parse to find the geometry of the object and call setCentre on the map or so or zoomToExtent. Other way to do is is you have already a

Re: [OpenLayers-Users] Circle Function

2009-05-01 Thread Kris Geusebroek
Hi, I have found a much easier way to create a circle. There is a function in OpenLayers to do that. Works ike this: var circle = OpenLayers.Geometry.Polygon.createRegularPolygon(feature.geometry, 1, 50) layer.addFeatures(new OpenLayers.Feature.Vector(circle)); the function expects 4

[OpenLayers-Users] Performance and Memoryusage measuring: How To

2009-05-04 Thread Kris Geusebroek
) Cheers Kris Geusebroek Consultant Email: kgeusebr...@xebia.com mailto:kgeusebr...@xebia.com Tel: +31 (0)35 538 1921 Fax: +31 (0)35 538 1922 Mobile: +31 (0)6 30 697 223 http://www.xebia.com http://www.xebia.fr/ Utrechtseweg 49 1213 TL Hilversum The Netherlands Xebia Blog

Re: [OpenLayers-Users] How to obtain the slippy map using tiles

2009-05-06 Thread Kris Geusebroek
Hi, I don't think OpenLayers will automagically find the right tiles for you (or else I would like to know that option) You can create a subclass of the OpenLayers.Layer.TileCache class and override the method getUrl (and maybe the calculateGridLayout) to confirm to the layout of your

Re: [OpenLayers-Users] need help with projection issues

2009-05-06 Thread Kris Geusebroek
Hi, There is a function in OpenLayers to do that. Works like this: var circle = OpenLayers.Geometry.Polygon.createRegularPolygon(feature.geometry, 50, 50) layer.addFeatures(new OpenLayers.Feature.Vector(circle)); the function expects 4 parameters of which I supply 3: - 1. The point where

Re: [OpenLayers-Users] selectcontrol and layers property

2009-05-07 Thread Kris Geusebroek
Hi Frank, The multiple layers selectcontrol is supported in OpenLayers 2.8 (rc2 now). The docs you looked at are 2.8 and you are using 2.7 OpenLayers build. If you try with latest rc of 2.8 you will succeed. Cheers Kris -Original Message- From: users-boun...@openlayers.org

[OpenLayers-Users] labels in IE

2009-05-08 Thread Kris Geusebroek
Hi all, I'm using the new label functionality and modified it a bit to show a colored border around the label. This is successfully within IE6, but within IE7 the value of textbox.clientWidth is always 2 so my border is a 2px wide rectangle. The clientHeight is correctly set so I now have a

Re: [OpenLayers-Users] layer event transparency

2009-05-08 Thread Kris Geusebroek
Hi, It might be worth a try to use the multiple layers feature of the new SelectFeature control. This way you can virtually combine multiple layers and define actions on hover over features on each of the layers. Only available in 2.8rc Cheers Kris -Original Message- From:

Re: [OpenLayers-Users] Performance and Memoryusage measuring: How To

2009-05-08 Thread Kris Geusebroek
Hi all, Ive tied out sIeve to measure leaks and memory usage of my OpenLayers client and see some strange things. I have a Vector layer with bbox strategy and wfs protocol that refreshes every 5 seconds. I have points wit h labels and some background image/stroke etc. If I zoom in on 1 feature

Re: [OpenLayers-Users] How can I display a map with a position changing marker.

2009-05-12 Thread Kris Geusebroek
Hi, Yes that's the whole point. The lon, lan will be in your db, you configure your datastore and layer in geoserver In your openlayers based client you configure your layers as a vector layer with bbox strategy and wfs protocol Where the wfs protocol must be configured to connect to the right

Re: [OpenLayers-Users] How can I display a map with a position changing marker.

2009-05-13 Thread Kris Geusebroek
a map with a position changing marker. There is another thing I want to know. Which format is the LonLat information stored in the mysql database? Is this a standard? Kris Geusebroek wrote: Hi, Yes that's the whole point. The lon, lan will be in your db, you configure your datastore

Re: [OpenLayers-Users] Performance and Memoryusage measuring: How To

2009-05-14 Thread Kris Geusebroek
...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Friday, May 08, 2009 4:14 PM To: pe...@peterse-uithuizen.com; OpenLayers mailinglijst Subject: Re: [OpenLayers-Users] Performance and Memoryusage measuring: How To Hi all, Ive tied out sIeve to measure leaks and memory

Re: [OpenLayers-Users] problem about display two layers

2009-05-15 Thread Kris Geusebroek
OpenLayers supports IE6 transparency through the alphaHack method. layer.alpha = setAlpha('image/png'); function setAlpha(imageformat) { var filter = false; if (imageformat.toLowerCase().indexOf(png) -1) { filter = OpenLayers.Util.alphaHack(); }

Re: [OpenLayers-Users] rootContainer and selectFeature on many layers

2009-05-19 Thread Kris Geusebroek
Hi, I'm using the selectfeature with multiple vectorlayers with wfs protocol successfully. Here's my code: var hoverOptions = { multiple: false, hover: true, toggleKey: ctrlKey, // ctrl key removes from selection multipleKey: shiftKey, // shift key adds to selection

Re: [OpenLayers-Users] show/hide WFS layer without multiple WFS requests

2009-05-26 Thread Kris Geusebroek
Hi Pere, I don't know which version you use but i'm successfully using the 2.8 rc3 version with a vector layer, a bbox strategie and a wfs protocol which when visibility is false doesn't fire reuests. I'm using refresh on the vector layer instead of redraw by the way If you need a code example

[OpenLayers-Users] How to make panzoombar invisible

2009-05-27 Thread Kris Geusebroek
Hi all, I want to make the panzoombar control invisible when I deactivate it so that I can make it visible again if activated. I found issue 1764 stating this won't be released soon. But is there a way I can do it programmatically. I already tried setting the display of the control.div

Re: [OpenLayers-Users] Apply CSS style to popup content

2009-05-27 Thread Kris Geusebroek
Hi Maxime AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, { 'autoSize': true, 'contentDisplayClass': 'olPopupLabelContent' }); Creates a subclass of popupAnchored with a different content style. In your css you can specify the specifics of this style Cheers Kris

Re: [OpenLayers-Users] Control activate and deactivate events

2009-05-27 Thread Kris Geusebroek
Hi George, I'm using it this way (with activate but deactivate wouldn't be hard I think ;-)) var modifyEventListeners = { activate: activateModifyFunction }; var modifyMode = OpenLayers.Control.ModifyFeature.RESHAPE; modifyMode |= OpenLayers.Control.ModifyFeature.RESIZE;

Re: [OpenLayers-Users] How to make panzoombar invisible

2009-05-28 Thread Kris Geusebroek
Hi Chris, I don't know where my head was yesterday but trying it this morning works like a charm. Thanks for refreshing me ;-) Cheers Kris -Original Message- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: Wednesday, May 27, 2009 4:54 PM To: Kris Geusebroek Cc: users

Re: [OpenLayers-Users] remove PanZoomBar

2009-05-28 Thread Kris Geusebroek
Hi, I believe thats the default if you supply no controls yourself. You might want to try to supply an empty object or array as controls to the map to see if the default is not used. Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of

Re: [OpenLayers-Users] Apply CSS style to popup content

2009-05-28 Thread Kris Geusebroek
like you did before or after oPopup? Also, could I just use 'contentDisplayStyle' when I create oPopup? Cheers, Maxime Kris Geusebroek wrote: Hi Maxime AutoSizeAnchored = OpenLayers.Class(OpenLayers.Popup.Anchored, { 'autoSize': true, 'contentDisplayClass': 'olPopupLabelContent

Re: [OpenLayers-Users] Priority for marker

2009-07-05 Thread Kris Geusebroek
Hi, You can put the marker layer on top of the polygon one by adding it after the polygon one, or you can use the new selectFeature (in version 2.8) where you put both layers in the constructor so both be available for selection functionality Cheers Kris -Original Message- From:

Re: [OpenLayers-Users] Forcing a redraw of a Vector Layer

2009-07-07 Thread Kris Geusebroek
Hi Adrian, Be careful with this in the Internet Explorer browser since it consumes a lot of memory this way. The removed dom elements are not really removed (at least not from memory) and keep consuming memory until a full page refresh is done. I have a somewhat workaroundish solution and can

Re: [OpenLayers-Users] Forcing a redraw of a Vector Layer

2009-07-07 Thread Kris Geusebroek
: Roald de Wit [mailto:roald.de...@lisasoft.com] Sent: Tuesday, July 07, 2009 9:27 AM To: Kris Geusebroek Cc: Adrian Popa; users@openlayers.org Subject: Re: [OpenLayers-Users] Forcing a redraw of a Vector Layer Hi Kris, Kris Geusebroek wrote: Hi Adrian, Be careful with this in the Internet

Re: [OpenLayers-Users] Forcing a redraw of a Vector Layer

2009-07-07 Thread Kris Geusebroek
Hi all, Ticket is created and patch attached. http://trac.openlayers.org/ticket/2170 Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Tuesday, July 07, 2009 9:46 AM To: Roald de Wit Cc: users

Re: [OpenLayers-Users] kml refresh issue

2009-07-13 Thread Kris Geusebroek
Hi, I had the same issue with a vector layer and the WFS protocol. I created a ticket for that http://trac.openlayers.org/ticket/2177 and attached a path and a uuid generator class to this ticket. Might be of value to you too. Cheers Kris From: users-boun...@openlayers.org

Re: [OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Kris Geusebroek
Hi Hanno, I think the easiest way is to let the button control only the first map and listen to all map events (or some specific events like panned or zoomed or even at a higher level bbox changed) of map1 and do that same event to map2 Cheers Kris From: users-boun...@openlayers.org

Re: [OpenLayers-Users] Pop is not closing while Zooming

2009-08-19 Thread Kris Geusebroek
Hi, You probably lose the connection with the feature. Popup is registered with the feature and if the feature is not there anymore Best way is to register a function that closes the popup at layer unload Cheers Kris From: users-boun...@openlayers.org

Re: [OpenLayers-Users] Error-when-using-XMLHTTPRequest

2009-08-25 Thread Kris Geusebroek
) - Applied changes from version 1.0.3 of the used library from http://code.google.com/p/xmlhttprequest Hope its usefull for anyone (and makes it into a new release). Cheers Kris From: Kris Geusebroek Sent: Monday, April 27, 2009 9:52 AM To: Kris Geusebroek; users@openlayers.org Subject

Re: [OpenLayers-Users] Strategy.save() callback?

2009-08-25 Thread Kris Geusebroek
Hi Jimmy, You could use the onCommit function of the strategy to call your function var saveOptions = { onCommit: function(response) { if (response.success()) { var features=response.reqFeatures; // rest of the code originally

Re: [OpenLayers-Users] WFS layer prechargement with layer not visiblepossible?

2009-08-26 Thread Kris Geusebroek
Hi Jim, Not sure but you could try to make the layer visible but define a 'invisible' style. Then when you want to visualize the layer you set a 'visible' style Just my 2 cents Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Jimmy Aumard

Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-09-02 Thread Kris Geusebroek
Hi, If you are using geoserver you can create a wms request with format application/pdf et volia! Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Alexandre Dube Sent: Wednesday, September 02, 2009 5:29 PM To: fsalas

Re: [OpenLayers-Users] Need help with memory leak in IE

2009-09-03 Thread Kris Geusebroek
tool which I can use to inspect the memory and see which elements are using memory?? Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Friday, May 08, 2009 4:14 PM To: pe...@peterse-uithuizen.com

Re: [OpenLayers-Users] Need help with memory leak in IE

2009-09-03 Thread Kris Geusebroek
...@romtelecom.ro] Sent: Thursday, September 03, 2009 10:27 AM To: Kris Geusebroek Cc: Hendrik Nibbrig; users@openlayers.org Subject: Re: [OpenLayers-Users] Need help with memory leak in IE My solution to this problem (only for ie) was to reload the whole page after a number of layer refreshes, because

Re: [OpenLayers-Users] Performance Tuning in Internet Explorer

2009-09-22 Thread Kris Geusebroek
Hi Jim, I think you can pass an sld style in the sld_body parameter of your request. An other option is to create an sld clientside and save that somewhere geoserver knows of and pas a normal wms request. Cheers Kris -Original Message- From: users-boun...@openlayers.org

Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-09-24 Thread Kris Geusebroek
Hi salas, You can ask your map for the current bbox. I believe its called getBounds() function. Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 2:42 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] How Print

Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-09-24 Thread Kris Geusebroek
Hi salas, Sorry it's the function getExtent() you need. You can find all available functions in the openlayers doc or source! Cheers Kris From: fsalas [mailto:fsa...@geocuba.cu] Sent: Thursday, September 24, 2009 4:43 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re

[OpenLayers-Users] FW: [OpenLayers-Dev] Blogged about BOF session @foss4g

2009-10-23 Thread Kris Geusebroek
This message didn't arive at the users list so reposting See the link to my blog Cheers Kris From: dev-boun...@openlayers.org [mailto:dev-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Friday, October 23, 2009 5:16 AM To: users@openlayers.org; d...@openlayers.org Subject

Re: [OpenLayers-Users] Save jpg from actual Mapview

2009-11-12 Thread Kris Geusebroek
Hi Hanno, This will be possible when I'm finished investigating the use of html5 canvas for openlayers. ;-) My plan is to show the layers inside a canvas which then is just a image which can be saved. If you can't wait for me to be finished you might want to experiment yourself a bit.

Re: [OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer

2009-11-18 Thread Kris Geusebroek
Hi Marc, I only see the flickering the first time the images are drawn, the second round no more flickering occurs I'm using FF on Vista: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Cheers Kris -Original Message- From:

[OpenLayers-Users] First try with html5 canvas for layers

2009-11-18 Thread Kris Geusebroek
Hi All, I'm currently investigating the possibilities of integrating html5 functionality into openlayers. My first try is using canvas for a layer instead of div's I've setup a sandbox which you can use to have a look:

Re: [OpenLayers-Users] First try with html5 canvas for layers

2009-11-19 Thread Kris Geusebroek
with html5 so I might be able to spent some time on other's feature requests ;-) Cheers Kris -Original Message- From: Eric Lemoine [mailto:eric.lemo...@camptocamp.com] Sent: Thursday, November 19, 2009 6:53 AM To: Kris Geusebroek Cc: OpenLayers Users Subject: Re: [OpenLayers-Users] First try

Re: [OpenLayers-Users] First try with html5 canvas for layers

2009-11-20 Thread Kris Geusebroek
? Or are you considering an approach such as overlaying a transparent image map to allow interactivity? Cheers Adam On Thu, Nov 19, 2009 at 8:58 PM, Kris Geusebroek kgeusebr...@xebia.com wrote: Hi Eric, Indeed it's cool, thanks. My goal was to write an application with open source technologies

Re: [OpenLayers-Users] First try with html5 canvas for layers

2009-11-22 Thread Kris Geusebroek
-Original Message- From: adam.ratcli...@gmail.com [mailto:adam.ratcli...@gmail.com] On Behalf Of Adam Ratcliffe Sent: Saturday, November 21, 2009 1:54 AM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] First try with html5 canvas for layers Hi Kris, I'm fairly

Re: [OpenLayers-Users] First try with html5 canvas for layers

2009-11-23 Thread Kris Geusebroek
for the hint on the protocol. When I'm ready to implement that I will sure have a look into the protocol types that are around. Cheers Kris -Original Message- From: Eric Lemoine [mailto:eric.lemo...@camptocamp.com] Sent: Monday, November 23, 2009 7:44 AM To: Kris Geusebroek Cc

Re: [OpenLayers-Users] First try with html5 canvas for layers

2009-11-23 Thread Kris Geusebroek
[mailto:adam.ratcli...@gmail.com] On Behalf Of Adam Ratcliffe Sent: Monday, November 23, 2009 9:14 AM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] First try with html5 canvas for layers OK, that makes sense. Will be interesting to hear more of how this works out with a browser

Re: [OpenLayers-Users] export SVG

2009-11-24 Thread Kris Geusebroek
Hi Maria, I don;t know what mapserver you are using, but I believe in geoserver it's possible to get your wms request in svg (or even pdf) format. Cheers Kris From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Maria Neywell Sent: Tuesday, November 24,

Re: [OpenLayers-Users] WFS + Filter

2009-11-26 Thread Kris Geusebroek
Hi, Don't know if it works with fixed strategy but you can try to call myLayer.refresh({force: true});after setting the filter Cheers Kris -Original Message- From: Ivan Grcic [mailto:igr...@gmail.com] Sent: Thursday, November 26, 2009 12:38 PM To: Kris Geusebroek Cc: stash; users

Re: [OpenLayers-Users] How Print openlayer Maps into pdf documents

2009-12-01 Thread Kris Geusebroek
then the openlayers client width etc. Cheers Kris -Original Message- From: fsalas [mailto:fsa...@geocuba.cu] Sent: Tuesday, December 01, 2009 3:30 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: [OpenLayers-Users] How Print openlayer Maps into pdf documents Kris, I continue

Re: [OpenLayers-Users] Array of url's not working with WFS protocol

2009-12-04 Thread Kris Geusebroek
this or is it impossible Cheers KRis From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Kris Geusebroek Sent: Wednesday, December 02, 2009 11:59 AM To: users@openlayers.org Subject: [OpenLayers-Users] Array of url's not working with WFS protocol Am i right

Re: [OpenLayers-Users] Array of url's not working with WFS protocol

2009-12-06 Thread Kris Geusebroek
- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: Friday, December 04, 2009 4:54 PM To: Kris Geusebroek Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] Array of url's not working with WFS protocol On Fri, Dec 04, 2009 at 03:38:36PM +0100, Kris Geusebroek wrote: I tried

Re: [OpenLayers-Users] saving multiple layers

2009-12-17 Thread Kris Geusebroek
Hi I do it like this and it seems to work ;-) point.strategies[1].save(); line.strategies[1].save(); poly.strategies[1].save(); so I don't need a variable to hold the strategy and I can just create the layer with a new save strategy Cheers Kris

Re: [OpenLayers-Users] Button Active CSS Styling

2010-01-07 Thread Kris Geusebroek
Hi You need to add this to your button I guess displayClass: olControlButton Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of Henry Rotzoll Sent: Thursday, January 07, 2010 3:43 PM To: users@openlayers.org Subject:

Re: [OpenLayers-Users] Button Active CSS Styling

2010-01-07 Thread Kris Geusebroek
, title: 'Enable or Disable the Area of Interest Selection', displayClass: 'olControlButton'}); Bye Henry Kris Geusebroek wrote: Hi You need to add this to your button I guess displayClass: olControlButton Cheers Kris -Original Message- From: users-boun...@openlayers.org

Re: [OpenLayers-Users] First try with html5 canvas for layers

2010-01-31 Thread Kris Geusebroek
-Original Message- From: Eric Lemoine [mailto:eric.lemo...@camptocamp.com] Sent: Sunday, January 31, 2010 9:51 AM To: Kris Geusebroek Cc: OpenLayers Users Subject: Re: [OpenLayers-Users] First try with html5 canvas for layers On Monday, November 23, 2009, Kris Geusebroek kgeusebr...@xebia.com

Re: [OpenLayers-Users] Save polyline drawn in to database

2010-02-03 Thread Kris Geusebroek
Hi, Did you look at http://dev.openlayers.org/releases/OpenLayers-2.8/examples/wfs-t.html ? I'm using it as a base for our drawing app where you can draw points, lines and polygon's. With the WFS-T it's send to geoserver which stores it in an oracle spatial table If you need more info feel free

Re: [OpenLayers-Users] nsIXMLHttpRequest, NS_ERROR_NOT_INITIALIZED with Vector and WFS layer

2010-03-16 Thread Kris Geusebroek
Hi Poul, A few months ago i added a patch for this problem, you can find it mentioned in this thread: http://n2.nabble.com/Error-when-using-XMLHTTPRequest-td3506570.html Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of

Re: [OpenLayers-Users] Draw a point and assign a dynamic label to it

2010-03-24 Thread Kris Geusebroek
Hi Kristian, You have to do something like this (this function is called in the onChange of a textbox) function changeDescription(val) { if (popupFeature) { popupFeature.attributes.OMSCHRIJVING = val; if ((!popupFeature.state || popupFeature.state ==

Re: [OpenLayers-Users] Possibility to put a tiled image on OpenLayers

2010-04-21 Thread Kris Geusebroek
Hi Jimmy, You can use a server to do that, but it is also possible if the tiles are served from a webserver. The directory structure or naming of the tiles has to be somewhat structured though. You can use the OpenLayers.Layer.TileCache class of openLayers if you confirm to that

Re: [OpenLayers-Users] Possibility to put a tiled image on OpenLayers

2010-04-22 Thread Kris Geusebroek
+ '/'; return url + path+/+this.layername+_+res+_+zeroPad((parseInt(tileY) % 1000), 4) + '.' + this.extension; } But OpenLayers get just the first tiles (.jpg) by zoom. Do you have an idea why openlayers take just one tiles? Cheers. Jim 2010/4/21 Kris Geusebroek kgeusebr

Re: [OpenLayers-Users] add an arrow to line feature

2010-06-29 Thread Kris Geusebroek
Hi, I don't know which server you use but on the geoserver blog there was an explanation about this. http://blog.geoserver.org/2009/04/02/follow-the-arrows/ Cheers Kris Met vriendelijke groet, Kind regards, Kristiaan Geusebroek Consultant [cid:image005.jpg@01CAD62A.CDCB6570]

[OpenLayers-Users] Fwd: pb with Strategy.Refresh

2010-07-28 Thread Kris Geusebroek
Sorry, forgot to keep the list in the loop Hi Sebastien, The refresh strategy only reloads the layer, so the problem with the Math.random key would be in the Http class i guess. I think that is due to the fact that you generate the number once during construction of the Http class. The

Re: [OpenLayers-Users] magnifier for openlayers map

2010-08-04 Thread Kris Geusebroek
Hi Pierluigi, My first unch would be to look at the transitionEffect attribute of a layer. Here the tiles are resized to fit the next zoomLevel before the new tiles are loaded. I guess you could use this effect to magnify a part of the layer Cheers Kris Met vriendelijke groet, Kind regards,

Re: [OpenLayers-Users] How to refresh a layer every N seconds?

2010-08-12 Thread Kris Geusebroek
Hi, What is happening not correctly in your opinion. the use of the RefreshStrategy is correct. Are you seeing your features on the map? If not i think since you get you're data from a local xml file it can be a same origin policy problem. If you can see your features i think the refresh is

Re: [OpenLayers-Users] How to refresh a layer every N seconds?

2010-08-13 Thread Kris Geusebroek
Hi, this is definitely the same origin policy that's bothering you. When you download it on your PC i assume you save the html somewhere and after doing so the same origin policy prevent's you to get data from a different domain. cheers Kris Met vriendelijke groet, Kind regards, Kristiaan

Re: [OpenLayers-Users] WFS GetFeature Example

2010-08-18 Thread Kris Geusebroek
Hi, I think you can use a filter for that. Filter on FID or some other unique attribute and you only get the feature you want to edit Cheers Kris Met vriendelijke groet, Kind regards, Kristiaan Geusebroek Consultant [cid:image005.jpg@01CAD62A.CDCB6570] [cid:image006.png@01CAD62A.CDCB6570]

Re: [OpenLayers-Users] drawing a circle in openlayers

2010-08-29 Thread Kris Geusebroek
regards, Imran On Thu, Aug 26, 2010 at 6:03 PM, Kris Geusebroek kgeusebr...@xebia.commailto:kgeusebr...@xebia.com wrote: Hi I Think you can use var circle = OpenLayers.Geometry.Polygon.createRegularPolygon(ft.geometry, selectedRadius, 50); as far as i know the radius is in the distance unit