[GeoNetwork-users] Q: geonetwork does not show map in left side ...

Has the issue been resolved ? I am having the same problem. I am
deploying Geonetwork under Tomcat and I cannot see the map. Also I am
quite confused ! You are talking about GeoServer settings in
'config-gui.xml', but, do I need GeoServer ? Is a map viewer not
embedded now in the web application ?

I quote from the front page of your website:

"""The software provides an easy to use web interface to search
geospatial data across multiple catalogs, combine distributed map
services in the embedded map viewer, publish geospatial data using the
online metadata editing tools and optionally the embedded GeoServer
map server."""

The text says that there is an embedded map viewer. Optionally, an
embedded GeoServer map server. What do you mean by embedded ?

I have also tried deploying the 'geoserver.war' you provide together
with Geonetwork. I have had some problems in the process (like missing
the file 'styles/default_point.sld', file which is present in my
previous Geonetwork 2.4 installation but seems to be missing in 2.6.0,
so I had to copy it around) but finally managed to have a GeoServer
running. I also changed 'config-gui.xml' to point to the GeoServer.
Yet, I've had no positive results. Still no map.

Map seems to be working if I'm not deploying Geonetwork, but running
locally with its default settings.

Are there some deployment instruction with regards to the map viewer /
GeoServer ?
How do I debug problems like not being able to see the map ?

Cheers,
Cristian

Hi Cristian

You don't need to use geoserver when deploying geonetwork war individually.
Changing a bit config-gui.xml you can use some public WMS server layers like
this:

<mapSearch>
  <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>
  <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>
...
</mapViewer>

If you really need/want to use geoserver also, you need to deploy the
geoserver.war file (from GeoNetwork install) in tomcat, and also manage
about the data folder containing all geoserver configuration. If you use the
installer you see this folder structure:

INSTALL_FOLDER
  bin
  data
* geoserver_data <---- *Folder with geoserver layers, sld, etc.
  ...
  web
* geoserver.war <---- *Geoserver war file

You need to copy also *geoserver_data* folder to some location (for example
can be inside geoserver deployed folder) and in geoserver deployed folder,
edit WEB-INF/web.xml file to config *GEOSERVER_DATA_DIR* with correct path:

* <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
       <param-value>PATH_TO_geoserver_data</param-value>
    </context-param> *

I'll check to update the user manual on how deploy both geonetwork.war and
geoserver.war in tomcat to get working correctly.

If you dont need GeoServer, the first solution should be ok i think.

Regards,
Jose García

On Fri, Oct 15, 2010 at 6:05 PM, Cristian Codorean <
cristian.codorean@anonymised.com> wrote:

Has the issue been resolved ? I am having the same problem. I am
deploying Geonetwork under Tomcat and I cannot see the map. Also I am
quite confused ! You are talking about GeoServer settings in
'config-gui.xml', but, do I need GeoServer ? Is a map viewer not
embedded now in the web application ?

I quote from the front page of your website:

"""The software provides an easy to use web interface to search
geospatial data across multiple catalogs, combine distributed map
services in the embedded map viewer, publish geospatial data using the
online metadata editing tools and optionally the embedded GeoServer
map server."""

The text says that there is an embedded map viewer. Optionally, an
embedded GeoServer map server. What do you mean by embedded ?

I have also tried deploying the 'geoserver.war' you provide together
with Geonetwork. I have had some problems in the process (like missing
the file 'styles/default_point.sld', file which is present in my
previous Geonetwork 2.4 installation but seems to be missing in 2.6.0,
so I had to copy it around) but finally managed to have a GeoServer
running. I also changed 'config-gui.xml' to point to the GeoServer.
Yet, I've had no positive results. Still no map.

Map seems to be working if I'm not deploying Geonetwork, but running
locally with its default settings.

Are there some deployment instruction with regards to the map viewer /
GeoServer ?
How do I debug problems like not being able to see the map ?

Cheers,
Cristian

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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

What to put there instead of "..."?
And should these definitions be inside or outside the <config> tag?

2010/10/16 jose garcia

...
</mapSearch>

...
</mapViewer>

Hi Arto

With "..." i mean to leave actual existing values in the section. Both
sections should be inside <config> element, indeed both <mapSearch> and
<mapViewer> sections exists in the config-gui.xml file, no need to add as
new. Just change the <layers> definitions. I put the complete configuration
for these two sections:

<config>

<mapSearch>
  <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>
  <proj>
    <crs code="EPSG:4326" />
  </proj>
  <bounds west="-180" south="-90" east="180" north="90" />
