[OpenLayers-Users] Transform between projections

2008-11-21 Thread Marten Andersson
Hello folks! I have a map that I show in the swedish projection EPSG:2400, now I need to reproject the map bounds this into EPSG:4326. I can't get the transformation to work at all and really don't understand the documentation for this.. Do any of you guys (or girls) that have a working example

Re: [OpenLayers-Users] Tool tip on drawing polygon

2008-11-21 Thread Garthanos
Well the idea is when you have neared the conclusion of the sequence you will indeed pause if you dont know what to do... Where would I insert a title on the elements in the renderers? hopefully a little higher in the code than that. Tim Schaub-3 wrote: Hey- Lance Dyas wrote: Double

Re: [OpenLayers-Users] Selecting a feature programmatically?

2008-11-21 Thread Phil Maloney
Thanks Arnd, that worked perfectly. From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED]: AW: [OpenLayers-Users] Selecting a feature programmatically?Date: Thu, 20 Nov 2008 22:08:06 +0100 Hi, i save in a drop down list the index of the features and for selecting i use

[OpenLayers-Users] WMS GetFeatureInfo results in new window

2008-11-21 Thread Peter N. Schweitzer
I want to put the results of a WMS GetFeatureInfo into a new window. Instead of calling loadURL, I'm using open, like this var url = wms.getFullRequestString({ REQUEST: GetFeatureInfo, EXCEPTIONS: application/vnd.ogc.se_xml, BBOX: wms.map.getExtent().toBBOX(), X: e.xy.x, Y:

[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] WMS GetFeatureInfo results in new window

2008-11-21 Thread Indika Tantrigoda
Hi, Maybe you could have a look at the SelectFeature control. I haven't tried this on a wms layer. I have tried this on a wfs layer. Works nicely. Indika. 2008/11/21 Peter N. Schweitzer [EMAIL PROTECTED] I want to put the results of a WMS GetFeatureInfo into a new window. Instead of calling

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

2008-11-21 Thread Christopher Schmidt
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 control that would allow it to support arbitrary additional parameters. It would involve adding a callback to the control creation and adding an additional

Re: [OpenLayers-Users] Clust Strategy - Ghost Vector Features

2008-11-21 Thread GordonHo
hi, in my latest tests i couldn't get anymore ghost features. in addition to the patch i applied some changes to selectfeature control (although im not using the standard selectfeature control, but a modified version). i'll monitor the ghost behavior furthermore and will report back! thanks

[OpenLayers-Users] Reopen ticket #1471: Wrong typename for WFS-T update and delete

2008-11-21 Thread Geoflo
Hallo, I'm using OpenLayers 2.7 at the moment and it is not possible to use the update function of the wfs layer. The ticket (#1471) is already closed but the bug is still there. How can this happen? Regards, Florian -- View this message in context:

Re: [OpenLayers-Users] Reopen ticket #1471: Wrong typename for WFS-T update and delete

2008-11-21 Thread Bart van den Eijnden (OSGIS)
Hi, that's right, but the new way for future releases is to use Protocol.WFS with a Layer.Vector, so not Layer.WFS anymore. But unfortunately this did not make it into 2.7. So you've got 2 options: 1) patch using #1471 and use Layer.WFS 2) try to use the new stuff from

[OpenLayers-Users] problem with setting projections

2008-11-21 Thread kuba
Hi!! I would like to display my shp data in other Projection than EPSG: 4326(WGS 84). Basically i am interested to show it in following projections EPSG:3395(World Mercator) or EPSG:3395(Google Mercator). I have set up Geoserver where i store two copies of the same polygons(one in

Re: [OpenLayers-Users] Transform between projections

2008-11-21 Thread Heidt, Christopher M.
If your map options set your projection and displayProjection: { projection: new OpenLayers.Projection(EPSG:900913), displayProjection: new OpenLayers.Projection(EPSG:4326) } Then you have to transform all data going in and out. new

Re: [OpenLayers-Users] WMS GetFeatureInfo results in new window

2008-11-21 Thread Arnd Wippermann
MapServer offers the possibility to show a specific html side, when there are no results. Add EMPTY to the WEB part of the map EMPTY 'Templates/empty.html' Or you can change the tolerance radius for selecting a point. Arnd Wippermann -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED]

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

2008-11-21 Thread Stephen Woodbridge
Christopher, I hold OpenLayers in the highest regard because it never fails to amaze me with its power and flexibility. And that regard extends right to you and the other devs. Your feedback below cause me to toss a bunch of hopeless code and replace it a few lines that are clear and concise.

Re: [OpenLayers-Users] WMS GetFeatureInfo results in new window

2008-11-21 Thread Peter N. Schweitzer
Arnd Wippermann wrote: MapServer offers the possibility to show a specific html side, when there are no results. Add EMPTY to the WEB part of the map EMPTY 'Templates/empty.html' Or you can change the tolerance radius for selecting a point. Arnd, These are helpful things to know.

[OpenLayers-Users] Show Limited Area of Map

2008-11-21 Thread dizzle
I have a polygon in my map and I would like the map to only display the bounds that contains the polygon. I believe I have to code correct, but it is showing more than the bounds. I have tried setting the second parameter in zoomToExtent to both true and false. True cuts off the polygon, false

[OpenLayers-Users] How to select on CTRL key + click

2008-11-21 Thread Alexandre Dube
I'm been scratching my head for a while on this : how can I add select a feature using this customized control on click + ctrl key down only ? I've tried to add a keyMask but the checkModifiers never seems to trigger. I tried to set it to the Control, the Handler, no success. I tried to

Re: [OpenLayers-Users] problem with setting projections

2008-11-21 Thread Ian Turton
2008/11/21 kuba [EMAIL PROTECTED]: thanks it worked. Sometimes the most easiest Solutions come the last. But i have the problem that i had when i was checking out GetInfo Example. When i wanna get info about the polygon i got following error: Access to restricted URI denied code: 1012

Re: [OpenLayers-Users] Tool tip on drawing polygon

2008-11-21 Thread Garthanos
Tim Schaub-3 wrote: Hey- Lance Dyas wrote: I also want to customize the nodes (really just draw smaller squares instead of circles for the nodes) See http://openlayers.org/dev/examples/measure.html You can use any well-known name for a point (where well-known is determined

[OpenLayers-Users] Placemark location

2008-11-21 Thread romain vidaud
Hello there ! I have a kml file sending placemarks like Placemark id=274172 nameAgglomération de Grenoble/name styleUrl#ATMO4/styleUrl Pointcoordinates5.72005587713513,45.1806892548478,8/coordinates/Point /Placemark The kml loads well, but, although points are correctly

[OpenLayers-Users] displaying specific polygons from one layer

2008-11-21 Thread kuba
I would like to know if it is possible to make a request to WMS server in such a way that the polygons with specific attributes. i have map of Europe and each country has following attributes name, area, member of European Union. Basically i want to display only the countries of