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

2010-09-01 Thread Alberto Valente
I understand.. I'm sure this solution is very good but unfortunately I MUST (and I'm not happy of this) use an Oracle db and I haven't access to it (cannot configure extensions, plugins, etc.). So the only way for getting the coords is querying them with a SELECT statement from a php page and

[OpenLayers-Users] How to change WMS layer on the fly?

2010-09-01 Thread Mulone
Hi all, I'm struggling with a peculiar set up: we have a WMS layer in OpenLayers (within a GeoExt web interface) invoking a MapServer string (e.g. http://mydomain/cgi-bin/mapserv.exe?map=someMapFile.mapetcetc). Now we need to split the dataset into several layers. We tried by instanciating n

[OpenLayers-Users] WKT insert into database

2010-09-01 Thread snuffer892
Hello everyone, I followed one of the examples provided by openlayer, to allow users to draw geometries: http://svn.openlayers.org/sandbox/stvn/arcgis-server/examples/wkt.html I have, for the geometry designed, an info window containing the coordinates in WKT format; Can someone help me

[OpenLayers-Users] Symbolize wfs using sld?

2010-09-01 Thread Robert Buckley
Hi, Is it possible to symbolize a wfs Layer using an sld stylesheet? Thanks, Rob ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] Symbolize wfs using sld?

2010-09-01 Thread Pablo Cabrera
Hello, Yes it is, OL supports the usage of an SLD with vector layers such as WFS or GML, but its slow and it does have its limitations. If you can it is better to have those layers rendered through WMS telling the server which SLD to use On 01/09/2010 08:16, Robert Buckley wrote: Hi, Is

Re: [OpenLayers-Users] Symbolize wfs using sld?

2010-09-01 Thread Bart van den Eijnden
Sure, check out the sld.html example. This works with Layer.GML, but the same should apply to Layer.Vector. Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl On Sep 1,

Re: [OpenLayers-Users] Symbolize wfs using sld?

2010-09-01 Thread Robert Buckley
Hi, I am actually trying to load a shapefile into openlayers and have all the attributes listed into a table under the map. I have completed this using a wfs layer, but am now looking at getting some scale dependant symbols into the map as well with the use of an SLD file. Is there maybe a

Re: [OpenLayers-Users] WKT insert into database

2010-09-01 Thread remi
hi paolo, you've got to have a database with GIS extension. I use mysql. mysql 4.1 and above supports GIS and spatial extension. my application is written in php with mysql. I use phpmyadmin to manage my db inserting can be as simple as this -

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

2010-09-01 Thread Bennos
BMcBride, Thanks a lot! Finally i found a way how to use the proxy with IIS. Works perfect for me!! Cheers, B -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/proxi-cgi-configure-to-read-any-WMS-or-WFS-url-services-tp5480390p5486968.html Sent from the OpenLayers Users

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

2010-09-01 Thread BMcBride
Hey Alberto, I've had luck using PHP with a SELECT statement on a MySQL database to write a KML file for use in OpenLayers. As long as your query returns a relatively small subset of features (500) and your users have a snappy connection with a decent browser, you should be OK using this

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

2010-09-01 Thread Ricardo Rodríguez
hi thanks for the reply, I have a question then as to be amended this statement ( OpenLayers.ProxyHost = /cgi-bin/proxy.cgi?url=; ) for file proxy.php since the requests are not processed or the system is awaiting a response. Thanks again and suggest Ricardo Rodríguez Univalle

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

2010-09-01 Thread BMcBride
Ricardo, Use this: OpenLayers.ProxyHost = proxy.php?url=; - Bryan R. McBride, GISP http://www.bryanmcbride.com bryanmcbride.com http://geoserving.net/ geoserving.net -- View this message in context:

Re: [OpenLayers-Users] WKT insert into database

2010-09-01 Thread snuffer892
thanks! First of all I have to create a script that retrieves the string on the server, and then an insert query in geodabase (like the one you suggested), this is the right procedure? regarding the script I can elaborate on some one that already exists? because I'm not able to write a new one

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

2010-09-01 Thread Ian Turton
On Wed, Sep 1, 2010 at 12:09 AM, Joe Public joepub1...@gmail.com wrote: 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

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

