Re: [OpenLayers-Users] Vector points aver the dateline

2010-08-31 Thread springrider
Hello David, Thanks for your reply, i have followed your recommendations and have now 2 vectors layers containing same type of data but with coordinates adapted to each side of the date line (-179 becoming +181 in one file and 179 becoming -181 in the other). vectorsWest = new

Re: [OpenLayers-Users] WMS getFeatureInfo Popup

2010-08-31 Thread Kiks
I next to resolve, but I've got this problem now: I manage in passing all parameters needed, but I encountered an error on the GET string generated by OL: The String passed to the WMS Server to obtain feature info is this:

[OpenLayers-Users] how to limit to 1 the number of points of a vector layer

2010-08-31 Thread Alberto Valente
hi all, starting from the Drag-feature example ( http://openlayers.org/dev/examples/drag-feature.html) I need to limit to 1 the number of points which can be added to the vector layer if the user, after having added one point, clicks again, the first point is deleted and only the newly created

Re: [OpenLayers-Users] how to limit to 1 the number of points of a vector layer

2010-08-31 Thread Bart van den Eijnden (OSGIS)
Hi, you could do something like: 1) use sketchstarted event to limit the number of features to 1 2) use the featureadded event to set your form field Example code (just for reference, copy/paste from another project): new OpenLayers.Layer.Vector(Sketch, {

Re: [OpenLayers-Users] WMS getFeatureInfo Popup

2010-08-31 Thread Kiks
I finally find the solution! The problem was related to the IIS and proxy.cgi that I needed in my WebApp directory. I followed the zhuhua zha's solution at the post: http://osgeo-org.1803224.n2.nabble.com/Solution-to-proxy-for-WFS-request-on-IIS-td1830924.html -- View this message in context:

Re: [OpenLayers-Users] proxi.cgi configure to read any WMS or WFS url services

2010-08-31 Thread BMcBride
I use the http://osgeo-org.1803224.n2.nabble.com/file/n5469364/proxy.php proxy.php script from Mapbuilder, which works well with OpenLayers and does not require manually configuring allowed domains: http://docs.codehaus.org/display/MAP/Downloads. - Bryan R. McBride, GISP

Re: [OpenLayers-Users] 'undefined' at vertices while editing vectorlayer

2010-08-31 Thread Alex Dean
Thanks for the help. I see that the 'default' style is being used to render the vertices, but I still don't understand how to prevent 'undefined' labels from being applied to them. I did look at the code for OpenLayers.Control.ModifyFeature.collectVertices, but I'm not sure what to do

[OpenLayers-Users] which is the best way to display a set of points coming from database?

2010-08-31 Thread Alberto Valente
Hello everybody, I need to display a set of points that comes from a query to a database. The information associated with the point is simply ID, X_COORD, Y_COORD. I can write a php page that executes the query and I can get the results in javascript using a xmlhttprequest (ajax). I need to show

Re: [OpenLayers-Users] which is the best way to display a set of points coming from database?

2010-08-31 Thread Piero Campa
I've been working on something like 'display georeferenced point', and I did like that: - associate the X/Y coordinates with a geometry in the database (using PostGIS extension to a PostgreSQL database; - import the database in an istance of GeoServer (which can reproject your points in all the

Re: [OpenLayers-Users] wrapDateLine bahaving differently in IE for WMS.Post layers

2010-08-31 Thread Charlton Galvarino
If you take the wrapDateLine.html example, http://gentoo/OpenLayers- 2.9.1/examples/wrapDateLine.html, and use it as is, zoom in one level and Sorry. My local URL isn't going to help anyone. http://openlayers.org/dev/examples/wrapDateLine.html ___

[OpenLayers-Users] take 2 w/ 'wrapDateLine behaving differently in IE for WMS.Post layers'

2010-08-31 Thread Charlton Galvarino
(not confident that my 1st post made it in the queue) Hi, all. I realize that vectors are tricky as they cross the dateline, but the behavior from FF to IE is different against the same WMS source which suggests that the problem is on the client side and not the server side. If you take the

[OpenLayers-Users] wrapDateLine bahaving differently in IE for WMS.Post layers

2010-08-31 Thread Charlton Galvarino
Hi, all. I realize that vectors are tricky as they cross the dateline, but the behavior from FF to IE is different against the same WMS source which suggests that the problem is on the client side and not the server side. If you take the wrapDateLine.html example,

Re: [OpenLayers-Users] Defining custom layer for overview map, please help

2010-08-31 Thread Planet)x
Ok I was finally able to figure this out. When I add my overview map layers which I have predefined to the actual map it gets all messed up in terms of size/zoom etc. But when I just create a few layers specifically for the overviewmap only and then *dont* add these layers to the map but only add

Re: [OpenLayers-Users] 'undefined' at vertices while editingvectorlayer

2010-08-31 Thread Arnd Wippermann
Hi, The features have no values = undefined, but a status of undefined. So your comparison can not work. The only idea I have, is to set i.e an attribute show=yes for features, that should be labeled. And add the below rule: var PolygonSymbolizer = { fillColor: ${color},

[OpenLayers-Users] OpenLayers + Ext/GeoExt , can't get layer tree to work

2010-08-31 Thread Planet)x
I am trying to get a layer tree to work from the tutorial located here - http://geoext.org/tutorials/layertree-tutorial.html Not sure exactly what I am doing wrong but previously I have a working openlayers map with many layers defined. Do I have to actually add a map panel to get this to work

[OpenLayers-Users] Using getFeatureInfo on a vector (WFS) layer in openLayers

2010-08-31 Thread Joe Public
Hey OL I'm trying display the data associated with a feature (point) in a vector (WFS) layer using the script below When I click on the feature I get the message: No QUERY_LAYERS has been requested, or no queriable layer in the request anyways I've used both