[OpenLayers-Users] RGBA PNG images an transparency?

2010-08-24 Thread Stephen Woodbridge
Hi all, I'm using mapserver AGG outputformat to generate 32bit RGBA PNG images that where I want the background color to be transparent. My problem is when I load the images into OpenLayers the background is black which is what I set in mapserver. Does anyone know what the trick to getting

Re: [OpenLayers-Users] Single Tile for the entire Map bounds

2010-08-04 Thread Stephen Woodbridge
: That solved my problem. Thanks Steve. On Wed, Aug 4, 2010 at 2:11 PM, Stephen Woodbridge wood...@swoodbridge.com mailto:wood...@swoodbridge.com wrote: Yes you can do this by setting the layer option: singleTile: true, ratio: 1 in mapserver or wms

[OpenLayers-Users] Problem change from Spherical Mercator to WGS84 layers

2010-08-02 Thread Stephen Woodbridge
Hi all, I have a site using OL 2.9.1: http://www.routeloops.com/?zoom=11lat=39.92454lon=-83.82143layers=B00TTll=-83.8127%2039.924536len=7.5rs=0.17704576380180836al=0%2C1u=Ecw=1 When I switch layers using the layer switcher everything looks ok, except when I change from a Google layer to either

Re: [OpenLayers-Users] externalGraphic anchoring points?

2010-07-27 Thread Stephen Woodbridge
I believe the origin of an image is the upper-left corner, so you need to specify your offsets based on that point. -Steve William Martin wrote: All, Hi, new user. I'm using a vector layer for placing markers on the map, and I'm using the externalGraphic property to specify a marker of

Re: [OpenLayers-Users] How to display PostGIS data through Openlayers and JSP

2010-07-24 Thread Stephen Woodbridge
George Matt wrote: Hi all, Is it possible to show postgis data in openlayers? If yes can some body points me to some links or upload a working example to illustrate. A usecase can be: Consider a road table (road_id, geom, road_name) in the postgre/postgis database. In SQL the

[OpenLayers-Users] Change Layers, but Layer does not show until zoom out/in performed

2010-07-01 Thread Stephen Woodbridge
Hi Chris, Thank you for your feedback on changing layers. I got almost everything working. I think I ran into the remaining issue a long time ago, but I can not for the life of me find the old post or solution. And this might not be exactly the same problem. I have three base layers: 1.

Re: [OpenLayers-Users] Change Layers, but Layer does not show until zoom out/in performed

2010-07-01 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Hi Chris, Thank you for your feedback on changing layers. I got almost everything working. I think I ran into the remaining issue a long time ago, but I can not for the life of me find the old post or solution. And this might not be exactly the same problem

Re: [OpenLayers-Users] Change Layers, but Layer does not show until zoom out/in performed

2010-07-01 Thread Stephen Woodbridge
this is not the intended way to fix this problem and I'm guessing that I am probably using part of the API in the wrong way. But I have not found who or what changes those values or why I'm getting numbers like -3e+10 Thanks, -Steve Stephen Woodbridge wrote: Stephen Woodbridge wrote: Hi Chris, Thank you

[OpenLayers-Users] Question on using multiple layers in different projections

2010-06-30 Thread Stephen Woodbridge
Hi all, I have an OL app setup the is using epsg4326 and everything it fine. It has a mapserver base layer and a vector overlay with markers and another with lines. I have been asked to add Google as an additional base layer. So my understanding is that the map object will take on the

[OpenLayers-Users] Google Maps using api 3

2010-06-16 Thread Stephen Woodbridge
Hi devs, FYI: It looks like google has a fix in place to disable animation on setCenter, is: http://code.google.com/p/gmaps-api-issues/issues/detail?id=2346 I think that this was the blocking item for implementing a Google layer provider in OL using the Gmaps 3 api. I might have

Re: [OpenLayers-Users] Routes between two points

2010-05-27 Thread Stephen Woodbridge
Cúmar Cueva wrote: Hello, Any one know if openlayers allows to make a optimal routes between two points ¿? (considering streets ;-) ). If you know any example, please let me know. See http://pgrouting.postlbs.org/ This works on a server but can be integrated with OpenLayers to display

Re: [OpenLayers-Users] [OpenLayers-Dev] Can OpenLayers call ......

2010-05-06 Thread Stephen Woodbridge
Hi Venkat and Anindya, First, your questions (see below) are user questions and not dev questions so I have moved them over to the user list. Second, your questions are very basic web development questions and not really OpenLayers specific. OpenLayers is a JavaScript library that runs in a

