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

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

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

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

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: script type=text/javascript src=Scripts/jquery-1.2.6.pack.js/script script type=text/javascript JQ=jQuery.noConflict(); $=null; /script

[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] 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

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
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

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

2008-03-12 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

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

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

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.

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 load a

[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

Re: [OpenLayers-Users] Build With vector Support

2007-12-12 Thread Andrew de klerk
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? Because OpenLayers/Renderer/VML.js is not exluded. -- Eric

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 the intention of only including

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,

[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

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

2007-12-06 Thread Andrew de Klerk
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 using the DrawFeaturePath and the Delete