Hot answers tagged


The MGI 1901 projection is ok. The Austrian surveying authority changed their MGI datum in the 1920ies, but the Yougoslav surveying authority did not follow, Hence they still surveyed in MGI 1901. The difference is in the +towgs84 parameters: MGI 1901 / Balkans zone 6 +proj=tmerc +lat_0=0 +lon_0=18 +k=0.9999 +x_0=6500000 +y_0=0 +ellps=bessel +towgs84=682,-...


If you have control over the geoserver and you use the html format, you could modify the template server side. Otherwise I can think of retrieving the FeatureInfo as GML2 or text and modify if client-side. But I don't know how this might be implemented in openlayers.


You can use your existing text file, along with the Leaflet GeoCSV plugin, with the following code. Do note that I'm using jQuery to load the text file. Additionally, you can replace the OSM Layer with your MapQuest Layer. <HTML> <HEAD> <script src=""></script> <link ...


You can simply create a CQL filter that combines the elements that you need to select, so: CQL_FILTER=phase=1 AND grade='A' OpenLayers should take care of URL encoding it for you.


To get the attribute data of specific feature in case you are getting the 4 fields from DB to a layer in your project, then use attributes object as below: function createPopup(feature) { var sensid = feature.attributes.sensid; // and add it in the html of your popup popup1 = new GeoExt.Popup({ title: 'My Popup', ...

Only top voted, non community-wiki answers of a minimum length are eligible