2010-09-01 Thread RFeagin
I had a need for simply displaying thousands of css styled points from a SQL Server db (no need for click handlers) and ended up creating a custom tiled vector layer. The points are created as img tags. I can even swap the style sheet on the fly to change thematics without having to post

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

2010-09-01 Thread Ricardo Rodríguez
hi, not work OpenLayers.ProxyHost = proxy.php?url=; I have to change something in the script, aside from this there are more scripts proxy of this type. thanks for the help and time Ricardo Rodríguez Univalle ___ Users mailing list

[OpenLayers-Users] need to internet event on vector layer before features are rendered

2010-09-01 Thread MostlyBaldEagle
I am trying to figure out a way to intercept an event which causes the rendering of the features on a vector layer. Basically I need to modify line features before they are rendered but after a zoom has been requested. So I registered the moveend event on the layer with my line features, which

[OpenLayers-Users] What is the meaning of the result of getLonLatFromPixel ?

2010-09-01 Thread huit_six
Hello, I'm a quite new user to openlayers, so there must be a lot of things I don't understand... I tried to convert between coordinates in pixels of the position of the mouse, over a map. I tried this http://carriernicolas.open-web.fr/ressources/essais_de_code/openlayers_test.html little piece

Re: [OpenLayers-Users] What is the meaning of the result of getLonLatFromPixel ?

2010-09-01 Thread huit_six
I tried that sort of conversion : var point = map.getLonLatFromPixel(position); locDisp.innerHTML = (point.lat / 4000 * 360 ).toFixed(4)+ ', ' + (point.lon / 40065035.535 * 180).toFixed(4); which seem to give results in the good ranges. But is it really the

Re: [OpenLayers-Users] What is the meaning of the result of getLonLatFromPixel ?

2010-09-01 Thread Alex Dean
On Sep 1, 2010, at 2:20 PM, huit_six wrote: I tried that sort of conversion : var point = map.getLonLatFromPixel(position); locDisp.innerHTML = (point.lat / 4000 * 360 ).toFixed(4)+ ', ' + (point.lon / 40065035.535 * 180).toFixed(4); which seem to give

Re: [OpenLayers-Users] What is the meaning of the result of getLonLatFromPixel ?