Re: [OpenLayers-Users] Changing singleTile property of a loaded layer

2010-04-29 Thread Stephen Woodbridge
strk wrote: Is it possible to switch between singleTile on/off for a layer which is already added to a map ? When I try using addOptions({singleTile:true}) over a layer initialized w/out that option the result is some odd behaviour: a single tile is loaded with the request of full extent

Re: [OpenLayers-Users] Success! and one minor quirk :)

2010-04-08 Thread Stephen Woodbridge
Hi Eric, Sorry for the very long delay in getting back to this, but life happens regardless of code :) Questions inline below ... Eric Lemoine wrote: On Wed, Mar 17, 2010 at 6:30 AM, Stephen Woodbridge wood...@swoodbridge.com wrote: Hi Eric and all, Thank you for your time and advice

Re: [OpenLayers-Users] Security and user authentication using OpenLayers and Geoserver

2010-03-26 Thread Stephen Woodbridge
paweluz wrote: Hi! I wrote an application using GWT, OL2.8, Geoserver2.0.1 and PostGIS. The user is able to view, save, delete and modify data using web browser. Now I have been thinking about a way to limit the functionality to the user. For example: - only the admin user can modify data.

Re: [OpenLayers-Users] simultaneous parse and display of WFS data?

2010-03-22 Thread Stephen Woodbridge
Chris Green wrote: Hi all Apologies for re-posting but I am hoping someone can guide me on my problem over simultaneously parsing and displaying features obtained by WFS on a vector layer: I have defined a vector layer which successfully makes a WFS call and displays

Re: [OpenLayers-Users] OpenLayers.Control.ModifyFeature

2010-03-22 Thread Stephen Woodbridge
mario1...@libero.it wrote: How can I deactivate the modify feature control when the select feature control is activated ? Is there a way to force the modify feature control disactivation when the other control is active ? Both controls operate on the same layer. You can add them both

[OpenLayers-Users] Success! and one minor quirk :)

2010-03-16 Thread Stephen Woodbridge
Hi Eric and all, Thank you for your time and advice on this project, I think I finally have almost everything working. There is still some clean up to do and a few quirks that I'm not sure about. Oh and I need to add a user login so different users edits are kept separate, but that is just

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

2010-03-14 Thread Stephen Woodbridge
Eric Lemoine wrote: On Wed, Mar 10, 2010 at 6:21 PM, Stephen Woodbridge wood...@swoodbridge.com wrote: I'm running OL 2.8, I have not tried trunk. http://imaptools.com:8080/tilecache/test.html?zoom=17lat=33.89595lon=35.49935layers=BT This is a work in progress, that is getting edits

Re: [OpenLayers-Users] Vector text labels with offsets?

2010-03-13 Thread Stephen Woodbridge
...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Stephen Woodbridge Gesendet: Freitag, 12. März 2010 23:31 An: openlayers user list Betreff: [OpenLayers-Users] Vector text labels with offsets? Hi, Is it possible to give and offset to the text label position? I have

[OpenLayers-Users] Need help on the best way to approach feature attribute editing

2010-03-12 Thread Stephen Woodbridge
Hi all, I'm stuck on the best conceptual approach to editing feature attributes and could really use some feedback or other ideas. In part because I think I'm too tangled in all the code parts and have lost the big picture. So at a high level I need: 1) base map - check works fine 2) vector

[OpenLayers-Users] How to programmatically open/close Popup?

2010-03-11 Thread Stephen Woodbridge
Hi all, I have an OpenLayers.Popup.FramedCloud popup that contains a form for entering/editing a features attributes. The form has a save button with an onClick function attached that needs to save the data to the server then close the popup. Currently the button only issue an alert. How can

[OpenLayers-Users] Popup bug/problem when popup causes the map to pan

2010-03-11 Thread Stephen Woodbridge
Hi all, I have a problem when I open a popup that causes the map to pan so it fits on the view, that popup seems to be damaged because when you manually try to close it by the close box it throws a JS error. This can be reproduced here:

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

2010-03-11 Thread Stephen Woodbridge
Eric Lemoine wrote: On Monday, March 8, 2010, Stephen Woodbridge wood...@swoodbridge.com 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

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

2010-03-11 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Eric Lemoine wrote: On Monday, March 8, 2010, Stephen Woodbridge wood...@swoodbridge.com 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

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

