Re: [OpenLayers-Users] Can I draw a "great circle" Vector?

2008-10-01 Thread Arnd Wippermann
Hi Ken, Also interested in this question I have found 2 functions at the mentioned side http://williams.best.vwh.net/avform.htm to calculate the distance and the waypoints between 2 points. (In the trac... Point.js I could not see a way to calculate the waypoints) I have for own purposes build a

Re: [OpenLayers-Users] Print / Saving Image

2008-10-01 Thread Gregor Mosheh
Hey neat. I wrote that. :) > "The requested URL > /openLayers/temp/Warning: Invalid argument supplied for foreach() in > /var/www/lib/printMap.php on line 20 />http://www.host.com/cgi-bin/temp/9b4a7f4ef0672726291d3aa75c387802.jpg was > not found on this server." The print.php script is generating

Re: [OpenLayers-Users] Print / Saving Image

2008-10-01 Thread youknowho
I'm having trouble getting this working and am new to PHP so that may be part of it. I get a 404 not found error message "The requested URL /openLayers/temp/Warning: Invalid argument supplied for foreach() in /var/www/lib/printMap.php on line 20http://www.host.com/cgi-bin/temp/9b4a7f4ef0672726291d

Re: [OpenLayers-Users] Error retrievin data with Ajax

2008-10-01 Thread Pierre GIRAUD
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost Pierre On Wed, Oct 1, 2008 at 7:49 PM, <[EMAIL PROTECTED]> wrote: > I getting the following error: > > Access to restricted URI denied" code: "1012" > > when trying to retrieve information from a WMS. I have the whole thing set

Re: [OpenLayers-Users] Saving vectors drawn on the map

2008-10-01 Thread Pierre GIRAUD
> Secondly I was unable to add any more icons to the editing toolbar, i think > its perhaps because I am new to Javascript, I wanted to add another icon > which will remove the selected feature. The functionality to remove the > selected feature works but icon does not show up. For this one, you c

Re: [OpenLayers-Users] Discovering the Polygon's Type

2008-10-01 Thread Pierre GIRAUD
The answer is "you cannot". Because it's just a Polygon. There is no regular polygon geometry in OpenLayers. The only thing that is regular is the way the handler draws it. When drawn, the geometry becomes an irregular one. Hope this helps. Regards, Pierre On Wed, Oct 1, 2008 at 8:32 PM, Luciano

[OpenLayers-Users] Discovering the Polygon's Type

2008-10-01 Thread Luciano - Uol
Hi all, How Can I find what kind of shape I had draw? Example: I created this control: triangulo: new OpenLayers.Control.DrawFeature(polygonLayer, OpenLayers.Handler.RegularPolygon, {featureAdded: onFeatureAdded, handlerOptions: {sides: 3}}), I have this function: functi

Re: [OpenLayers-Users] Saving vectors drawn on the map

2008-10-01 Thread Espen Isaksen
Saving to Geoserver(http://geoserver.org/display/GEOSDOC/2.+WFS) or to Featureserver(http://featureserver.org/) should work. Espen 2008/10/1 mippon <[EMAIL PROTECTED]>: > > Is there a way to save the vector features drawn by users using the editing > toolbar, perhaps to GeoServer as a feature or

Re: [OpenLayers-Users] Error retrievin data with Ajax

2008-10-01 Thread Matthew Atkins
You could use mod_jk or reverse proxy to tie directly over to Tomcat from Apache ... that way all requests will just go through the Apache web server. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 1:49

[OpenLayers-Users] Error retrievin data with Ajax

2008-10-01 Thread ajohnson
I getting the following error: Access to restricted URI denied" code: "1012" when trying to retrieve information from a WMS. I have the whole thing set up on my machine, but I am making the Openlayers request through Apache (on port 9000) to Geoserver running on Tomcat (port 8080). I researched t

Re: [OpenLayers-Users] 4326 WMS overlay on top of google reproject, WMS not showing up

2008-10-01 Thread Ed Fialkowski
Is it possible to have two different units for two layers on the same map? the bounding box for my WMS request is a bit...off. I'm guessing the request is using meters, since that's in the map options. Here's the current request: http://webapps.datafed.net/ogc_views_NEISGEI.wsfl?dataset_abbr_1=G

[OpenLayers-Users] Saving vectors drawn on the map

2008-10-01 Thread mippon
Is there a way to save the vector features drawn by users using the editing toolbar, perhaps to GeoServer as a feature or to a database. Secondly I was unable to add any more icons to the editing toolbar, i think its perhaps because I am new to Javascript, I wanted to add another icon which will

[OpenLayers-Users] Toggling layers without LayerSwitcher

2008-10-01 Thread Kimball, David (DCR)
Hi everyone, I'm working on my first OpenLayers map and I'm having a problem with toggling layer visibility. I want to use an HTML form with radiobuttons to toggle the layers instead of the LayerSwitcher control. When I choose a layer other than the first layer in the list, it draws fine once b

Re: [OpenLayers-Users] Multiple OpenLayers maps

2008-10-01 Thread mc.prins
On Wednesday 01 October 2008 13:58:41 Bas Couwenberg wrote: > Hello, > > is it possible to include multiple OpenLayers maps into one web page > because I tried it with two maps but because of the double id='map'> tag this doesn't work. Can you use self chosen id's for the yes; use different id's

[OpenLayers-Users] Multiple OpenLayers maps

2008-10-01 Thread Bas Couwenberg
Hello, is it possible to include multiple OpenLayers maps into one web page because I tried it with two maps but because of the double tag this doesn't work. Can you use self chosen id's for the div tag and can this be simply done by changing "map = new OpenLayers.Map('map', options);"? Must this

Re: [OpenLayers-Users] Aligning mapserver wms layer with google maps again

2008-10-01 Thread Christopher Schmidt
On Tue, Sep 30, 2008 at 10:59:30PM -0700, bmrg wrote: > > I am not sure if this is an issue with projections or what, but I am having a > peculiar problem trying to align my mapserver wms layer with a google layer. > I have tried playing around with projections ect. to try and remedy this but > to