[OpenLayers-Users] Upload gpx/shp file

2008-11-19 Thread S.Reena
Hi All, I was wondering as to how to automate the uploading of gpx/shp file on my map ( like they did in OpenStreetMaps) . For consistency , I'd like to convert the uploaded file to database and use that in mapfile for display. Till now , I was doing it manually using ogr2ogr. Any example for t

[OpenLayers-Users] Layer Query with Mapserver: How to do?

2008-11-19 Thread Matthew Pettis
Hi, I'd like to use Mapserver/OpenLayers to pan and zoom a map, and also to do the analog of a getfeatureinfo query in wms, but for mapservers (translate the http://openlayers.org/dev/examples/getfeatureinfo.html example to using just mapserver, not wms). Are there any examples out there for this

Re: [OpenLayers-Users] [OpenLayers-Dev] Memory Leak in OpenLayers + IE

2008-11-19 Thread Jess Lacy
Done -- http://trac.openlayers.org/ticket/1848 Christopher Schmidt <[EMAIL PROTECTED]

Re: [OpenLayers-Users] [OpenLayers-Dev] Memory Leak in OpenLayers + IE

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 07:21:38PM -0500, Christopher Schmidt wrote: > On Wed, Nov 19, 2008 at 03:58:45PM -0800, jesslacy wrote: > > > > I ran across this (or what may be a similar) issue today in IE 6 using OL > > 2.7 > > for a layer with the alpha hack. > > Can you open a ticket for this? > >

Re: [OpenLayers-Users] [OpenLayers-Dev] Memory Leak in OpenLayers + IE

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 03:58:45PM -0800, jesslacy wrote: > > I ran across this (or what may be a similar) issue today in IE 6 using OL 2.7 > for a layer with the alpha hack. Can you open a ticket for this? http://trac.openlayers.org/wiki/FilingTickets > In the Image.js file, the initImgDiv met

Re: [OpenLayers-Users] [OpenLayers-Dev] Memory Leak in OpenLayers + IE

