Re: [OpenLayers-Users] OpenLayers Dojo widget

2008-10-15 Thread Pieter De Graef
If you want a map in Dojo, check out geomajas.org. It differs from OL though in that it is a client-server solution, concentrated around vectors. Regards, Pieter De Graef DFC Software Engineering Brugsesteenweg 587 B-9030 Gent Belgium T: +32 9 236 61 96 F: +32 9 236 54 12 E: [EMAIL PROTECTED] W

Re: [OpenLayers-Users] delete feature & vertices - further

2008-10-15 Thread Eric Lemoine
See #1741. That would be good to know if the patch makes your problem go away. Eric 2008/10/16, Eric Lemoine <[EMAIL PROTECTED]>: > Hi. Do you also have a modify feature control? The select feature and > modify feature controls are known not to play well together. There > already is a ticket about

Re: [OpenLayers-Users] delete feature & vertices - further

2008-10-15 Thread Eric Lemoine
Hi. Do you also have a modify feature control? The select feature and modify feature controls are known not to play well together. There already is a ticket about that, and patch attached to it. Eric 2008/10/16, Robert Sanson <[EMAIL PROTECTED]>: > I have tried destroyFeatures, removeFeatures and

Re: [OpenLayers-Users] delete feature & vertices - further

2008-10-15 Thread Robert Sanson
I have tried destroyFeatures, removeFeatures and eraseFeatures and they all seem to have the same behaviour. The polygon disappears but the vertices remain. var delf = new OpenLayers.Control.SelectFeature(crops, {onSelect: function(feature) {crops.destroyFeatures([feature])}}); map.addControl(

Re: [OpenLayers-Users] delete feature & vertexes

2008-10-15 Thread Robert Sanson
I have found a similar problem to Adorian using OL2.7. When I click on the feature to delete it, the polygon disappears, but not the vertices. In the code below, crops is a Vector polygon layer loaded from a geoJSON file: var delf = new OpenLayers.Control.SelectFeature(crops, {onSelect: funct

Re: [OpenLayers-Users] pixel units to lat/lon units & nexrad

2008-10-15 Thread darrepac
I would love to see this two!...So either it is not feasible or we do not find the way to do it neither a working example pawprint_net wrote: > > > I had looked at those posts - but they still show just a single TMS > layer - not TMS and WMS combined. The bit I was looking for was an > exam

Re: [OpenLayers-Users] Best strategy to add many clickable rectangle areas?

2008-10-15 Thread darrepac
Arnd, many thanks! I have enough to play with now. Arnd Wippermann wrote: > > Hi Pascal, > > Here i have put an example for regFeatureSelected > http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/select-feature-with > -function.html > The used gml file boxes.xml I have generated with Op

Re: [OpenLayers-Users] how to use proj4js for Google

2008-10-15 Thread Burgholzer,Robert
Thanks Mike, I saw the reference to the compressed files, and didn't think to try that option as I was trying to learn a bit about the code, hence the use of the uncompressed, un-combined. Also, the track instance is good info. r.b. Robert W. Burgholzer Surface Water Modeler Office of Water Suppl

Re: [OpenLayers-Users] how to use proj4js for Google

2008-10-15 Thread Mike Adair
There is a Trac instance setup for Proj4js at http://trac.osgeo.org/proj4js/ where you can file tickets. I've also put up a 1.0 release candidate there for testing recently. As for getting laea working (and the others not validated) I would like to get those fixed for the final release, it is

Re: [OpenLayers-Users] MapServer OpenLayers Layer fails to load

2008-10-15 Thread Arnd Wippermann
I don't think, it's an issue with OpenLayers, but with the projection in the mapfile. Arnd Wippermann -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von jeffcopes Gesendet: Dienstag, 14. Oktober 2008 23:55 An: users@openlayers.org Betreff: [OpenLaye

Re: [OpenLayers-Users] how to use proj4js for Google

2008-10-15 Thread Alexander Petkov
What is the best way to file a bug report for Proj4js problems? I have been trying to transform coordinates to laea, but it is giving me result that are offset by a several kilometers. Quick Google search indicates that the laea transfom hasn't been checked for validity as of Jan 2008. Thanks, Al

Re: [OpenLayers-Users] Adding an attribute field to a vector layer

2008-10-15 Thread Arnd Wippermann
Hi Robert, perhaps this is a way register 'featureadded' for the vector layer * - *featureadded* Triggered after a feature is added. The event * object passed to listeners will have a *feature* property with a * reference to the added feature. crop_layer.events.reg

[OpenLayers-Users] how to use proj4js for Google

2008-10-15 Thread Burgholzer,Robert
In case anyone else out there has been having trouble getting the proj4js lib to do a coordinate transform, I have recently gone through it with success. I was goofing up a small part that caused much problems. I did one thing to solve my issue, 1) make sure that I included the merc.js projC

Re: [OpenLayers-Users] Best strategy to add many clickable rectangle areas?

2008-10-15 Thread Arnd Wippermann
Hi Pascal, Here i have put an example for regFeatureSelected http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/select-feature-with -function.html The used gml file boxes.xml I have generated with OpenLayers. There are different tags than in the beneath example. This is an gml example from

Re: [OpenLayers-Users] English labels in GoogleMaps in OL

2008-10-15 Thread Burgholzer,Robert
Thanks Chris. I actually just found upon further inspection, that if I use the streets or the hybrid maps, I get English names along with the local names, but if I use the physical map (which is my main interest), I get only the local language. r.b. Robert W. Burgholzer Surface Water Modeler Off

Re: [OpenLayers-Users] English labels in GoogleMaps in OL

2008-10-15 Thread Christopher Schmidt
On Wed, Oct 15, 2008 at 10:52:04AM -0400, Burgholzer,Robert wrote: > Slightly OT I know, and certainly provincial, but does anyone know how > to call the googlemap layers such that they would display all location > names in English? I do not believe this is possible within the Google Maps API. Re

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] Display legend

2008-10-15 Thread Jacolin Yves
Le Wednesday 15 October 2008 16:53:48 Sophie GRAS, vous avez écrit : > Hi everyone > > I have a dumb question but i can't find the answer... > I have a mapfile with several layers and I use openlayers to display them. > In each layer I have some classes (representing percentage of the > population)

[OpenLayers-Users] Display legend

2008-10-15 Thread Sophie GRAS
Hi everyone I have a dumb question but i can't find the answer... I have a mapfile with several layers and I use openlayers to display them. In each layer I have some classes (representing percentage of the population) and I'd like to know how to display the legend of these classes using open

[OpenLayers-Users] English labels in GoogleMaps in OL

2008-10-15 Thread Burgholzer,Robert
Slightly OT I know, and certainly provincial, but does anyone know how to call the googlemap layers such that they would display all location names in English? Thanks, r.b. Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmenta

Re: [OpenLayers-Users] MapServer OpenLayers Layer fails to load

2008-10-15 Thread Burgholzer,Robert
Jeff, I have had some trouble loading more than one WFS layer in a single OL interface - only one layer of that type could be loaded (at least at the time I tried). Perhaps the same limitation exists for type mapserver - or perhaps it was the mapserver layer that I had problems with, not WFS. Tr