Re: [OpenLayers-Users] Display legend

2008-10-15 Thread Andrew de Klerk
A bit long winded, but we use the “GetLegendGraphic” Request to request the graphic for each class and then place them in a div outside of the map (div could be placed on top of map as well). The "LAYER" is your class name for that particular layer. I cannot recall why we never used GetLegend -

Re: [OpenLayers-Users] Openlayers based generic GIS tool?

2008-10-10 Thread Andrew de Klerk
In a way http://olarchitect.com/ does this, but that is more to provide a GUI interface for a back-end developer to create a quick map. That said, through browsing nabble you could quite easily create a map in a day or two that has: Basic controls Layer chooser Measure tool Pick coordinate Some o

Re: [OpenLayers-Users] Include Data from Postgresql database in Openlayers Popup

2008-09-22 Thread Andrew de Klerk
Hi reena - here is an example from our application using the "GetFeatureInfo" response from a mapserver based WMS. In your mapinit you need to register the click event and call a function: map.events.register('click', map, function (e) { getAssetNode(e); }); Then your

Re: [OpenLayers-Users] OpenLayers.Control.PanZoomBar : Can I get the Zoom bar (slider) without the Pan buttons?

2008-09-17 Thread Andrew de Klerk
As far as I am aware it is not possible through the api, however you could do something like: Document.getElementById("OpenLayers_Control_PanZoom_panleft").style.display= 'none'; Etc Using firebug you can determine what the different div's are called (panright, pandown etc) >From what I can see

[OpenLayers-Users] Foss4g

2008-09-09 Thread Andrew de Klerk
Hi all As part of the Foss4g conference, I see there is a code sprint set for the Saturday. I will probably not be able to make that, so apart from that, are there any plans for us users to meet the great folk who have made open layers possible? Is there going to be a stand? Or perhaps we could

Re: [OpenLayers-Users] Putting map-div in a table won't work

2008-09-02 Thread Andrew de Klerk
Does your map div have a style with width and height set? - i.e. #map{ width:500px; height:500px; border:1px solid; } Other than that, I We have placed ours in a table before - so that should not be a problem. I may be missing something, but your code looks ok The div is a normal ht

Re: [OpenLayers-Users] stitch together multiple maps?

2008-07-31 Thread Andrew de Klerk
Wendell If I understand you correctly, you want to display your images as a mosaic of tiles. This question was asked last week, and the answer was to setup a raster WMS, that serves the images. Chris provided some links (see below) for doing it with mapserver (which we have found to excellent at s

Re: [OpenLayers-Users] Including prototype

2008-07-30 Thread Andrew de Klerk
When we incorporated Jquery within an openlayers application the $ was conflicting with Openlayers and we had to do the following: JQ=jQuery.noConflict(); $=null; All Jquery calls would then be called using JQ instead of $ I imagine you will be having the same

Re: [OpenLayers-Users] TextLayer with Framecloud popup

2008-06-25 Thread Andrew de klerk
Ok, please forgive my late night googling skills (tired eyes!), and thanks for the prompt response. If i look at that link you have said: "Generally, the answer is 'no, and why are you still using a Layer.Text? Use a Layer.GML with a format: OpenLayers.Format.Text and a selectFeature control inst

[OpenLayers-Users] TextLayer with Framecloud popup

2008-06-25 Thread Andrew de klerk
Hi all I have been searching for a way to implement the frameclod popup for a text layer (as in the "markerstextlayer.html" example). Has this been done? I am even willing to modify the Text.js file, but do not know where to start :). Any guidance or pointers would be appreciated - thanks Andrew

Re: [OpenLayers-Users] Measuring tool

2008-03-19 Thread Andrew de Klerk
How accurate do you need it?. We use a basic function to determine distance based upon the earth's radius. This IS NOT accurate, but, does work for our purposes. This functions gets the distance by passing in a vector feature function ShowMeasureDistance(feature) {

Re: [OpenLayers-Users] Labels cut and repeated on tilling

2008-03-13 Thread Andrew de Klerk
-mapserver-ka-map-td6531 054.html#a6531054 Currently there is no workable option for mapserver. I am interested to know if other geoserver or mapnik users experience the same problem. Andrew From: kusum [mailto:[EMAIL PROTECTED] Sent: 13 March 2008 08:41 AM To: Andrew de Klerk; users

Re: [OpenLayers-Users] Labels cut and repeated on tilling

2008-03-12 Thread Andrew de Klerk
Hi kusum This is not really an openlayers issue. You are probably using mapserver to generate a WMS. This is a known issue when creating tiles. Labels are repeated for each tile in the case of polygons, and are sometimes cut off/duplicated for lines. Unfortunately, there is no real workaround f

Re: [OpenLayers-Users] Google Summer of Code 2008

2008-03-12 Thread Andrew de Klerk
@openlayers.org Subject: Re: [OpenLayers-Users] Google Summer of Code 2008 On Tue, Mar 11, 2008 at 11:45:43PM -0700, Andrew de klerk wrote: > > Hi all > > I have had a look at the trac for this cited on the dev mailing list, and am > not sure if this is the appropriate place for this

Re: [OpenLayers-Users] Google Summer of Code 2008

2008-03-11 Thread Andrew de klerk
Hi all I have had a look at the trac for this cited on the dev mailing list, and am not sure if this is the appropriate place for this suggestion, but here goes. Linda Rawson suggested to include plugin development for openlayers as part of te summer of code. I was reminded of this when I saw th

Re: [OpenLayers-Users] Zoom to a region using drop down selection box

2008-02-04 Thread Andrew de Klerk
Sindile The filtering of your dropdowns would have to be done in the backend outside of openlayers. That is, in your database design you would need to associate municipalities with specific provinces, and towns with specific municipalities. When a user selects a province the dropdown would then