2010-03-10 Thread Stephen Woodbridge
Eric Lemoine wrote: On Monday, March 8, 2010, Stephen Woodbridge wood...@swoodbridge.com 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

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

2010-03-08 Thread Stephen Woodbridge
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 some arbitrary XML. The layer looks like this so far

Re: [OpenLayers-Users] OpenLayers.Layer.Vector reading KML file from disk instead of HTTP served

2010-03-08 Thread Stephen Woodbridge
Ju wrote: Hi everyone. I'm working on the code from the example at http://openlayers.org/dev/examples/sundials-spherical-mercator.html I'd really like the OpenLayers.Layer.Vector to read the KML file directly from the disk, not via HTTP, because both the file and the page reside on my

Re: [OpenLayers-Users] Make vector layer from JSON

2010-03-07 Thread Stephen Woodbridge
Hi Guys, I have been looking into a similar problem using some arbitrary XML and have some questions on how to do this also that I will post in a separate thread, but here is my take on what needs to be done. OpenLayers.Format.JSON should handle the actual parsing and give you a top level

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

2010-03-07 Thread Stephen Woodbridge
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 some arbitrary XML. The layer looks like this so far: vector = new OpenLayers.Layer.Vector(POI, { maxResolution: 360.0/16777216/2,

Re: [OpenLayers-Users] help (pgrouting)

2010-02-18 Thread Stephen Woodbridge
Ricardo Rodríguez wrote: hello all, it is possible that openlayers, work DIRECTLY with postgres, postgis and mapserver without pgrouting or need something WFS, which recommend. additionally there are tutorials or examples that utilize these programs OpenLayers runs in your browser and it

Re: [OpenLayers-Users] Display cector feature labels with spaces?

2010-02-17 Thread Stephen Woodbridge
Jan Henrik Øverland wrote: Hi, displaying feature labels works fine like this: 'label': '${Name}' However, the name column in my stupid facility shapefile is called Name of fa and then the labels are displayed as ${Name of fa} in the map. I know I can just change the shapefile, but is it

Re: [OpenLayers-Users] How to recenter the map when drawing

2010-02-16 Thread Stephen Woodbridge
smartini wrote: Hi. Just to define my business requirement first. When drawing on the map aka plotting a trail, I need to be able to recenter the map at the point at which a vertex is added. Registering a click handler for the map to trigger a recenter only appears to work when not in

Re: [OpenLayers-Users] jQuery/OpenLayers-2.8 conflict

2010-01-30 Thread Stephen Woodbridge
AlessioDL wrote: The code I've posted is all there... what do you mean with some other error? Firebug is installed, the errors are: jQuery is not defined $(document).ready is not a function Use the NET tab in Firebug and verify that all the JS files that you are trying to load are

[OpenLayers-Users] [Fwd: WMSGetFeatureInfo with Mapserver]

2010-01-14 Thread Stephen Woodbridge
Stella, I forwarded this to the lists because there are more people there that might be able to help. If you are not signup to these lists I recommend that you sign up. mapserver-users mailing list mapserver-us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users Users

[OpenLayers-Users] Cartographer.js Thematic Mapping Library

2010-01-03 Thread Stephen Woodbridge
Found this today and thought it might be of interest to the list. http://cartographer.visualmotive.com/ I was thinking that it would be nice to have something like this for OpenLayers. -Steve W ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] Is there a way to dynamically get the feature id of a feature from a WMS layer?

2009-12-17 Thread Stephen Woodbridge
cgp wrote: I've been trying this for about a week now but I can't find anything. Maybe I'm missing something? It seems that the feature id and the fid are different. I can get the fid dynamically (from getfeatureinfo on a WMS layer) but not the Feature_id. I think a little more info is

Re: [OpenLayers-Users] Understanding events

2009-12-08 Thread Stephen Woodbridge
Yves Moisan wrote: I thought MyMap.events.register(loadend, layers[0], selectFeature(layers[0],oFeatures[0].fid)); I at least learned that a loadend is only registerable on a layer, so : layers[0].events.register(loadend, layers[0], selectFeature(layers[0],oFeatures[0].fid)); It

Re: [OpenLayers-Users] Understanding events

2009-12-08 Thread Stephen Woodbridge
Yves Moisan wrote: Try calling your select function using a timer delay from loadend event. I tried looking for examples. I saw the obvious controls for which a delay makes sense (hover, WMSGetFeatureInfo) but I didn't find a way to set a delay in some arbitrary location in the code.

Re: [OpenLayers-Users] Understanding events

2009-12-08 Thread Stephen Woodbridge
Ivan Grcic wrote: Hi, On Tue, Dec 8, 2009 at 11:26 PM, Stephen Woodbridge wood...@swoodbridge.com wrote: Yves Moisan wrote: Try calling your select function using a timer delay from loadend event. I tried looking for examples. I saw the obvious controls for which a delay makes sense

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

2009-12-07 Thread Stephen Woodbridge
Well, one idea might be to only make one XHR request and get all the data for all the layers, then have the request handler load the data into the appropriate layers so they all get updated. This assumes that you can tag the data returned with some key that allows you to tie it to a specific

[OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Stephen Woodbridge
Hi all, I'm trying to WMSGetFeatureInfo but have the following problem when using it with mapserver:

Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Stephen Woodbridge
template for each layer? I thought that this was supposed to return GML with something like COL_NAME = col_value for each of the columns. -Steve Stephen Woodbridge wrote: Hi all, I'm trying to WMSGetFeatureInfo but have the following problem when using it with mapserver: http://example.com

Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Stephen Woodbridge
Daniel Morissette wrote: Stephen Woodbridge wrote: OK, part of the problem is solved I added to the matadata: 'wms_feature_info_mime_type' text/html which fix the error, but now I get back what looks like image map of the features which is not what I was expecting. Are you using an old

[OpenLayers-Users] Google Disruptive business models on Geo Data

2009-10-31 Thread Stephen Woodbridge
Hi all, This is a great article that has a lot of relevance to the OpenSource/OpenData world. I thought it was a good read. http://abovethecrowd.com/2009/10/29/google-redefines-disruption-the-%E2%80%9Cless-than-free%E2%80%9D-business-model/ Sorry for the cross-posting. -Steve W

[OpenLayers-Users] FF 3.5 Geolocation API

2009-10-29 Thread Stephen Woodbridge
Hi all, I can across this today and thought this might be interesting for OpenLayers Users. https://developer.mozilla.org/En/Using_geolocation The short story is that it is a JavaScript API that lets you get a FF 3.5+ clients location, if they want to share it. This is like GeoIP, but built

Re: [OpenLayers-Users] Geocoding

2009-10-16 Thread Stephen Woodbridge
has the right underlying technology and we are excited by the possibility of refactoring it to achieve these changes. Sorry for being OT. Contact me off list if you want more information. Best regards, -Stephen Woodbridge http://imaptools.com/ Cheers Paul On 2009-10-14, at 7:09 PM

Re: [OpenLayers-Users] Result of expression 'map' [undefined] is not an object.

2009-10-04 Thread Stephen Woodbridge
Nicholas Efremov-Kendall wrote: Hi all, I'm getting the following error in what used to be functional code Result of expression 'map' [undefined] is not an object. It's breaking on the statement map.addLayer(cities). Here's the exerpted code that I've added around this. I can add a

Re: [OpenLayers-Users] Result of expression 'map' [undefined] is not an object.

2009-10-04 Thread Stephen Woodbridge
mind, and it makes my programming a lot easier to let there be a comma at the end. Regards, Andreas. Stephen Woodbridge wrote: Nicholas Efremov-Kendall wrote: Hi all, I'm getting the following error in what used to be functional code Result of expression 'map' [undefined

Re: [OpenLayers-Users] Reverse Geocoding

2009-09-27 Thread Stephen Woodbridge
rmanor wrote: Is it possible to do reverse geocoding with OpenLayers (give longitude/latitude and get street name/city name) ? Thanks. Yes, but you probably need a server side component to do the actual reverse geocoding. For example here is an application that I build:

Re: [OpenLayers-Users] Can OpenLayers APIs merge line features

2009-09-01 Thread Stephen Woodbridge
Kevin Yang wrote: Hello everyone, A problem troubled me for a long time. Can OpenLayers APIs merge line features ?I use this function to solve the following problem: When I calculate the shortest path, I get the WKTs of the LineStrings, but it is not arranged in sequence.So I cannot use

Re: [OpenLayers-Users] p0pups

2009-06-12 Thread Stephen Woodbridge
Nicholas Efremov-Kendall wrote: Hi all, Can someone point to documentation on how to put thumbnail images and associated with GML feature/attribute data into an openlayers popup? Do I need to use the GML parser for this? Also, any directions on how to style them would be helpful. I'm

Re: [OpenLayers-Users] WMS 1.3.0 with Tiling problem

2009-06-10 Thread Stephen Woodbridge
Sarawut Ninsawat wrote: Hi all, I am trying to make a request for WMS 1.3.0 by following some recommend in mailing list. It was success. But the mosaic of tile image is wrong. As you may seem from below link (it turn up/down and left/right I think)

Re: [OpenLayers-Users] Animated Zooming

2009-06-09 Thread Stephen Woodbridge
Christopher Schmidt wrote: On Tue, Jun 09, 2009 at 01:03:33AM -0400, Stephen Woodbridge wrote: Hi All, This might be more oriented to the dev list, but I can start here. I was just looking for the animated zoom feature and googling about shows that ticket #442 was closed as wont fix

[OpenLayers-Users] Animated Zooming

2009-06-08 Thread Stephen Woodbridge
Hi All, This might be more oriented to the dev list, but I can start here. I was just looking for the animated zoom feature and googling about shows that ticket #442 was closed as wont fix and refers to #933. So we seem to have animated pan based on the tween function, but no animated zoom.

Re: [OpenLayers-Users] Example of creating a POI with attributes

2009-06-02 Thread Stephen Woodbridge
/ !Google_World.wmc.xml I use different popups to achieve display or edit attributes. Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Stephen Woodbridge Gesendet: Montag, 1. Juni 2009 23:50 An: openlayers

[OpenLayers-Users] Example of creating a POI with attributes

2009-06-01 Thread Stephen Woodbridge
Hi all, Does anyone have a public page/example that demonstrates creating a point feature and adding text attributes to it? This seems like it would be a common use case. Creating the vector feature is straight forward. It would be nice if after you create the point, that you could click it

Re: [OpenLayers-Users] Are String objects limited to 4096 characters?

2009-05-20 Thread Stephen Woodbridge
Christopher Schmidt wrote: On Tue, May 19, 2009 at 02:58:53PM -0400, Stephen Woodbridge wrote: Hi all, I'm trying to parse some WKT out of an XML document in an OpenLayers application and one of my WKT text nodes is getting truncated at 4096 character! The XML document is good, but when I

[OpenLayers-Users] Are String objects limited to 4096 characters?

2009-05-19 Thread Stephen Woodbridge
Hi all, I'm trying to parse some WKT out of an XML document in an OpenLayers application and one of my WKT text nodes is getting truncated at 4096 character! The XML document is good, but when I extract the text from the XML node it is getting truncated. It seems to work in IE 6.0.2800 and

Re: [OpenLayers-Users] Change Layer Vis outside of LayerSwitcher

2009-04-27 Thread Stephen Woodbridge
-0400, Stephen Woodbridge wrote: Christopher Schmidt wrote: On Sun, Apr 26, 2009 at 11:43:24AM -0400, Stephen Woodbridge wrote: Hi, If I change the visibility of a layer in JavaScript, How do I get that reflected in LayerSwitcher? Or maybe the question should be: How do tell LayerSwitcher

[OpenLayers-Users] Change Layer Vis outside of LayerSwitcher

2009-04-26 Thread Stephen Woodbridge
Hi, If I change the visibility of a layer in JavaScript, How do I get that reflected in LayerSwitcher? Or maybe the question should be: How do tell LayerSwitcher in JavaScript that I want to change layers selected? Thanks, -Steve ___ Users mailing

Re: [OpenLayers-Users] Change Layer Vis outside of LayerSwitcher

2009-04-26 Thread Stephen Woodbridge
Christopher Schmidt wrote: On Sun, Apr 26, 2009 at 11:43:24AM -0400, Stephen Woodbridge wrote: Hi, If I change the visibility of a layer in JavaScript, How do I get that reflected in LayerSwitcher? Or maybe the question should be: How do tell LayerSwitcher in JavaScript that I want

[OpenLayers-Users] How to use buttons instead of LayerSwitcher?

2009-04-22 Thread Stephen Woodbridge
Hi all, Some time ago, someone posted about using buttons like google for [Streets][Satellite][Terrain] instead of the OpenLayers LayerSwitcher, but I can not find any reference to that with google or searching my saved mail folders. Anyone have a pointer to an OpenLayers example that does

[OpenLayers-Users] How do I manually trigger permalink to update?

2009-04-17 Thread Stephen Woodbridge
How do I trigger permalink to update its paramaters? I define my permalink like this: plink = new OpenLayers.Control.Permalink('permalink',null, {'createParams': myCreateArgs}); and the function myCreateArgs() adds some additional parameters to the permalink. So

Re: [OpenLayers-Users] How do I manually trigger permalink to update?

2009-04-17 Thread Stephen Woodbridge
Stephen Woodbridge wrote: How do I trigger permalink to update its paramaters? I define my permalink like this: plink = new OpenLayers.Control.Permalink('permalink',null, {'createParams': myCreateArgs}); and the function myCreateArgs() adds some additional

Re: [OpenLayers-Users] snap to road

2009-03-18 Thread Stephen Woodbridge
emmexx wrote: I started to study OL a couple of weeks ago so I don't master it pretty well. I wrote some simple code based on the examples. I'm going to write a web application that will have to manage complex data about cycleways and users will draw routes on a map. I don't know if the

Re: [OpenLayers-Users] snap to road

2009-03-18 Thread Stephen Woodbridge
emmexx wrote: Jordan Anderson scrisse: Hey Maxx, ridethecity.com does something similar to this and you can see it in two places: On the main page (http://www.ridethecity.com), if you drop a marker or drag the market around, we send the lon/lat to the server and look up the nearest

Re: [OpenLayers-Users] Success! was: Couple of questions using WFS layer

2009-02-09 Thread Stephen Woodbridge
of doing this would be appreciated as I'm happy to learn more. -Steve Stephen Woodbridge wrote: Robert, Thank you! that was obvious and documented. I must have read the WFS page 2-3 times and never noticed the extractAttributes property. DUH! Thanks, -Steve Robert Sanson wrote: Hi

[OpenLayers-Users] Couple of questions using WFS layer

2009-02-08 Thread Stephen Woodbridge
Hi all, I'm making progress but can't find the attributes of the WFS features. My goal is to load a WFS layer, pull the attributes into a div as a scrolling list of items and when you mouse over the item in the scrolling list have it highlight the feature on the map. To start with, I'm

[OpenLayers-Users] onHover events on DOMelements?

2009-02-08 Thread Stephen Woodbridge
Hi all, In OpenLayers is it possible to add an onHover event to a arbitrary DOMelement? and How would I do that? or do I need to use another library like jQuery, prototype, etc. Thanks, -Steve ___ Users mailing list Users@openlayers.org

[OpenLayers-Users] WFS Server Control output by scale?

2009-02-05 Thread Stephen Woodbridge
Hi all, I'm using mapserver as a WFS server with OpenLayers to serve some polygons. How does one control at what scale mapserver will respond to WFS requests. It looks like OpenLayers makes its request based on a min/max extents. How do you control this? Can you easily limit when OpenLayers

[OpenLayers-Users] FAQ Home is Broken

2009-01-11 Thread Stephen Woodbridge
http://faq.openlayers.org/ is broken and I get a horrible python crash and back trace. ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Problemwith kamap layer and 64x64 tiles

2008-12-18 Thread Stephen Woodbridge
Hi all, I'm trying to create a KaMap layer that is based on 64x64 pixel tiles and 24x24 tiles/metatile in OpenLayers. Like this: var t64en = new OpenLayers.Layer.KaMap( Tile:64:EN, http://216.177.8.141/tiles;, { map: 2m_en,

Re: [OpenLayers-Users] Problemwith kamap layer and 64x64 tiles

2008-12-18 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Hi all, I'm trying to create a KaMap layer that is based on 64x64 pixel tiles and 24x24 tiles/metatile in OpenLayers. Like this: var t64en = new OpenLayers.Layer.KaMap( Tile:64:EN, http://216.177.8.141/tiles

[OpenLayers-Users] Idea/request for extending permalink and argparser

2008-11-21 Thread Stephen Woodbridge
Hello, I have an idea that might be a useful extension to the Permalink control that would allow it to support arbitrary additional parameters. It would involve adding a callback to the control creation and adding an additional method(s) for setting the additional argument values. Usage would

Re: [OpenLayers-Users] Idea/request for extending permalink and argparser

2008-11-21 Thread Stephen Woodbridge
%2033.868424stop=35.501906%2033.883822method=STSlang=eng Man, I think I owe you a LOT of beers at this point :) Many thanks, -Steve Christopher Schmidt wrote: On Fri, Nov 21, 2008 at 11:36:59AM -0500, Stephen Woodbridge wrote: I have an idea that might be a useful extension to the Permalink

[OpenLayers-Users] What is options parameter for in Permalink?

2008-11-20 Thread Stephen Woodbridge
Hello, 1) What is options parameter for in Permalink? OpenLayers. Control. Permalink Parameters element {DOMElement} base{String} options {Object} options to the control. There is not an example that I can see that demonstrates the use of this. 2) Are Permalink and argParser designed to be

Re: [OpenLayers-Users] How to extend permalink and argparser to support additional parameters

2008-11-20 Thread Stephen Woodbridge
that the resulting link includes the routing params. For this I'm afraid you'll have to look at the code of ArgPasses and Permalink and understand what it does. Maybe someone has better ideas... Eric 2008/11/18, Stephen Woodbridge [EMAIL PROTECTED]: Hi all, I'm wondering if anyone has

[OpenLayers-Users] How to extend permalink and argparser to support additional parameters

2008-11-17 Thread Stephen Woodbridge
Hi all, I'm wondering if anyone has a good example of extending permalink and argparser to support additional parameters. What is the best practice for doing this? I can rewrite these for what I need to do, but I thought there might be a more subtle way to do this that I'm not seeing. For

Re: [OpenLayers-Users] User inputs in Popups

2008-11-01 Thread Stephen Woodbridge
Arnd Wippermann wrote: it's possible to use popups for editing feature attributes. http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_group.html Very nice example, but in Firefox 3.0.3 on WinNT, the transparency/opacity of the pop-ups make them totally

[OpenLayers-Users] OpenLayers, pgRouting and FireFox3

2008-08-07 Thread Stephen Woodbridge
Hi all, I was trying to setup the pgRouting/OpenLayers demo on FireFox 3.0.1 but I get am error message that is does not support SVG or VML. What browser are supported? is there a plugin that adds support for this? Searching FireFox add-ons, seems to imply the FireFox supports SVG so I'm

[OpenLayers-Users] Topo Maps

2008-08-06 Thread Stephen Woodbridge
Hi all, Sorry for the cross posting, but this was new to me and I thought other here might be interested. http://www.kk.org/cooltools/archives/002970.php Enjoy, -Steve W ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] AWS S3 Support for OpenLayers???

2008-07-15 Thread Stephen Woodbridge
Christopher Schmidt wrote: On Tue, Jul 15, 2008 at 08:27:16AM -0400, Paul Spencer wrote: Steve, I think you would need a specific layer type that supports S3. If you are using kaMap to generate the tiles (and the path to the tiles) then you would probably want to start with the kaMap

[OpenLayers-Users] AWS S3 Support for OpenLayers???

2008-07-14 Thread Stephen Woodbridge
Hi, Does OpenLayers support Amazon S3 storage as a layer provider? If I generate ka-map style tiles and load them into S3 using the file path as the key, is there an easy way of serving these directly to an OpenLayers client? Thanks, -Steve W ___

Re: [OpenLayers-Users] link with gps

2008-06-26 Thread Stephen Woodbridge
Didrik Pinte wrote: On Thu, 2008-06-26 at 15:45 +0200, Kenneth Skovhede, GEOGRAF A/S wrote: Its fairly easy. These are the steps: 1. Set up OL map (I assume you have this) 2. Read data from GPS 3. call map.setCenter with the GPS data Step 2 varies, depending on the GPS brand. Usually

[OpenLayers-Users] New list us_tiger

2008-06-21 Thread Stephen Woodbridge
discussion of similar national data set for other countries. You can subscribe here: http://lists.osgeo.org/mailman/listinfo/us_tiger Please send a message after you have subscribed with a short intro and include what you are doing or would like to do with the Tiger data. Best regards, -Stephen

Re: [OpenLayers-Users] Help dealing with popup clicks verse click handlers

2008-05-28 Thread Stephen Woodbridge
Eric Lemoine wrote: Hi Stephen Of interest: with the attached patch to markers.html, I cannot reproduce your problem. -- Eric Eric, I finally got around to trying out your suggested change. This code is much more compact than what I had scraped out of the other examples, thank you.

Re: [OpenLayers-Users] Help dealing with popup clicks verse click handlers

2008-05-28 Thread Stephen Woodbridge
Eric Lemoine wrote: Hi Stephen Of interest: with the attached patch to markers.html, I cannot reproduce your problem. -- Eric The new working code is here: http://imaptools.com/maps2/tiger.html -Steve ___ Users mailing list

[OpenLayers-Users] How does remove markers/popups from a layer?

2008-05-25 Thread Stephen Woodbridge
Hi all, I'm fetching markers via an Ajax call and rendering them based on code very similar to the popup matrix example. You can see the code here: http://imaptools.com/maps2/tiger.html Just enter an address or zipcode and it will zoom you to that location and adds a marker to the map. So

Re: [OpenLayers-Users] How does remove markers/popups from a layer?

2008-05-25 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Hi all, I'm fetching markers via an Ajax call and rendering them based on code very similar to the popup matrix example. You can see the code here: http://imaptools.com/maps2/tiger.html Just enter an address or zipcode and it will zoom you to that location

[OpenLayers-Users] Example popupMatrix.html question

2008-05-20 Thread Stephen Woodbridge
Hi all, I'm trying to understand the example: http://openlayers.org/dev/examples/popupMatrix.html This seems pretty clear, and I was following it up to the point where: function addMarker(ll, popupClass, popupContentHTML, closeBox, overflow) { var feature = new

[OpenLayers-Users] How do I create a kamap layer change the tile, metatile sizes?

2008-05-12 Thread Stephen Woodbridge
Hi all, I need to create a KaMap tilecache layer in Openlayers, but it uses a non-standard tile size 128x128 and 12x12 tiles per metatile. I was reading through the code but it is not obvious to me how I can override the tile size. Thoughts? Thanks, -Steve W.

Re: [OpenLayers-Users] SOLVED: How do I create a kamap layer change the tile, metatile sizes?

2008-05-12 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Hi all, I need to create a KaMap tilecache layer in Openlayers, but it uses a non-standard tile size 128x128 and 12x12 tiles per metatile. I was reading through the code but it is not obvious to me how I can override the tile size. Thoughts? I added

Re: [OpenLayers-Users] Missing docs for OpenLayers and OpenLayers.parseXMLString and maybe others

2008-04-14 Thread Stephen Woodbridge
rto2/rto /item /addresses /response Tim Stephen Woodbridge wrote: Hi all, Is this a doc bug or am I missing something. The doc at http://dev.openlayers.org/apidocs/files/OpenLayers/Ajax-js.html Does not include: OpenLayers.loadURL OpenLayers.parseXMLString and maybe some

Re: [OpenLayers-Users] RC1 issue? with themes and styles

2008-04-03 Thread Stephen Woodbridge
Stephen Woodbridge wrote: Hi all, This might be my issue with not understanding the changes related to the themes and styles and overriding the editing toolbar. http://imaptools.com/~woodbri/edit/index26rc.php?extent=-129,19+-60,60 It looks like two of my icons are missing because

Re: [OpenLayers-Users] RC1 issue? with themes and styles

2008-04-03 Thread Stephen Woodbridge
Christopher Schmidt wrote: On Thu, Apr 03, 2008 at 04:07:06PM -0500, Stephen Woodbridge wrote: Stephen Woodbridge wrote: OK, as a work around, if I change all occurrences olControlEditingToolbar to olControlMyEditingToolbar in my code and override style.css it displays the right thing

Re: [OpenLayers-Users] How to get information on clicking on a polygon

2008-03-17 Thread Stephen Woodbridge
Try select astxt(the_geom) as wkt from mytable where ... kusum wrote: this feature also uses points for a polygon and the problem is I have geometry of polygon and not the x y cordinates. Please suggest any function if there in postgres to convert the goemetry field to cordinates or any

Re: [OpenLayers-Users] Stop modifyFeature from re-shaping features?

2008-03-16 Thread Stephen Woodbridge
ChrisWebster wrote: I have a simple map with a simple polygon layer. I want the user to be able to select, rotate and drag polygons in this layer, but I don't want the user to be able to add new polygons or re-shape existing ones. I've put a modifyFeature control on the map, which allows me

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

2008-03-12 Thread Stephen Woodbridge
Andrew, Along these lines, I have had to overload some OL methods to get the behavior I wanted. So mostly I have not patched OL for my own purposes. You can see this on my geofence editor (a work in progress) at http://imaptools.com/~woodbri/edit/index26.php?extent=-129,19+-60,60 I am using

Re: [OpenLayers-Users] Mouseposition div

2008-03-11 Thread Stephen Woodbridge
Andy Dale wrote: Hi, I have an extracted all the javascript that is used for displaying the map into a separate .js file. This works very well, the only problem being that, I cannot figure out how to set the mouseposition control to be in a separate div. I initialize the control like

  1   2   >