[OpenLayers-Users] extract attributes from a geoserver wms

2010-07-28 Thread Giuseppe Naponiello
Hi all, my problem is: I have a map with two wms layers served by GeoServer, and would like to display in a pop-up some attributes of the second layer. I would also like to customize the pop-ups. I tried several ways but the one I work is: #info = new OpenLayers.Control. #WMSGetFeatureInfo (( #

[OpenLayers-Users] Add a new label to the legend in addition to "BaseLayer" and "Overlays"

2010-06-07 Thread Giuseppe Naponiello
Hi all, the title explain everything: I'd like add some thematic group to the legend and/or, possibly, change the name "overlays". I know it's possible and easy to do but I don't know how!!! thanks -- -beppe- ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] First-time user of OpenLayers ? FORMAT of Layers (BMcBride)

2010-05-28 Thread Giuseppe Naponiello
> > ... or you could load the data into a spatial database (PostGIS/MySQL) and > write a > PHP script to call just the bits you need to fill the map viewport. > > Hope this helps to get you started... > Very helpful, thanks! I'm trying to do something like that but I don't understand how to perfo

Re: [OpenLayers-Users] display different popup for different layer

2010-05-27 Thread Giuseppe Naponiello
ed": onFeatureUnselect }); poi.events.on({ "featureselected": onFeatureSelect2, "featureunselected": onFeatureUnselect2 }); ...maybe I could write better code but ... it works!!! thanks -beppe- 2010/5/25 Alessandro Pasotti > In data lun

[OpenLayers-Users] display different popup for different layer

2010-05-24 Thread Giuseppe Naponiello
Hi all, in my project I've 2 layers (layer1, layer2) with different attributes. Layer 1 is in gml format, layer2 is a txt file When I click on the layer1, I open a popup with this code: function onPopupClose(evt) {selectControl.unselect(feature);} //al click su un elemento, creo e visualizzo al p

Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-08 Thread Giuseppe Naponiello
.Projection.transform(isoline, epsg2498, > map.projection); > > Arnd > > -- > *Von:* users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] > *Im Auftrag von *Giuseppe Naponiello > *Gesendet:* Mittwoch, 7. April 2010 12:02 > *An:* users@open

Re: [OpenLayers-Users] Just another trasformation problem ;)

2010-04-07 Thread Giuseppe Naponiello
Thanks, but now my layer is shifted in South Africa!!! I don't understand what's wrong: the map output the exact coordinates. Well, I've: 3 base layers -> epsg:900913 1 gml layer-> epsg:2498 and I want display projection in wgs84 Is my set up (code in my previous mail) correct? -beppe- 201

[OpenLayers-Users] Just another trasformation problem ;)

2010-04-07 Thread Giuseppe Naponiello
Hi all, I ought to display a map with osm layer as base and a gml file of a little part of Armenia. First step was convert my shapefile, with projection epsg:2498, in a gml format (ogr2ogr -f GML ...). Second step was set up my map. Within tag of my html page, I' ve insert a link to these librari

Re: [OpenLayers-Users] jquey & open layers

2010-04-06 Thread Giuseppe Naponiello
Thanks to all, it was a very stupid error about library path syntax Now it works fine. ;) -beppe- 2010/4/6 Gilles Bassière > beppe wrote: > > Hi all, > > I'm using ol with jquery and I've seen that if I include jquery library > > in my page, controls disappear (panzoom, mouseposition ...); if

[OpenLayers-Users] suggestion about cms

2010-03-10 Thread Giuseppe Naponiello
Hi list, can you suggest me some open cms with this characteristic: 1. w3c compliant 2. WAI compliant 3. manage geographic features via OL libraries 4. works with postgresql + postgis thanks -- -beppe- ___ Users mailing list Users@openlayers.org http://