var bbox=map.getExtent().toBBOX();\r
vals=vals.substring(0,vals.length-1);\r
zoom=map.getZoomForExtent(bounds2);\r
-$.get('http://edit.br.fgov.be/edit_wp5/geo/c_json.php?data='+vals+'&bbox='+bbox+'&zoom='+zoom,function(d)\r
+$.get('http://edit.africamuseum.be/edit_wp5/geo/c_json.php?data='+vals+'&bbox='+bbox+'&zoom='+zoom,function(d)\r
{\r
\r
if (reprojecting==false)\r
$('#ex_print').html(jq_print);\r
$('#ex_print').jqDrag('.jqDrag').jqResize('.jqResize') ;\r
\r
- $("iframe#info2").attr("src","http://edit.br.fgov.be/edit_wp5/geo/json_show.php?file="+d);\r
+ $("iframe#info2").attr("src","http://edit.africamuseum.be/edit_wp5/geo/json_show.php?file="+d);\r
$("#ex_print").show();\r
$("#ex_print").hide();\r
}\r
.jqDrag('.jqDrag')\r
.jqResize('.jqResize') ;\r
};\r
-$.get('http://edit.br.fgov.be/edit_wp5/geo/general_legend.php?data='+tot,\r
+$.get('http://edit.africamuseum.be/edit_wp5/geo/general_legend.php?data='+tot,\r
function(url_image)\r
{\r
\r
style=style+"_2";\r
}\r
\r
- path="http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
+ path="http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
path+="&LAYER="+data.id+"&STYLE="+style+"&LEGEND_OPTIONS=forceLabels:on;fontStyle:italic;fontSize:12";\r
html='<ul><img s="'+style+'" style="height:'+h+';position: relative; left: 0px;" id="'+data.id+'" src="'+path+'"></ul>';\r
$("#images").append(html);\r
{\r
if (style !=='countries')\r
{\r
- path="http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
+ path="http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
path+="&LAYER="+data.id+"&STYLE="+style+"&LEGEND_OPTIONS=forceLabels:on;fontStyle:italic;fontSize:12";\r
html='<ul><img s="'+style+'" style="height:20px; position: relative; left: 0px;" id="'+data.id+'" src="'+path+'"></ul>';\r
$("#images").append(html);return false;\r
}else {\r
\r
\r
-path="http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
+path="http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
path+="&LAYER="+data.id+"&SLD="+eval("edit_"+data.id+".params.SLD");\r
html='<ul><img s="'+style+'" id="'+data.id+'" style="height:'+h+';position: relative; left: 0px;" src="'+path+'"></ul>';\r
$("#images").append(html);\r
}else {\r
if (grup=='utm')\r
{h='40px';}else{h='20px'}\r
-path="http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
+path="http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png";\r
path+="&LAYER="+data.id+"&STYLE="+style+"&LEGEND_OPTIONS=forceLabels:on;fontStyle:italic;fontSize:12";\r
html='<ul><img s="'+style+'" style="height:"'+h+'"; position: relative; left: 0px;" id="'+data.id+'" src="'+path+'"></ul>';\r
$("#images").append(html);\r
alert("You only can upload data using latitude/longitude (unprojected)");\r
return false;\r
}\r
-url='http://edit.br.fgov.be/edit_wp5/geo/upload_points.php?userid='+userid+'&new_data='+new_data+'&lon='+lon+'&lat='+lat+'&fields='+fields+u;\r
+url='http://edit.africamuseum.be/edit_wp5/geo/upload_points.php?userid='+userid+'&new_data='+new_data+'&lon='+lon+'&lat='+lat+'&fields='+fields+u;\r
\r
}\r
else //uploading json\r
{\r
datatype='json';\r
id='json_file';\r
-url='http://edit.br.fgov.be/edit_wp5/geo/upload_json.php';\r
+url='http://edit.africamuseum.be/edit_wp5/geo/upload_json.php';\r
my_json="true";\r
}\r
\r
map.addLayer(edit_points);\r
}\r
var g_legend=document.getElementById("genera_legend");\r
- g_legend.setAttribute("src",legend='http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_points.params.SLD+'?date='+x);\r
+ g_legend.setAttribute("src",legend='http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_points.params.SLD+'?date='+x);\r
// $("#g_data div:first").text('Your '+third+' data').css('display','inline');\r
$("#g_data").get(0).firstChild.nodeValue='Your '+third+' data';\r
$("#u_points input[id='edit_points']").bind('click',function() { set_Visible(this); }); \r
map.addLayer(edit_4th_points);\r
}\r
var g_sp_legend=document.getElementById("4th_legend");\r
- g_sp_legend.setAttribute("src",legend='http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_4th_points.params.SLD+'?date='+x);\r
+ g_sp_legend.setAttribute("src",legend='http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_4th_points.params.SLD+'?date='+x);\r
// $("#4th_data div:first").text('Your '+fourth+' data').css('display','inline');\r
$("#4th_data").get(0).firstChild.nodeValue='Your '+fourth+' data';\r
$("#u_points input[id='edit_4th_points']").bind('click',function() { set_Visible(this); }); \r
map.addLayer(edit_sp_points);\r
}\r
var sp_legend=document.getElementById("species_legend");\r
- sp_legend.setAttribute("src",legend='http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_sp_points.params.SLD+'?date='+x);\r
+ sp_legend.setAttribute("src",legend='http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_sp_points.params.SLD+'?date='+x);\r
// $("#sp_data div:first").text('Your '+third+'&'+fourth+' data').css('display','inline');\r
$("#sp_data").get(0).firstChild.nodeValue='Your '+third+'&'+fourth+' data';\r
$("#u_points input[id='edit_sp_points']").bind('click',function() { set_Visible(this); }); \r
$("#user_dates").click(function()\r
{x=new Date();\r
var image=document.getElementById("legend");\r
- g_legend.setAttribute("src",'http://193.190.116.6:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_points.params.SLD+'?date='+x);\r
+ g_legend.setAttribute("src",'http://193.190.223.53:8080/geoserver/wms/GetLegendGraphic?VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=20&LAYER=user_points&sld='+edit_points.params.SLD+'?date='+x);\r
\r
});\r
*/\r
$("#upload_data").trigger("click");\r
$("#user_dates").trigger("click");\r
\r
- $.get('http://edit.br.fgov.be/edit_wp5/geo/check2.php?userid='+userid);\r
+ $.get('http://edit.africamuseum.be/edit_wp5/geo/check2.php?userid='+userid);\r
}\r
else\r
{\r
\r
vectors = new OpenLayers.Layer.WFS(\r
"My polygons to hover",\r
- "http://193.190.116.6:8080/geoserver/wfs",\r
+ "http://193.190.223.53:8080/geoserver/wfs",\r
{typeName: "point_pol",version:"1.1.0",\r
FILTER:"<And><PropertyIsEqualTo><PropertyName>userid</PropertyName><Literal>"+userid+"</Literal></PropertyIsEqualTo></And>"},\r
{isBaseLayer: false, extractAttributes: true, styleMap: myStyles2}\r
}\r
\r
\r
- edit_points = new OpenLayers.Layer.WMS.Untiled( "third field points","http://193.190.116.6:8080/geoserver/wms", {GROUP:'points',layers:'user_points',sld:'',format:t_img_format,transparent:"true"});\r
- edit_sp_points = new OpenLayers.Layer.WMS.Untiled( "third&fourth field points","http://193.190.116.6:8080/geoserver/wms", {GROUP:'points',layers:'user_points',sld:'',format:t_img_format,transparent:"true"});\r
+ edit_points = new OpenLayers.Layer.WMS.Untiled( "third field points","http://193.190.223.53:8080/geoserver/wms", {GROUP:'points',layers:'user_points',sld:'',format:t_img_format,transparent:"true"});\r
+ edit_sp_points = new OpenLayers.Layer.WMS.Untiled( "third&fourth field points","http://193.190.223.53:8080/geoserver/wms", {GROUP:'points',layers:'user_points',sld:'',format:t_img_format,transparent:"true"});\r
\r
- edit_4th_points = new OpenLayers.Layer.WMS.Untiled( "fourth field points","http://193.190.116.6:8080/geoserver/wms", {GROUP:'points',layers:'user_points',sld:'',format:t_img_format,transparent:"true"});\r
+ edit_4th_points = new OpenLayers.Layer.WMS.Untiled( "fourth field points","http://193.190.223.53:8080/geoserver/wms", {GROUP:'points',layers:'user_points',sld:'',format:t_img_format,transparent:"true"});\r
edit_blank = new OpenLayers.Layer.WMS.Untiled( "EDIT WMS transparent",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:"blank",projection:proj_code,transparent:"false",format: t_img_format,styles:"transparent",group:"remote"},\r
{isBaseLayer: true},{singleTile: true, ratio: 1});\r
\r
edit_quadricules = new OpenLayers.Layer.WMS.Untiled( "Quadricules",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:[],width:'700',height:'350',transparent:"true",styles:[],format:t_img_format,GROUP:'quadricules'}\r
, {group:"vectorial"},{'displayInLayerSwitcher':true},{gutter: 1} );\r
edit_nature = new OpenLayers.Layer.WMS.Untiled( "Natural features",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:[],GROUP:"nature",transparent:"true",styles:[],format:t_img_format}\r
,{'displayInLayerSwitcher':true} );\r
\r
edit_utm = new OpenLayers.Layer.WMS.Untiled( "UTM layer",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:[],transparent:"true",styles:[],group:"utm",format:t_img_format}\r
, {group:"vectorial"},{'displayInLayerSwitcher':true} );\r
\r
edit_admin = new OpenLayers.Layer.WMS.Untiled( "Administrative Layers",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers: [],group:"admin",transparent:"true",format:t_img_format,styles:[]},{'displayInLayerSwitcher':true} );\r
// console.warn(edit_admin);\r
\r
edit_tdwg = new OpenLayers.Layer.WMS.Untiled( "TDWG layer",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:[],group:"tdwg",transparent:"true",styles:[],format:t_img_format},{'displayInLayerSwitcher':true} );\r
\r
- ms_url = "http://edit.br.fgov.be/cgi-bin/mapserv?map=/var/www/synthesys/www/geo/mapserver_data/test.map";\r
+ ms_url = "http://edit.africamuseum.be/cgi-bin/mapserv?map=/var/www/synthesys/www/geo/mapserver_data/test.map";\r
// shoreline = new OpenLayers.Layer.MapServer("Estados y Municipios",ms_url,{layers: "shoreline", transparent: true, format: "image/png"});\r
\r
edit_num_regs = new OpenLayers.Layer.WMS.Untiled( "Number of Records",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:'num_regs',transparent:"true",styles:[],format: t_img_format,group:'analysis'}\r
, {group:"vectorial"});\r
\r
edit_taxa_record = new OpenLayers.Layer.WMS.Untiled( "Taxa/Record",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:'taxa_record',transparent:"true",styles:[],format:t_img_format,group:'analysis'}\r
, {group:"vectorial"});\r
\r
edit_num_genus = new OpenLayers.Layer.WMS.Untiled( "Number of Genera",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:'num_genus',transparent:"true",styles:[],format:t_img_format,group:'analysis'}\r
, {group:"vectorial"});\r
edit_gbif = new OpenLayers.Layer.WMS( "GBIF",\r
toggleQueryMode2(); });\r
\r
var overview_map = new OpenLayers.Layer.WMS( "EDIT WMS",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers: "country_earth",group:"admin",transparent:"true",format:"image/png",styles:[]});\r
\r
\r
\r
//var o_options = {layers: [edit_blank]};\r
var edit_blank2 = new OpenLayers.Layer.WMS( "EDIT WMS transparent",\r
- "http://193.190.116.6:8080/geoserver/wms",\r
+ "http://193.190.223.53:8080/geoserver/wms",\r
{layers:"blank",transparent:"false",format: t_img_format,styles:"transparent",group:"remote"},\r
{isBaseLayer: true});\r
var o_options = {\r
<br>\r
<div tt="xxx" id="transformResult"></div>\r
<div id="abstract" class='ppol_message'></div>\r
-<img id="ajax_image2" src='http://edit.br.fgov.be/edit_wp5/geo/mapviewer/img/ajax_loading.gif' style="visibility:hidden;width:30px;position:absolute"></img>\r
+<img id="ajax_image2" src='http://edit.africamuseum.be/edit_wp5/geo/mapviewer/img/ajax_loading.gif' style="visibility:hidden;width:30px;position:absolute"></img>\r
<div id='wms_checkbox'><ul></ul></div>\r
\r
<br>\r
<input name="dataset" type="radio" id="add_data" >add to the current data</input><br>\r
<div id="show_csv" class="message3 show_it" style="width:auto;left:0px"><b>Show data format and CSV example</b>\r
<div id="message">\r
- <a href="http://edit.br.fgov.be/geoserverweb/for_testing.zip" target="blank">Here</a> you can download an example of a valid CSV file (1000 records)<br><br>\r
+ <a href="http://edit.africamuseum.be/geoserverweb/for_testing.zip" target="blank">Here</a> you can download an example of a valid CSV file (1000 records)<br><br>\r
The parameters to fill <b>for this test file</b> are:\r
<ul>\r
<li>Number of fields:5</li>\r
</dd> \r
<dt>Videos&Contact\r
<dd class='ppol_message'>\r
- <a href="http://edit.br.fgov.be/edit_wp5/edit_info/edit_videos.html" target="blank"><b>Check these videos</b> </a> to see all EDIT mapViewer can offer you<br><br> \r
+ <a href="http://edit.africamuseum.be/edit_wp5/edit_info/edit_videos.html" target="blank"><b>Check these videos</b> </a> to see all EDIT mapViewer can offer you<br><br> \r
EDIT mapViewer has been developed by Pere Roca (peroc79@gmail.com) in the context of the <a href="http://www.e-taxonomy.eu/" target="blank">European Distributed Institute of Taxonomy (EDIT)</a> project.\r
<br><br>\r
\r
- <a href="http://edit.br.fgov.be/edit_wp5/edit_info/GeoTools.zip" target="blank">Here</a> you can download presentations about EDIT Geographic tools.\r
+ <a href="http://edit.africamuseum.be/edit_wp5/edit_info/GeoTools.zip" target="blank">Here</a> you can download presentations about EDIT Geographic tools.\r
<br><br>\r
\r
Most of the GIS layers here can be found on <a href="http://edit.csic.es/GISdownloads.html" target="blank">EDIT GIS download site</a><br><br>\r
</div>\r
<!-- <table id="edit_logo">\r
<tr>\r
- <td><img src="http://edit.br.fgov.be/edit_wp5/web/dingen/logoEDIT.png"/><td>\r
+ <td><img src="http://edit.africamuseum.be/edit_wp5/web/dingen/logoEDIT.png"/><td>\r
</tr>\r
</table> -->\r
\r