2010-09-01 Thread christopher.schmidt
On Sep 1, 2010, at 3:31 PM, ext Alex Dean wrote: On Sep 1, 2010, at 2:20 PM, huit_six wrote: I tried that sort of conversion : var point = map.getLonLatFromPixel(position); locDisp.innerHTML = (point.lat / 4000 * 360 ).toFixed(4)+ ', ' + (point.lon /

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

2010-09-01 Thread Alberto Valente
dear BMcBride and RFeagin, If you send me your works I'll give them a try!! Actually I've managed creating a geojson object from the php page that executes the query. The geojson featurecollection is echoed inside the main page so I have it inside the openlayers script/script I know it's not a

Re: [OpenLayers-Users] Symbolize wfs using sld?

2010-09-01 Thread Adam Ratcliffe
This page may help if you're using a vector layer: http://docs.openlayers.org/library/feature_styling.html Cheers Adam On 2/09/2010, at 12:02 AM, Robert Buckley wrote: Hi, I am actually trying to load a shapefile into openlayers and have all the attributes listed into a table under the

[OpenLayers-Users] maxExtent not passed to an OSM layer

2010-09-01 Thread Yves Moisan
Hi All, The maxExtent map option doesn't seem to be carried over to an XYZ type of layer. Looking at the initialize function of an XYZ layer, I see the maxExtent is hardcoded whereas it is not in e.g. a Google type. Why is that so ? The difference in behaviour means we can't use a

Re: [OpenLayers-Users] maxExtent not passed to an OSM layer

2010-09-01 Thread christopher.schmidt
On Sep 1, 2010, at 4:41 PM, ext Yves Moisan wrote: Hi All, The maxExtent map option doesn't seem to be carried over to an XYZ type of layer. Looking at the initialize function of an XYZ layer, I see the maxExtent is hardcoded whereas it is not in e.g. a Google type. Why is that so

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

[OpenLayers-Users] unable to add line break in label

2010-08-30 Thread Imran Rajjad
Hi list, I have a vector layer which is labeled, I`m giving a string variable to be labeled, the string variable contains \n for line breaking , but the label is not breaking into several lines, any idea how this could be done? regards, Imran -- I.R

[OpenLayers-Users] Vector points aver the dateline

2010-08-30 Thread springrider
Good morning I am currently working in the pacific area from Indonesia to Polynesia and need to display pie charts based on population statistics. I followed this tutorial http://thematicmapping.org/playground/openlayers_piecharts_geojson_google_chart.php and am really impressed by styling

[OpenLayers-Users] 'undefined' at vertices while editing vector layer

2010-08-30 Thread Alex Dean
When I define my own styling for a vector layer, I see 'undefined' at the vertices while editing a feature. Screenshot of feature when I'm not editing it : http://skitch.com/alexdean/dwe1i/without-editing Screenshot of feature while editing: http://skitch.com/alexdean/dwe14/with-editing

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

2010-08-30 Thread David Zwarg
Hello Sylvain, While not the most efficient, you can create 3 features for each item. If you are creating Point features, convert them to MultiPoint, LineString to MultiLineString, and Polygon to MultiPolygon. Place one set in the X coordinaties -180, one set in the X coordinates -180 and

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

2010-08-30 Thread Arnd Wippermann
Hi, Most likely it's the label, what's undefined. OpenLayers use the default style for rendering the vertices and in this context the attribute 'name' isn't defined. Were your color undefined, then the renderer would use black to render the features, but doesn't display a text message. If you

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

2010-08-30 Thread Planet)x
I am having issues defining a custom layer for my overview map. Is it possible to use a layer that is not the base map? What I am trying to do is use 3 custom layers for my overview but I don't want these layers to be visibile in the layerswitcher (which is easy) or the actual map itself (which I

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

2010-08-30 Thread Planet)x
So as soon as I define a custom layer for my overview (layers: [layerName]) my overview map just goes back to the maximum zoom levels and all of the options I am setting for it have absolutely no effect. Can I set the options for the specific layer I am adding to the overview instead? -- View

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

2010-08-30 Thread Ricardo Rodríguez
hello, how proxi.cgi configure the file so that you receive any connection so that my web application can read any WMS or WFS url without having to register it manually, but that is enabled for this pair of services is not possible link to other requests thanks for the help and time Ricardo

Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread Bart van den Eijnden
There is not Google V3 support in 2.9.1. Try 2.10 RC1. Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS bart...@osgis.nl On Aug 29, 2010, at 6:38 AM, P Kishor wrote: I have the

Re: [OpenLayers-Users] inconsistency in control syntax

2010-08-29 Thread Bart van den Eijnden
Right, the constructor for the Scale Control is a bit different: /** * Constructor: OpenLayers.Control.Scale * * Parameters: * element - {DOMElement} * options - {Object} */ initialize: function(element, options) {

Re: [OpenLayers-Users] drawing a circle in openlayers

2010-08-29 Thread Kris Geusebroek
Hi Imran, the first argument is the geometry which marks the center of the circle. In my case this is an already existing geometry but you can create a point yourself Cheers Kris Met vriendelijke groet, Kind regards, Kristiaan Geusebroek Consultant On Aug 28, 2010, at 2:27 PM, Imran Rajjad

Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread P Kishor
On Sun, Aug 29, 2010 at 3:12 AM, Bart van den Eijnden bart...@osgis.nl wrote: There is not Google V3 support in 2.9.1. Interesting. That is in spite of the example at http://openlayers.org/dev/examples/google-v3.html Is the version included in the above example 2.10 RC1? The funny thing is, I

Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread Bart van den Eijnden
Hi Puneet, the dev examples are run off OpenLayers trunk. To get RC1, check out the instructions here: http://trac.openlayers.org/wiki/Release/2.10/Announce/RC1 Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html

Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread P Kishor
On Sun, Aug 29, 2010 at 3:12 AM, Bart van den Eijnden bart...@osgis.nl wrote: There is not Google V3 support in 2.9.1. Try 2.10 RC1. Sorry, no success. I replaced my OpenLayers to the hosted version of OpenLayers-2.10RC1, and used the code below. The Google layer shows, but my Counties

Re: [OpenLayers-Users] Problem registering events for a GetFeature control

2010-08-29 Thread Alexander Petkov
On Sat, Aug 28, 2010 at 8:35 AM, Alexander Petkov green...@gmail.com wrote: Hi: I am trying to follow the example for the GetFeature control shown here: http://openlayers.org/dev/examples/getfeature-wfs.html Problem code is here: http://wfas.smoke-fire.us/testapp/examples/getfeature-wfs.html

Re: [OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-29 Thread christopher.schmidt
On Aug 29, 2010, at 11:51 AM, ext P Kishor wrote: On Sun, Aug 29, 2010 at 3:12 AM, Bart van den Eijnden bart...@osgis.nl wrote: There is not Google V3 support in 2.9.1. Try 2.10 RC1. Sorry, no success. I replaced my OpenLayers to the hosted version of OpenLayers-2.10RC1, and used

[OpenLayers-Users] calculating or updating vector layer extents

2010-08-28 Thread Imran Rajjad
Hi list, It seems as if when we insert a geometry into a vector layer, the bounds of the layer remain unchanged, in my case I have created a raw geometry and added it to a vector layer as feature, but when I set the map's extent to the this vector layer , openlayer is not considering the new

[OpenLayers-Users] Creating own map layer

2010-08-28 Thread usha madhuri
Hi all, I want to create my own map layer for a small city for my project. I have the road network of the city in kml format. what are the steps involved for creating image of map layer at different zoom levels, also please suggest me the softwares required for this process. Regards, Madhuri

Re: [OpenLayers-Users] IE8 problem with VMS

2010-08-28 Thread Rossko
Have you read this thread, with its summary of IE performance issues? http://osgeo-org.1803224.n2.nabble.com/IE-IE7-IE8-in-compatible-mode-support-for-OpenLayers-td5469496.html#a5469496 IE gives poor performance in other mapping APIs like Googles and even Bing. You may have to wait for an IE

[OpenLayers-Users] Problem registering events for a GetFeature control

2010-08-28 Thread Alexander Petkov
Hi: I am trying to follow the example for the GetFeature control shown here: http://openlayers.org/dev/examples/getfeature-wfs.html Problem code is here: http://wfas.smoke-fire.us/testapp/examples/getfeature-wfs.html Basically, I cannot get an indication that the events for the GetFeature

Re: [OpenLayers-Users] Coding back-off

2010-08-28 Thread Lance Norskog
I meant bake-off. On Fri, Aug 27, 2010 at 2:01 PM, Lance Norskog goks...@gmail.com wrote: Here is the same little graph database program in several APIs: http://nosql.mypopescu.com/post/405045629/get-a-taste-of-graph-databases-infogrid-and-neo4j Something like this for geo libraries would be

[OpenLayers-Users] WMS layers and Gmaps V3 with OL 2.9.1

2010-08-28 Thread P Kishor
I have the following, simplest possible code. Works without gmaps layer, but no WMS shows up when gmaps layer is included. What is it that I am doing wrong? script type=text/javascript function init(){ var lon = -90.397; var lat = 45.93; var zoom =

[OpenLayers-Users] inconsistency in control syntax

2010-08-28 Thread P Kishor
// the following works var cs = new OpenLayers.Control.Scale(); cs.div = document.getElementById(scale); this.map.addControl(cs); // The following also works this.map.addControl(new OpenLayers.Control.MousePosition({div: document.getElementById(coords)})); // The following does not work. Why?

Re: [OpenLayers-Users] unlimited max extend or without bounds

2010-08-27 Thread Andreas Hocevar
Since geometries in OpenLayers are planar, this is a bit tricky. What you can do is set the wrapDateLine option of your base layer to true, then you will at least have an infinite space in longitudinal direction. Regards, Andreas. On Aug 27, 2010, at 01:28 , Ricardo Rodríguez wrote: hello

Re: [OpenLayers-Users] OpenLayers.Feature.Vector style

2010-08-27 Thread Andreas Hocevar
On Aug 27, 2010, at 07:52 , Slawomir Messner wrote: 1. Is this the recommended way to work with styles or is there a better way? Is there maybe already a tool? You have several options, as styling has evolved in OpenLayers 2.0. For the recommended way of client-side styling in OpenLayers,

[OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Sven Burbeck
Hello, sorry for asking stupid newbie questions but I fail to get the proxi.cgi working. I followed the FAQ description: http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost I've installed Apache 2.2.13 on SUSE11.2 via rpm. Apparently the default cgi-bin is under /srv/www/cgi-bin

Re: [OpenLayers-Users] WMS getFeatureInfo Popup

2010-08-27 Thread Kiks
After replacing special characters, passing the url to the browser, it happens that the url is not valid due to the absence of the map parameter requested from mapserver. I tried to add the map parameter and also to pass it directly in the url parameter as you can see below: info = new

Re: [OpenLayers-Users] OpenLayers.Feature.Vector style

2010-08-27 Thread Slawomir Messner
Thanks for the very fast and detailed answer. We cannot render features at the server and send them as an image, because we want them editable and the look and feel of a desktop tool. I works well but not every part fits together. (I hope it changes with your hints.) I think it would be also

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Marc Jansen
Hi Sven, Just some thoughts/questions: * What is the exact server message? * Is your test.cgi a python cgi? * Can proxy.cgi find the pythoin executable? * On a terminal on that machine issue which python This should give you the path to the python executable

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Sven Burbeck
Hi Marc, 1.) Browser indicates: waiting for localhost and finally: urlopen error [Errno 110] Connection timed out 2.) mytest.cgi indeed wasn't Python but Perl. However, I changed it to Python Content: #!/usr/bin/python print Content-type: text/html\r\n\r\n; print Python CGI

Re: [OpenLayers-Users] OpenLayers.Feature.Vector style

2010-08-27 Thread Slawomir Messner
Ok, I've one...two questions. When I shouldn't use style.styles[default].defaultStyle[attribName] then how can I change ..let's say fontSize... for the whole layer? Create a new Style and replace the old one? And how to change the fontSize dependent on the map resolution. Is it possible by

Re: [OpenLayers-Users] OpenLayers.Feature.Vector style

2010-08-27 Thread Andreas Hocevar
On Aug 27, 2010, at 11:42 , Slawomir Messner wrote: Ok, I've one...two questions. When I shouldn't use style.styles[default].defaultStyle[attribName] then how can I change ..let's say fontSize... for the whole layer? Create a new Style and replace the old one? var defaultStyle =

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Marc Jansen
Hi Sven, Is there some firewall active on the server? What do you see if you enter http://example.com/cgi-bin/proxy.cgi in your browser manually? When called without parameters, it'll try to access www.openlayers.org. You should see the OpenLayers Homepage served by your proxy (You'll need

Re: [OpenLayers-Users] showing textlabels on a KML layer

2010-08-27 Thread Thomas PAPIN
Cool project, One more thing, add to your stylemap labelSelect: true so the user will be able to click on the text and not only on the point. Thomas 2010/8/26 Tim Alder tim.al...@s2002.tu-chemnitz.de Thanks a lot. The result is now:

[OpenLayers-Users] Rotating WMS WMF features for displaying the layout of interiors

2010-08-27 Thread Gregor Petrin
Hi, I was wondering, how feasible would it be to rotate a layer before displaying it, both for WMS and WFS? The idea is to display the interior of any building rotated by a certain angle X (which is either user defined or calculated for each building) to display a 'nice' view to people who are

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Sven Burbeck
Hi, the firewall is off. Entering http://example.com/cgi-bin/proxy.cgi manually in the browser brings up the following message: Not Found The requested URL /cgi-bin/proxy.cgi was not found on this server. Apache/2.2.3 (CentOS) Server at example.com Port 80 entering

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread Marc Jansen
Hi Sven, are you using another proxy to access URLs in your network? I found this Mailinglist discussion http://mail.python.org/pipermail/python-list/2008-December/569855.html If that is still not doing the trick, I',m afraid I am running out of ideas soon. Regards, Marc On 27.08.2010

Re: [OpenLayers-Users] proxy.cgi fails

2010-08-27 Thread BMcBride
Hi Sven, If you are having troubles with the CGI proxy script, you could always use a PHP proxy script. The http://osgeo-org.1803224.n2.nabble.com/file/n5469364/proxy.php proxy.php script from Mapbuilder works well with OpenLayers: http://docs.codehaus.org/display/MAP/Downloads

[OpenLayers-Users] IE (IE7 IE8 in compatible mode) support for OpenLayers

2010-08-27 Thread Yingqi Tang
All, Is there any official or relatively complete written up on the IE support of OpenLayers? E.g. what is working and what is not working etc? I see a little this and a little that on several specific bug or so but thing gives people a clear overview of how OpenLayers works in IE. Any idea?

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-27 Thread Christian Niemitz-Rossant
Hi Eric, after filing the ticket http://trac.openlayers.org/ticket/2812 I got a message from Ilias, because he had to deal with the same problem. His solution to add to the selectCtrl an onUnselect and in this function to call highlightCtrl.unhighlight(feature); works fine for me. The two

Re: [OpenLayers-Users] IE (IE7 IE8 in compatible mode) support for OpenLayers

2010-08-27 Thread Paul Spencer
http://trac.openlayers.org/wiki/Browsers OpenLayers functions identically in all major browsers, including IE. Some things occasionally slip through the cracks and end up not working correctly in some browsers even though all new development requires automated tests. Anything that comes up

Re: [OpenLayers-Users] IE (IE7 IE8 in compatible mode) support for OpenLayers

2010-08-27 Thread Andreas Hocevar
OpenLayers fully supports IE7 and IE8, the latter in both compatible and native mode. This means that everything you can do in other supported browsers, you can also do in IE. IE specific bugs exist because IE is much different from other, more standards compliant browsers. The biggest

Re: [OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-27 Thread Eric Lemoine
On Fri, Aug 27, 2010 at 3:37 PM, Christian Niemitz-Rossant c...@m-click.de wrote: Hi Eric, after filing the ticket http://trac.openlayers.org/ticket/2812 I got a message from Ilias, because he had to deal with the same problem. His solution to add to the selectCtrl an onUnselect and in this

Re: [OpenLayers-Users] WMS getFeatureInfo Popup

2010-08-27 Thread David Fawcett
When you include your map parameter in the base URL, do you get a valid WMS URL? On Fri, Aug 27, 2010 at 3:12 AM, Kiks enrico.o...@gmail.com wrote: After replacing special characters, passing the url to the browser, it happens that the url is not valid due to the absence of the map parameter

Re: [OpenLayers-Users] IE (IE7 IE8 in compatible mode) support for OpenLayers

2010-08-27 Thread Yingqi Tang
Thanks a for the summary. On Fri, Aug 27, 2010 at 6:53 AM, Andreas Hocevar ahoce...@opengeo.orgwrote: OpenLayers fully supports IE7 and IE8, the latter in both compatible and native mode. This means that everything you can do in other supported browsers, you can also do in IE. IE specific

[OpenLayers-Users] Coding back-off

2010-08-27 Thread Lance Norskog
Here is the same little graph database program in several APIs: http://nosql.mypopescu.com/post/405045629/get-a-taste-of-graph-databases-infogrid-and-neo4j Something like this for geo libraries would be really useful. -- Lance Norskog goks...@gmail.com

Re: [OpenLayers-Users] [OL 2.9.1] Restrict WMSGetFeatureInfo accordingthe layers

2010-08-26 Thread Casper Børgesen
Hi Pierre. The queryVisible property only allows filtering of layers which are visible. Visible in this sense are layers which in the layer switcher are marked as visible. Thus not visible by whether a layer displays any features inside the visible area on the screen. It would be nice to have

[OpenLayers-Users] OpenLayers.Control.SelectFeature with highlight, toggle

2010-08-26 Thread Christian Niemitz-Rossant
I have some troubles using feature selection with highlight and toggle: In the OpenLayers example highlight-feature.html I replaced the line 55 which is {clickout: true} by {toggle: true} Then I applied these steps 1. move cursor on the left triangle = triangle is highlighted 2. click on the

Re: [OpenLayers-Users] OpenLayers Book by Jansen and Adams

2010-08-26 Thread Maik Juks
Hi Marc, thanks for your hints. I have php installed. Actually I used the MS4W (Mapserver for windows) package. One thing I tried is: From the example code in postgis-terminal.html I changed action = ./process-spatial-query.php to action = http://localhost/process-spatial-query.php; and the

[OpenLayers-Users] Fwd: Re: OpenLayers Book by Jansen and Adams

2010-08-26 Thread jugs
Original-Nachricht Datum: Thu, 26 Aug 2010 09:17:22 +0200 Von: Maik Juks j...@gmx.de An: users@openlayers.org Betreff: Re: [OpenLayers-Users] OpenLayers Book by Jansen and Adams Hi Marc, thanks for your hints. I have php installed. Actually I used the MS4W (Mapserver for

Re: [OpenLayers-Users] showing textlabels on a KML layer

2010-08-26 Thread Thomas PAPIN
You can do something like: styleMap = new OpenLayers.StyleMap({'default':{ label : ${label}, fontColor: ${fontColor}, fontSize: 11px, labelAlign: ${labelAlign}, pointRadius: 2,

Re: [OpenLayers-Users] Fwd: Re: OpenLayers Book by Jansen and Adams

2010-08-26 Thread Maik Juks
this statement works as well: http://localhost/process-spatial-query.php?command=Select%20St_asText%28St_GeometryFromText%28%27POINT%2810%2010%29%27%2C%204326%29%29 Original-Nachricht Datum: Thu, 26 Aug 2010 09:21:59 +0200 Von: j...@gmx.de An: users@openlayers.org Betreff:

Re: [OpenLayers-Users] Fwd: Re: OpenLayers Book by Jansen and Adams

2010-08-26 Thread Marc Jansen
Hi Maik, if the URL below works, everything else (including these http://openlayers-buch.de/beispiele/chapter-09/nice-queries-for-postgis-console.sql) should work. As this is not directly related to OpenLayers -- it is very likely not an OpenLayers issue/problem you have -- I suggest taking

[OpenLayers-Users] drawing a circle in openlayers

2010-08-26 Thread Imran Rajjad
Hi list, I`m trying to draw a circle geometry with a radius of 30m, currently I`m calculating lat/long of each vertex from the centre , i was hoping if this could be done through openlayers regards, Imran -- I.R ___ Users mailing list

Re: [OpenLayers-Users] Fwd: Re: OpenLayers Book by Jansen and Adams

2010-08-26 Thread Maik Juks
Thanks Marc. You are right it is not a OL issue. It was me :-) I opened the html in a browser -- not working. using localhost for accessing the html document solved the problem. btw: Great book! Original-Nachricht Datum: Thu, 26 Aug 2010 12:44:01 +0200 Von: Marc Jansen

[OpenLayers-Users] overview map switch on layer switching

2010-08-26 Thread Babu, Ramesh 1. (NSN - IN/Bangalore)
is there a possibility to switch the overview map on switching the base layers? Br Ramesh ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] drawing a circle in openlayers

2010-08-26 Thread Ralph Dell
Have you tried the polygon control? // set up the polygon control, for drawing a circle polyOptions = {sides: 40}; polygonControl = new OpenLayers.Control.DrawFeature(circleLayer, OpenLayers.Handler.RegularPolygon, {handlerOptions: polyOptions});

Re: [OpenLayers-Users] drawing a circle in openlayers

2010-08-26 Thread Imran Rajjad
hi, yea I checked this example but I`m not sure what is 40? is it a pixel value or some default unit.? regards, Imran On Thu, Aug 26, 2010 at 5:01 PM, Ralph Dell rd...@catawbacountync.gov wrote: Have you tried the polygon control? // set up the polygon control, for drawing a circle  

Re: [OpenLayers-Users] drawing a circle in openlayers

2010-08-26 Thread Ralph Dell
It will give you a polygon with 40 sides. While not technically a circle it works very well at looking like a circle. Ralph Dell, GISP GIS Dept. Catawba County, NC -Original Message- From: Imran Rajjad [mailto:raj...@gmail.com] Sent: Thursday, August 26, 2010 8:16 AM To: Ralph Dell

  1   2   3   4   5   6   7   8   9   10   >