2008-11-19 Thread jesslacy
I ran across this (or what may be a similar) issue today in IE 6 using OL 2.7 for a layer with the alpha hack. In the Image.js file, the initImgDiv method calls two observers: if (this.layerAlphaHack) { OpenLayers.Event.observe(this.imgDiv.childNodes[0], 'load',

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

2008-11-19 Thread GordonHo
thanks :) though, i haven't set a svn up here. so far i was just overriding the functions i had to change. i overwrote the /handler/feature.js handle function with the one supplied in the patch, but couldn't get it to resolve the ghosting issue. guess i've to look deeper into the problem tommoro

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

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 01:01:50PM -0800, GordonHo wrote: > > hi christopher, > > thanks alot, this indeed looks exactly like the description. > > though im having trouble to implement the suggested patch. http://trac.openlayers.org/wiki/ApplyingPatches May help. > > > > > Christopher Sch

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

2008-11-19 Thread GordonHo
hi christopher, thanks alot, this indeed looks exactly like the description. though im having trouble to implement the suggested patch. Christopher Schmidt-2 wrote: > > On Wed, Nov 19, 2008 at 12:03:48PM -0800, GordonHo wrote: >> >> hi, >> >> im using the cluster strategy to cluster pre

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 12:06:21PM -0800, polock wrote: > > Again and again I receive the error message from the firebug: > An attempt was made to create or change an object in a way which is > incorrect with regard to namespaces" code: "14 > > var wfsl= new OpenLayers.Layer.WFS( "MY WFS", >

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

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 12:03:48PM -0800, GordonHo wrote: > > hi, > > im using the cluster strategy to cluster pre clustered backend data > furthermore. > when using the map navigation controls, sometimes 'ghost features' appear. > those features have the style of some other feature, but dont beh

Re: [OpenLayers-Users] proxy.cgi on dreamhost?

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 12:59:25PM -0700, Matt Kenny wrote: > Hello Everyone! Over the weekend, I use FWTools to create a WFS and WMS with > some sample data on my shared hosting account with dreamhost.com. Both work > fine when calling them from QGIS, but I'd like to use openlayers to allow > user

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread polock
Again and again I receive the error message from the firebug: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces" code: "14 var wfsl= new OpenLayers.Layer.WFS( "MY WFS", "http://localhost/geoserver/w

[OpenLayers-Users] Clust Strategy - Ghost Vector Features

2008-11-19 Thread GordonHo
hi, im using the cluster strategy to cluster pre clustered backend data furthermore. when using the map navigation controls, sometimes 'ghost features' appear. those features have the style of some other feature, but dont behave like real features. they stay in the viewport anytime the map is res

[OpenLayers-Users] proxy.cgi on dreamhost?

2008-11-19 Thread Matt Kenny
Hello Everyone! Over the weekend, I use FWTools to create a WFS and WMS with some sample data on my shared hosting account with dreamhost.com. Both work fine when calling them from QGIS, but I'd like to use openlayers to allow users to both spatial and attribute information about my source data. I

Re: [OpenLayers-Users] Question on changing Popups on Textlayer

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 08:31:43PM +0100, Dirk Umlauffd wrote: > Great the markers are visible!!! > But they are completely at the wrong places!!! > If you would please have a look at the following map: > http://dtumlauffd.mine.nu/tmp_test/kopie1_textseite.html > and scroll into the map in the regi

Re: [OpenLayers-Users] Question on changing Popups on Textlayer

2008-11-19 Thread Dirk Umlauffd
Hi Christopher, Great the markers are visible!!! But they are completely at the wrong places!!! If you would please have a look at the following map: http://dtumlauffd.mine.nu/tmp_test/kopie1_textseite.html and scroll into the map in the region of Stuttgart you will find the markers from the regi

Re: [OpenLayers-Users] Question on changing Popups on Textlayer

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 06:59:51PM +0100, Dirk Umlauffd wrote: > Hello Christopher, > > The error message is gone now that I updated to 2.7 but: > There are no markers on the map when I use OpenLayers.Layers.GML Do you have iconSize and iconOffset in your textfile? http://trac.openlayers.org/tic

Re: [OpenLayers-Users] Question on changing Popups on Textlayer

2008-11-19 Thread Dirk Umlauffd
Hello Christopher, The error message is gone now that I updated to 2.7 but: There are no markers on the map when I use OpenLayers.Layers.GML any help is appeciated. best regards Dirk Am Montag 17 November 2008 schrieb Christopher Schmidt: > On Mon, Nov 17, 2008 at 08:03:10PM +0100, Dirk Umlauff

Re: [OpenLayers-Users] changing filters on the fly

2008-11-19 Thread Trond Michelsen
On Wed, Nov 19, 2008 at 03:34:19PM +0100, Trond Michelsen wrote: > On Wed, Nov 19, 2008 at 03:14:36PM +0100, Trond Michelsen wrote: >> I tried to simply keep a copy of the filter and layer, and do >> something like this: [...] >> But nothing changed on the vectorlayer when I triggered the function.

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 08:02:48AM -0800, ironbar wrote: > > I am working with the example vector formats example > (http://openlayers.org/dev/examples/) > I created my own wfs layer to which I would like add feature (polygon, line) > that I digitize on the viewer. > Now I want to keep most of the

Re: [OpenLayers-Users] Users Digest, Vol 26, Issue 58

2008-11-19 Thread Helm, Christopher
Witt, to fix the openlayers error your getting go into the OL module and change it from local to hosted. We need to pull down the latest OL version into freebase so this doesn't happen. On 11/19/08 8:35 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Send Users mailing list submissions to >

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread ironbar
I am working with the example vector formats example (http://openlayers.org/dev/examples/) I created my own wfs layer to which I would like add feature (polygon, line) that I digitize on the viewer. Now I want to keep most of the script of vector formats example example - that is why I want to cre

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Alexandre Dube
Christopher Schmidt wrote: > ... What are you looking at, exactly? There is no such thing as a Save > Strategy in trunk. > > Regards, > Not in trunk, I was referring to the svn wfs version which has one. See below my previous answer : Hi, > > Check out the WFS-T example in this sandbox to s

Re: [OpenLayers-Users] Cannot set layer visibility...

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 07:35:54AM -0800, Maps-R-us wrote: > > I have three custom Google Maps tile layers in my project. The setVisibility > method does not seem to work for these types of layers. Does this make > sense? Here is my source code: > > map = new OpenLayers.Map('map',options); > m

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Indika Tantrigoda
Hi, The method that I used to save features to the server is map.layers[2]commit(); Would this be an easier way to achieve your task ? Regards, Indika 2008/11/19 Christopher Schmidt <[EMAIL PROTECTED]> > On Wed, Nov 19, 2008 at 09:55:48AM -0500, Alexandre Dube wrote: > > Anybody correct me if

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 01:58:21AM -0800, ironbar wrote: > > Dear all, > Here is a snippet of my code: > > > var wfsl= new OpenLayers.Layer.WFS( "MY WFS", > "http://localhost/geoserver/wfs?";, > {typename: 'topp:

[OpenLayers-Users] Cannot set layer visibility...

2008-11-19 Thread Maps-R-us
I have three custom Google Maps tile layers in my project. The setVisibility method does not seem to work for these types of layers. Does this make sense? Here is my source code: map = new OpenLayers.Map('map',options); map.events.register("moveend", null, mapEvent); map.events.register("chang

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Christopher Schmidt
On Wed, Nov 19, 2008 at 09:55:48AM -0500, Alexandre Dube wrote: > Anybody correct me if I'm wrong : > > The example uses the Save Strategy to do so. When the user draws a > feature, its state becomes "insert" or something like that. When a > already present features gets modified, its state be

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Alexandre Dube
Anybody correct me if I'm wrong : The example uses the Save Strategy to do so. When the user draws a feature, its state becomes "insert" or something like that. When a already present features gets modified, its state becomes "update" or something like that. And there's a button that, on cli

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread ironbar
I have been reading this example for some time but still I cannot figure out where is the part (line) where a created featur get inserted in a wfs layer. Alexandre Dube wrote: > > Well, I don't know any other way if there are. Maybe someone else could > help you for that matter. > > But, you

Re: [OpenLayers-Users] changing filters on the fly

2008-11-19 Thread Trond Michelsen
On Wed, Nov 19, 2008 at 03:14:36PM +0100, Trond Michelsen wrote: > I tried to simply keep a copy of the filter and layer, and do > something like this: > > function changefilter (layer, filter, newvalue) { > filter.value = newvalue; > layer.redraw(); > } > > But nothing changed on the vectorl

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Alexandre Dube
Well, I don't know any other way if there are. Maybe someone else could help you for that matter. But, you should take some time to read the whole example and try it. You would discover a not so hard way to use WFS-Transactions. Cheers, Alexandre ironbar wrote: > Thanks for the answer: I sa

[OpenLayers-Users] changing filters on the fly

2008-11-19 Thread Trond Michelsen
Hi. Is it possible to reapply a filter on a vectorlayer after changing its value? If so, how do I do it? I tried to simply keep a copy of the filter and layer, and do something like this: function changefilter (layer, filter, newvalue) { filter.value = newvalue; layer.redraw(); } But nothin

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread ironbar
Thanks for the answer: I saw the wfs transaction example that you mentioned but still I can not figure out the connection between a created feature and a wfs layer in which I want to insert my feature. I simply would like to see what is the simplest code for inserting a feature to a wfs layer. Tha

Re: [OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread Alexandre Dube
Hi, Check out the WFS-T example in this sandbox to see a way of doing it with the WFS protocol : http://svn.openlayers.org/sandbox/topp/wfs/examples/wfs-protocol-transactions.html Download this svn version and try it. Hope this helps. Best regards, Alexandre ironbar wrote: > Dear all,

[OpenLayers-Users] Cluster Strategy with KML feed layer

2008-11-19 Thread Allan
Hey, I'm trying to set up a cluster strategy on a V.Earth/Openlayers setup, with a KML file in ESPG 4326 format. Using this code: var marker_style = ({ 'pointRadius' : "${radius}", 'fillColor' : '#9ED652', 'fillOpacity' : 0.8, 'strokeColor' : '#ff',

Re: [OpenLayers-Users] Help w/ WMS onto google spherical mercator

2008-11-19 Thread Richard Duivenvoorde
Another option is to add the parameters yourself to the epsg file (see http://www.spatialreference.org/ref/user/popular-visualisation-crs-mercator/proj4/ for parameters). E.g. on my ms4w install, in the file: C:\ms4w\proj\nad\epsg I added: # SpericalMercator projection <900913> +proj=merc +a=637

[OpenLayers-Users] How to insert that I digitized Feture in my WFS layer?

2008-11-19 Thread ironbar
Dear all, Here is a snippet of my code: var wfsl= new OpenLayers.Layer.WFS( "MY WFS", "http://localhost/geoserver/wfs?";, {typename: 'topp:mywfs'}, { typ