[GeoNetwork-users] Problem with the map

Hello,
Why i cannot see the map at localhost:8080/geonetwork?

Hi George

Are you running the GeoNetwork war file or a full installation? In the case
of the war file, it's "normal" as the map viewer uses a local GeoServer
that is not included in war distribution. You can manage to configure an
external map service in WEB-INF/config-gui.xml. I add here example snippet
to replace in your actual file:

<mapSearch options="{projection: 'EPSG:4326', maxExtent: new
OpenLayers.Bounds(-180,-90,180,90), units: 'degrees', restrictedExtent: new
OpenLayers.Bounds(-180,-90,180,90)}">
  <layers>
   <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble&quot;
tocName="Map" params="{layers: 'Earth Image,Borders,Coastlines', format:
'image/jpeg'}" options="{isBaseLayer: true}" />
  </layers>
</mapSearch>

<mapViewer options="{projection: 'EPSG:4326', maxExtent: new
OpenLayers.Bounds(-180,-90,180,90), units: 'degrees', restrictedExtent: new
OpenLayers.Bounds(-180,-90,180,90)}">
  <layers>
   <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble&quot;
tocName="Borders" params="{layers: 'Borders,Coastlines', transparent:
'true', format: 'image/png'}" options="{}" />
    <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble&quot;
tocName="Ortophoto" params="{layers: 'Earth Image', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
<scales values="[7500000, 5000000, 2500000, 1000000, 750000, 500000,
250000, 100000, 75000, 50000, 25000, 10000, 7500, 5000, 2500, 1000]" />
  <!--scales values="" /-->
  <proj>
    <crs code="EPSG:4326" default="1" name="WGS84 (lat/lon)" />
  </proj>
  <servers>
    <server name="NASA JPL OneEarth Web Mapping Server (WMS)" url="
http://wms.jpl.nasa.gov/wms.cgi?&quot; />
    <server name="NASA Earth Observations (NEO) WMS" url="
http://neowms.sci.gsfc.nasa.gov/wms/wms?&quot; />
    <server name="DEMIS World Map Server" url="
http://www2.demis.nl/mapserver/wms.asp?&quot; />
  </servers>
</mapViewer>

If you're using a full installation, check the logs as maybe GeoServer app
is not running properly. Note also that if want to access the application
from other computers you need to edit config-gui.xml to change
http://localhost:8080 with the correct server/port names.

Regards,
Jose García

On Thu, Nov 22, 2012 at 11:31 AM, George Thivaios <gthivaios01@anonymised.com>wrote:

Hello,
Why i cannot see the map at localhost:8080/geonetwork?

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

Hi George

If you're running in Tomcat, you're using the war file, as the full
installer runs on jetty.

Related to the changes I sent: check in config-gui.xml and search for
mapSearch and mapViewer sections. You should replace these sections only
with the content I sent.

Regards,
Jose García

On Thu, Nov 22, 2012 at 3:07 PM, George Thivaios <gthivaios01@anonymised.com>wrote:

I think it's the full one.I went to WEB-INF/config-gui.xml and i didn't
find something similar like the one that you havepost. that means that
propably i have install the war one?
Have i to replace everything in WEB-INF/config-gui.xml with the one that
you have post?
(I have install it to run at Tomcat 7).

2012/11/22 Jose Garcia <jose.garcia@anonymised.com>

Hi George

Are you running the GeoNetwork war file or a full installation? In the
case of the war file, it's "normal" as the map viewer uses a local
GeoServer that is not included in war distribution. You can manage to
configure an external map service in WEB-INF/config-gui.xml. I add here
example snippet to replace in your actual file:

<mapSearch options="{projection: 'EPSG:4326', maxExtent: new
OpenLayers.Bounds(-180,-90,180,90), units: 'degrees', restrictedExtent: new
OpenLayers.Bounds(-180,-90,180,90)}">
  <layers>
   <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble&quot;
tocName="Map" params="{layers: 'Earth Image,Borders,Coastlines', format:
'image/jpeg'}" options="{isBaseLayer: true}" />
  </layers>
</mapSearch>

<mapViewer options="{projection: 'EPSG:4326', maxExtent: new
OpenLayers.Bounds(-180,-90,180,90), units: 'degrees', restrictedExtent: new
OpenLayers.Bounds(-180,-90,180,90)}">
  <layers>
   <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble&quot;
tocName="Borders" params="{layers: 'Borders,Coastlines', transparent:
'true', format: 'image/png'}" options="{}" />
    <layer server="http://www2.demis.nl/wms/wms.ashx?WMS=BlueMarble&quot;
tocName="Ortophoto" params="{layers: 'Earth Image', format: 'image/png'}"
options="{isBaseLayer: true}" />
  </layers>
<scales values="[7500000, 5000000, 2500000, 1000000, 750000, 500000,
250000, 100000, 75000, 50000, 25000, 10000, 7500, 5000, 2500, 1000]" />
  <!--scales values="" /-->
  <proj>
    <crs code="EPSG:4326" default="1" name="WGS84 (lat/lon)" />
  </proj>
  <servers>
    <server name="NASA JPL OneEarth Web Mapping Server (WMS)" url="
http://wms.jpl.nasa.gov/wms.cgi?&quot; />
    <server name="NASA Earth Observations (NEO) WMS" url="
http://neowms.sci.gsfc.nasa.gov/wms/wms?&quot; />
    <server name="DEMIS World Map Server" url="
http://www2.demis.nl/mapserver/wms.asp?&quot; />
  </servers>
</mapViewer>

If you're using a full installation, check the logs as maybe GeoServer
app is not running properly. Note also that if want to access the
application from other computers you need to edit config-gui.xml to change
http://localhost:8080 with the correct server/port names.

Regards,
Jose García

On Thu, Nov 22, 2012 at 11:31 AM, George Thivaios <gthivaios01@anonymised.com>wrote:

Hello,
Why i cannot see the map at localhost:8080/geonetwork?

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*

--
*
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net/&gt;

*