</mapSearch>

<mapViewer>
  <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>
  <proj>
    <crs code="EPSG:4326" default="1" name="WGS84 (lat/lon)" />
  </proj>
  <bounds west="-180" south="-90" east="180" north="90" />
  <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; />
    <server name="Geoserver" url="http://localhost:8080/geoserver/wms?&quot; />
  </servers>
</mapViewer>

Regards,
Jose García

On Sat, Oct 16, 2010 at 5:10 PM, Arto Vuorela <arto.k.vuorela@anonymised.com>wrote:

What to put there instead of "..."?
And should these definitions be inside or outside the <config> tag?

2010/10/16 jose garcia

> ...
> </mapSearch>
>
> ...
> </mapViewer>
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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

Thanks Jose, it seems to be doing the job at first sight. I will be
testing more.

Cheers,
Cristian

On Sun, Oct 17, 2010 at 10:15 AM, jose garcia <josegar74@anonymised.com> wrote:

Hi Arto

With "..." i mean to leave actual existing values in the section. Both
sections should be inside <config> element, indeed both <mapSearch> and
<mapViewer> sections exists in the config-gui.xml file, no need to add as
new. Just change the <layers> definitions. I put the complete configuration
for these two sections:

<config>

<mapSearch>
<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>
<proj>
<crs code="EPSG:4326" />
</proj>
<bounds west="-180" south="-90" east="180" north="90" />
</mapSearch>

<mapViewer>
<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>
<proj>
<crs code="EPSG:4326" default="1" name="WGS84 (lat/lon)" />
</proj>
<bounds west="-180" south="-90" east="180" north="90" />
<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; />
<server name="Geoserver" url="http://localhost:8080/geoserver/wms?&quot; />
</servers>
</mapViewer>

Regards,
Jose García

On Sat, Oct 16, 2010 at 5:10 PM, Arto Vuorela <arto.k.vuorela@anonymised.com>wrote:

What to put there instead of "..."?
And should these definitions be inside or outside the <config> tag?

2010/10/16 jose garcia

> ...
> </mapSearch>
>
> ...
> </mapViewer>
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
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

Hi Christian

I created this issue: http://trac.osgeo.org/geonetwork/ticket/356

So for next versions the geonetwork.war file should be distrubuted using
public WMS layers and no need to change manually the map config (unless you
want other map layers, sure) or install geoserver.

Regards,
Jose García

On Tue, Oct 19, 2010 at 11:57 AM, Cristian Codorean <
cristian.codorean@anonymised.com> wrote:

Thanks Jose, it seems to be doing the job at first sight. I will be
testing more.

Cheers,
Cristian

On Sun, Oct 17, 2010 at 10:15 AM, jose garcia <josegar74@anonymised.com> wrote:
> Hi Arto
>
> With "..." i mean to leave actual existing values in the section. Both
> sections should be inside <config> element, indeed both <mapSearch> and
> <mapViewer> sections exists in the config-gui.xml file, no need to add as
> new. Just change the <layers> definitions. I put the complete
configuration
> for these two sections:
>
> <config>
>
> <mapSearch>
> <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>
> <proj>
> <crs code="EPSG:4326" />
> </proj>
> <bounds west="-180" south="-90" east="180" north="90" />
> </mapSearch>
>
> <mapViewer>
> <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>
> <proj>
> <crs code="EPSG:4326" default="1" name="WGS84 (lat/lon)" />
> </proj>
> <bounds west="-180" south="-90" east="180" north="90" />
> <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; />
> <server name="Geoserver" url="http://localhost:8080/geoserver/wms?&quot;
/>
> </servers>
> </mapViewer>
>
>
> Regards,
> Jose García
>
>
> On Sat, Oct 16, 2010 at 5:10 PM, Arto Vuorela <arto.k.vuorela@anonymised.com
>wrote:
>
>> What to put there instead of "..."?
>> And should these definitions be inside or outside the <config> tag?
>>
>> 2010/10/16 jose garcia
>>
>> > ...
>> > </mapSearch>
>> >
>> > ...
>> > </mapViewer>
>> >
>>
>>
------------------------------------------------------------------------------
>> Download new Adobe(R) Flash(R) Builder(TM) 4
>> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
>> Flex(R) Builder(TM)) enable the development of rich applications that
run
>> across multiple browsers and platforms. Download your free trials today!
>> http://p.sf.net/sfu/adobe-dev2dev
>> _______________________________________________
>> 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
>>
>
------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> 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
>