From: Alain B. <ala...@na...> - 2011-02-24 13:48:49
|
Hi, thank to Jose for this information but i don't understand how to configure the config-gui.xml file. My situation : * geonetwork 2.6.3 and database under postgis * At the home page of geonetwork server no map are display : screenshot * no intermap and no wms installed with geonetwork (just the map viewer include??) * I just want to use for example a NASA Web Map Server (that i made under GN 2.4 with intermap) and I configure config-gui.xml like this : <mapSearch options="{projection: 'EPSG:4326', maxExtent: new OpenLayers.Bounds(-180,-90,180,90), units: 'm', restrictedExtent: new OpenLayers.Bounds(-180,-90,180,90)}"> <layers> *<layer server="http://wms.jpl.nasa.gov/wms.cgi?" tocName="BMNG" params="{layers: 'bmng', transparent: 'true', format: 'image/jpeg'}" options="{isBaseLayer: true}" />* <layer server="http://localhost:8080/geoserver/wms" tocName="Borders" params="{layers: 'gn:gboundaries', transparent: 'true', format: 'image/png'}" options="{}" /> <layer server="http://localhost:8080/geoserver/wms" tocName="Ortophoto" params="{layers: 'gn:world', format: 'image/jpeg'}" options="{isBaseLayer: true}" /> </layers> </mapSearch> I just add the bold line and i test different syntax without success. (I don't have a folder geoserver/wms) Have somedy configure this file in my context and with succes? Thank you. Alain. Le 20:59, jose garcia a écrit : > Hi Alain > > Since 2.6.0, Intermap was replaced by a javascript map viewer in OpenLayers. > In the file geonetwork/WEB-INF/config-gui.xml you can find the configuration > for map viewer (see mapSearch and mapViewer sections). > > Regards, > Jose García > > GeoCat bv > http://geocat.net > > 2011/2/23 Alain Benard<ala...@na...> > >> Hi, >> For testing I install geonetwork 2.6.3 and use gast for create a database >> postgis. In production we have geonetwork 2.4.3 with database postgresql. >> I don't find intermap in the geonetwork folder installation in 2.6.3. Is it >> replace by a another solution? Must I install manually? >> Thanks. >> Alain. >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search& Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> GeoNetwork-users mailing list >> Geo...@li... >> https://lists.sourceforge.net/lists/listinfo/geonetwork-users >> GeoNetwork OpenSource is maintained at >> http://sourceforge.net/projects/geonetwork >> >> |