Re: [OpenLayers-Users] Too many tiles being loaded

2010-03-16 Thread Eric Lemoine
On Monday, March 15, 2010, Dylan Parry m...@dylanparry.com wrote: Hi, I’ve got a layer on one of my maps and it seems to be loading many more tiles than are actually necessary for the viewport. Looking at the screen, it would probably suffice to load in maybe 10 tiles at most, but it seems

Re: [OpenLayers-Users] Too many tiles being loaded

2010-03-16 Thread Dylan Parry
On 16/03/2010 06:04, Eric Lemoine wrote: On Monday, March 15, 2010, Dylan Parrym...@dylanparry.com wrote: Hi, I’ve got a layer on one of my maps and it seems to be loading many more tiles than are actually necessary for the viewport. Looking at the screen, it would probably suffice to load

[OpenLayers-Users] Click handler not handling clicks after using editing toolbar

2010-03-16 Thread Dylan Parry
Hi, I’ve set up a click handler on my map to handle double-clicks. I did this by bastardising the demo for click handlers, so the code I have is as follows: --- start --- OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { defaultHandlerOptions: {

Re: [OpenLayers-Users] nsIXMLHttpRequest, NS_ERROR_NOT_INITIALIZED with Vector and WFS layer

2010-03-16 Thread Kris Geusebroek
Hi Poul, A few months ago i added a patch for this problem, you can find it mentioned in this thread: http://n2.nabble.com/Error-when-using-XMLHTTPRequest-td3506570.html Cheers Kris -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of

Re: [OpenLayers-Users] nsIXMLHttpRequest, NS_ERROR_NOT_INITIALIZED with Vector and WFS layer

2010-03-16 Thread bartvde
See also: http://trac.openlayers.org/ticket/2065 Best regards, Bart Hi Poul, A few months ago i added a patch for this problem, you can find it mentioned in this thread: http://n2.nabble.com/Error-when-using-XMLHTTPRequest-td3506570.html Cheers Kris -Original Message- From:

[OpenLayers-Users] Doubt with SOSCapabilities

2010-03-16 Thread Maribel Bernal
Hi all, Following the example (http://openlayers.org/dev/examples/sos.html), I'm using OpenLayers.js to connect by my local SOS which is based to 52North model, and it works correctly. I have seen the result of the GetCapabilities request is an array of offerings, and within each offering

[OpenLayers-Users] epsg:3003 geometries and gmaps

2010-03-16 Thread emmexx
I want to show a bunch of geometries over a gmap or osm or whatever commercial baselayer. I started from shape data created using arcgis: a geotiff map of Milan and some lines drawn over that map. I don't use arcgis so I imported the data in grass. Then I exported the vector layer with the lines

Re: [OpenLayers-Users] Doubt with SOSCapabilities

2010-03-16 Thread bartvde
Hi, not sure I really get your question, can you elaborate a bit? Is this something you can read from the GetCapabilities, or the info needs to be retrieved through a request on the SOS? If so, which request, and do you have an example XML request? If I understand things correctly, in the

[OpenLayers-Users] Building Openlayers on Windows - build.py

2010-03-16 Thread paweluz
Hi! I have done some changes to the fiole XMLHttpRequest.js file, and now I want to build Openlayers (deploy to one OpenLayers.js file) but I having some problem... I am using OpenLayers 2.8 on Windows2000 and Python2.6. I opened the cmd and tried this approaches: -

Re: [OpenLayers-Users] Doubt with SOSCapabilities

2010-03-16 Thread Maribel Bernal
Yes, my SOS structure is a little bit different. You can see my SOS's GetCapabilites response here: http://pastebin.com/vwr3nx37 An example of my question is at this tag (line #750): sos:ObservationOffering gml:id=DISTANCE where the offering named DISTANCE has 10 procedures, of which only one

Re: [OpenLayers-Users] openlayers working from local tiled images?

2010-03-16 Thread Frederic Junod
Hi, It's possible, it was done by metacarta [1] and more recently by developmentseed [2]. Both by using an usb stick. fredj [1] http://labs.metacarta.com/on-a-stick/ [2] http://mapbox.com/tools/maps-stick On Mon, Mar 15, 2010 at 11:04 PM, Phil Scadden p.scad...@gns.cri.nz wrote: I am using

[OpenLayers-Users] Fixed popups

2010-03-16 Thread Jordi Romagos i Figueras
Hi, I’m building an application and I have some markers in a preloaded positions. And I want to show a popup on the bottom of the marker icon. My problem is this popup is randomly displayed in different positions (left, right, top) of the position that I load. It’s possible to said put

[OpenLayers-Users] convert SQL statement to OGC filter

2010-03-16 Thread Gabriel Nolasco
Hello, This is not an OpenLayers specific question, but I'll try my luck in this large GIS developers community... I'm trying to convert a SQL statement into an OGC filter. My approach was to use javascript string methods to match the operators, create the respective OpenLayers filters and then

Re: [OpenLayers-Users] Building Openlayers on Windows - build.py

2010-03-16 Thread Shawn Oatley
I had the same problem with the build.py file and was executing it from a batch file. You need to go to the directory and then execute the build.py file I.E.: D: cd \gwt\openlayers-2.8\openlayers-2.8\build build.py full.cfg Try that and you should be good to go... Shawn On 3/16/2010 at

Re: [OpenLayers-Users] Building Openlayers on Windows - build.py

2010-03-16 Thread paweluz
Hi! Thanks a lot for your help. I worked!!! :) I have no idea why my approach did not work, but now it is no important... Thanks one more time ! Poul -- View this message in context: http://n2.nabble.com/Building-Openlayers-on-Windows-build-py-tp4743084p4743474.html Sent from the OpenLayers

Re: [OpenLayers-Users] nsIXMLHttpRequest, NS_ERROR_NOT_INITIALIZED with Vector and WFS layer

2010-03-16 Thread paweluz
Hi Kris! It worked! The error is now gone. Both in my GWT application and in JS application :) Thanks a lot for your help. I had some problems with building Openlayers, but with some help I did it. One more time thanks!! Cheers, Poul -- View this message in context:

Re: [OpenLayers-Users] OSM2pgsql, latlong, OpenStreetMap data, uDig = weird projection

2010-03-16 Thread Mulone
Some more info on the same topic: I'm trying to render openstreetmap data on a WMS on MapServer. The system used to work with epsg:4326 but in our project we need a GoogleMaps like projection and we chose epsg:900913. These are the steps I followed to reimport everything for the new

Re: [OpenLayers-Users] show two layers with different projections

2010-03-16 Thread M_Airola
GeoGEOrge wrote: I was able to add my layer and have it show on top of Google streetmap-in the right location. But I am still unable to get it to show on top of my EPSG:4326 raster layer. Would a layer with EPSG:4326 require the sphericalMercator: true statement? I don't think you need

Re: [OpenLayers-Users] Limit zoomlevels

2010-03-16 Thread Mapmaker
Try this: var mapnik = new OpenLayers.Layer.OSM(Mapnik,,{numZoomLevels: 5}); BRYAN -- View this message in context: http://n2.nabble.com/Limit-zoomlevels-tp4744292p4744803.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___

Re: [OpenLayers-Users] Hide some markers of a OpenLayers.Layer.Marker

2010-03-16 Thread JuKiM
Yes, I was doing with a setOpacity(0) or setOpacity(1) and it was the same effect, but with your tip it worked, too, I was trying to do a display='none', but it wasn't the good way! I'll do like you've said.. Thanks! 2010/3/12 helmi helm...@gmail.com have u tried lyr.markers[i].display(false)

Re: [OpenLayers-Users] Click handler not handling clicks after using editing toolbar

2010-03-16 Thread Eric Lemoine
On Tuesday, March 16, 2010, Dylan Parry m...@dylanparry.com wrote: Hi, I’ve set up a click handler on my map to handle double-clicks. I did this by bastardising the demo for click handlers, so the code I have is as follows: --- start --- OpenLayers.Control.Click =

Re: [OpenLayers-Users] LayerSwitcher

2010-03-16 Thread Eric Lemoine
On Monday, March 15, 2010, Eric France de_laba...@yahoo.com wrote: Is it possible to configure the LayerSwitcher to (a) only show one overlay layer at a time, and (b) use radio buttons (in place of the checkboxes) to switch between them? Hi. Why you'd like isn't supported by the layer

Re: [OpenLayers-Users] Control TYPE_TOOL and trigger event

2010-03-16 Thread Armin Burger
Just in case someone might be interested in the sort of solution I got for this issue: The only way I found was to modify the OL source code for the Control.Panel object. Under the method 'activateControl' I added the lines if (control.type == OpenLayers.Control.TYPE_TOOL) { if

Re: [OpenLayers-Users] Click handler not handling clicks after using editing toolbar

2010-03-16 Thread Dylan Parry
On 16/03/2010 17:46, Eric Lemoine wrote: On Tuesday, March 16, 2010, Dylan Parrym...@dylanparry.com wrote: Hi, I’ve set up a click handler on my map to handle double-clicks. I did this by bastardising the demo for click handlers, so the code I have is as follows: --- start ---

Re: [OpenLayers-Users] Limit zoomlevels

2010-03-16 Thread sasamil
I am doing that this way... var options = { ... ... scales: [10, 5, 25000, 1, 5000], //specify all the scales you wish ... ... }; map = new OpenLayers.Map( 'map', options ); -- View this message in context:

Re: [OpenLayers-Users] Trying to get sundials example to work locally

2010-03-16 Thread MikeF
Thanks Bryan, it works when I upload it to a web server! Does anyone know what it is about JavaScript/KML/OpenLayers that prevents the sundials example from working locally on my computer? I don't see any logic to it only working on a web server. Mike -- View this message in context:

[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