Re: [OpenLayers-Users] Vector/GML Thematic

2008-01-30 Thread Andrew de Klerk
Marvelous - I will look at that, and see if it meets my needs - Thanks -Original Message- From: Andreas Hocevar [mailto:[EMAIL PROTECTED] Sent: 30 January 2008 10:39 AM To: Andrew de klerk Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] Vector/GML Thematic Andrew- Andrew de

[OpenLayers-Users] Vector/GML Thematic

2008-01-29 Thread Andrew de klerk
Hi All I remeber reading somewhere that presenting a GML with a thematic (i.e. different colours for different polygons based upon a Field atrtribute) was currently under development, but I cannot seem to find the development code..Is this true, or am I missing something completely and its is

Re: [OpenLayers-Users] Pink Tile Killing Me

2008-01-16 Thread Andrew de klerk
To add to what Chris said. If you right click on the image and choose properties and then copy the url and paste it into a new browser window - what happens - do you get an error returned or an image?. That will allow you to test it outside openlayers and determine if it is a mapserver problem. A

Re: [OpenLayers-Users] Pink Tile Killing Me

2008-01-15 Thread Andrew de klerk
> > -LK > > > > From: [EMAIL PROTECTED] on behalf of Lee Keel > Sent: Mon 1/14/2008 2:12 PM > To: Andrew de klerk; users@openlayers.org > Subject: Re: [OpenLayers-Users] Pink Tile Killing Me > > &

Re: [OpenLayers-Users] Pink Tile Killing Me

2008-01-14 Thread Andrew de klerk
This is definately not a solution to the reason why the tiles are coming up pink...but the following code makes it look less "error-like" OpenLayers.Util.onImageLoadErrorColor = "transparent"; Andrew Arnd Wippermann wrote: > > Hi, > > I have the same problem with IE and OL. When IE failed to

Re: [OpenLayers-Users] Pink Tile Killing Me

2008-01-14 Thread Andrew de klerk
Arnd Wippermann wrote: > > Hi, > > I have the same problem with IE and OL. When IE failed to load a tile, it > shows the pink background. Then after some attempt(s) the tile will load, > but the pink background don't vanish. I use png as output format, but I > have > also tried with gif. But i

Re: [OpenLayers-Users] Re verting to pan/zoom after feature insertion

2007-12-19 Thread Andrew de klerk
Eric It happens with me using the editingtoolbar example. Remember that one of the vector tools must be selected when hitting refresh Andrew Eric Lemoine-3 wrote: > > On Dec 19, 2007 12:37 PM, David E. Reksten <[EMAIL PROTECTED]> wrote: >> On 19/12/2007, Eric Lemoine <[EMAIL PROTECTED]> wrote:

Re: [OpenLayers-Users] Reverting to pan/zoom after feature insertion

2007-12-19 Thread Andrew de Klerk
Hi Eric Sorry to answer in this thread, but the question was raised here..Hard refresh = Ctrl F5, but it actually happens on a straight f5 as well Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Lemoine Sent: 19 December 2007 01:16 PM To: Dav

[OpenLayers-Users] browsers supported

2007-12-18 Thread Andrew de Klerk
Hi all I was wondering what the supported browsers are for openlayers. I have encountered a minor bug related to IE7 and when a geometry tool is selected (point, line or polygon) when the users hard refreshes the page ( I have logged this ticket). But, the reason why I ask is that I have notice

Re: [OpenLayers-Users] Build With vector Support

2007-12-12 Thread Andrew de klerk
owser renders using SVG? Andrew Eric Lemoine-3 wrote: > > On Dec 12, 2007 9:03 PM, Andrew de klerk <[EMAIL PROTECTED]> wrote: >> >> Thanks...that is an oversight :) >> >> Any clues as to why it works in IE without vector support built in? > > Be

Re: [OpenLayers-Users] Build With vector Support

2007-12-12 Thread Andrew de klerk
Thanks...that is an oversight :) Any clues as to why it works in IE without vector support built in? Christopher Schmidt-4 wrote: > > On Wed, Dec 12, 2007 at 11:55:53AM -0800, Andrew de klerk wrote: >> >> Hi all >> >> I have recently build a single file with t

[OpenLayers-Users] Build With vector Support

2007-12-12 Thread Andrew de klerk
Hi all I have recently build a single file with the intention of only including the components i need. My cfg content are detailed below. What i find odd (granted i do not know enough about the difference between different browsers) is that vectors work fine in IE7, but not at all in firefox or o

Re: [OpenLayers-Users] geometry.getLength() returns what format

2007-12-10 Thread Andrew de klerk
Tim (or anyone else) understanding that your code is still in test mode etc, I am trying to implement your measure control into a panel toolbar, but am battling to translate your example to what i need. this is what I have so far: var mt = new OpenLayers.Control.Measure(OpenLayers.Handler.Path,

Re: [OpenLayers-Users] Control Panel Multiple Tools with different icons

2007-12-06 Thread Andrew de Klerk
mailto:[EMAIL PROTECTED] Sent: 06 December 2007 10:59 PM To: Andrew de Klerk Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] Control Panel Multiple Tools with different icons On Thu, Dec 06, 2007 at 10:45:49PM +0200, Andrew de Klerk wrote: > The measure tool will be implemented us

[OpenLayers-Users] Control Panel Multiple Tools with different icons

2007-12-06 Thread Andrew de Klerk
Hi all I will try and explain my problem as best as I can without confusing you. I have searched the forum's but have not found a solution to my problem. I am trying to implement a toolbar using the control Panel. My toolbar will contain the following tools: Zoom Extent ZoomBox Pan Select f