[GeoNetwork-users] GeoNetwork v2.6.4: CSW operations Troubleshooting support request?

Hi GeoNetwork-Users.

I have successfully installed GeoNetwork v2.6.4 via a war file app under Tomcat servlet. However, when I test the CSW interface I get the following error.

See

1. http://catalogue.isde.ie/geonetwork/srv/en/main.home - GeoNetwork UI

2. http://catalogue.isde.ie/geonetwork/srv/en/csw?request=GetCapabilities&service=CSW&version=2.0.2 - file or directory not found

Tomcat Log

2012-03-22 09:31:32,557 INFO [jeeves.webapp.csw] - Received:
<request>
  <request>GetCapabilities</request>
  <service>CSW</service>
</request>
2012-03-22 09:31:32,558 DEBUG [jeeves.webapp.csw] - Adapted GET request is:
<csw:GetCapabilities xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot; service="CSW" />
2012-03-22 09:31:32,558 INFO [jeeves.webapp.csw] - Dispatching operation : GetCapabilities
2012-03-22 09:31:34,492 DEBUG [jeeves.service] - Raised exception while executing service
<error id="error">
  <message>Java heap space</message>
  <class>OutOfMemoryError</class>
  <stack>
    <at class="org.apache.lucene.search.FieldComparator$RelevanceComparator" file="FieldComparator.java" line="415" method="&lt;init&gt;" />
    <at class="org.apache.lucene.search.SortField" file="SortField.java" line="477" method="getComparator" />
    <at class="org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue" file="FieldValueHitQueue.java" line="79" method="&lt;init&gt;" />
    <at class="org.apache.lucene.search.FieldValueHitQueue" file="FieldValueHitQueue.java" line="192" method="create" />
    <at class="org.apache.lucene.search.TopFieldCollector" file="TopFieldCollector.java" line="886" method="create" />
    <at class="org.fao.geonet.kernel.search.LuceneSearcher" file="LuceneSearcher.java" line="886" method="doSearchAndMakeSummary" />
    <at class="org.fao.geonet.kernel.csw.services.GetDomain" file="GetDomain.java" line="187" method="handlePropertyName" />
    <at class="org.fao.geonet.kernel.csw.services.GetCapabilities" file="GetCapabilities.java" line="388" method="setKeywords" />
    <at class="org.fao.geonet.kernel.csw.services.GetCapabilities" file="GetCapabilities.java" line="102" method="execute" />
    <at class="org.fao.geonet.kernel.csw.CatalogDispatcher" file="CatalogDispatcher.java" line="179" method="dispatchI" />
  </stack>
  <request>
    <language>en</language>
    <service>csw</service>
  </request>
</error>
2012-03-22 09:31:34,492 INFO [jeeves.service] - -> dispatching to error for : csw
2012-03-22 09:31:34,504 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
2012-03-22 09:31:34,504 DEBUG [jeeves.engine] - TransformerFactoryFactory: produces transformer implementation net.sf.saxon.IdentityTransformer
2012-03-22 09:31:34,505 INFO [jeeves.service] - -> transforming with stylesheet : D:\Tomcat 7.0\webapps\geonetwork\/xsl/error.xsl
2012-03-22 09:31:34,513 DEBUG [jeeves.engine] - TransformerFactoryFactory: de.fzi.dbs.xml.transform.CachingTransformerFactory
2012-03-22 09:31:34,513 DEBUG [jeeves.engine] - TransformerFactoryFactory: produces transformer implementation net.sf.saxon.IdentityTransformer
2012-03-22 09:31:34,539 INFO [jeeves.service] - -> end error transformation for : csw
2012-03-22 09:31:34,539 INFO [jeeves.service] - -> error ended for : csw

CSW Server is enabled.

[cid:image001.png@anonymised.com]

Regards.

Trevor

______________________________
Trevor Alcorn
GIS Analyst
Marine Institute, Rinville, Oranmore, Co. Galway, Ireland
Email: trevor.alcorn@anonymised.com
Ph: +353 91 387476
Fax: +353 91 387201

Online Services
(Data Discovery) Irish Spatial Data Exchange: http://www.isde.ie
(Data Discovery) Marine Data Online 2.0: http://catalog.marine.ie
(Data Request) Service: www.marine.ie/home/publicationsdata/<http://www.marine.ie/home/publicationsdata/&gt;
(Data Services) Standard Map Viewer: http://www.maps.marine.ie

________________________________
This message contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

Is don t? at? ainmithe an teachtaireacht seo agus inte t? eolas r?nda. Muna t? an t? at? ainmithe n?or ch?ir duit an r?omhphost seo a eis-sheacada, scaipeadh n? a choip?il. M? fuir t? an r?omhphost seo tr? thimpist cur a t? a sheol ? ar an eolas l?thaireach tr? r?omhphost agus scrios ? ? do choras f?in. N? f?idir a ch?nti? go bhfuil r?omhphost gan lucht n? s?bhailte de bharr m?dh seachadadh na r?omhphost. D'fh?adfach s? go nd?anfa? tascradh ar an eolas, go mbeadh s? curtha as rocht, go gcailf? n? go scriosf? ?, go mbeadh moill ar, ? easnamhach n? go mbeadh v?reas curtha leis le linn a sheachadadh. D? bhr? sin n? glacann an t? a sheol le aon mhil?an maidir le easnaimh n? but?in in ?bhar na teachtaireachta a tharla?onn le linn a sheachadadh.

(attachments)

image001.png

Hi,
to avoid outofmemoryerror, try to set -Xmx 1024m (or another number) for JAVA_OPTS in TOMCAT_HOME/bin/catalina.sh/bin

kind regards
Jørn-Vegard Røsnes

----- Original Message -----

From: "Trevor Alcorn" <talcorn@anonymised.com>
To: "geonetwork-users@lists.sourceforge.net" <geonetwork-users@anonymised.comceforge.net>
Sent: Thursday, 22 March, 2012 10:32:07 AM
Subject: [GeoNetwork-users] GeoNetwork v2.6.4: CSW operations Troubleshooting support request?

Hi GeoNetwork-Users.

I have successfully installed GeoNetwork v2.6.4 via a war file app
under Tomcat servlet. However, when I test the CSW interface I get
the following error.

See

1. http://catalogue.isde.ie/geonetwork/srv/en/main.home -
GeoNetwork UI

2.
      http://catalogue.isde.ie/geonetwork/srv/en/csw?request=GetCapabilities&service=CSW&version=2.0.2
- file or directory not found

Tomcat Log

2012-03-22 09:31:32,557 INFO [jeeves.webapp.csw] - Received:
<request>
  <request>GetCapabilities</request>
  <service>CSW</service>
</request>
2012-03-22 09:31:32,558 DEBUG [jeeves.webapp.csw] - Adapted GET
request is:
<csw:GetCapabilities xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW" />
2012-03-22 09:31:32,558 INFO [jeeves.webapp.csw] - Dispatching
operation : GetCapabilities
2012-03-22 09:31:34,492 DEBUG [jeeves.service] - Raised exception
while executing service
<error id="error">
  <message>Java heap space</message>
  <class>OutOfMemoryError</class>
  <stack>
    <at
    class="org.apache.lucene.search.FieldComparator$RelevanceComparator"
    file="FieldComparator.java" line="415" method="&lt;init&gt;" />
    <at class="org.apache.lucene.search.SortField"
    file="SortField.java" line="477" method="getComparator" />
    <at
    class="org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue"
    file="FieldValueHitQueue.java" line="79" method="&lt;init&gt;"
    />
    <at class="org.apache.lucene.search.FieldValueHitQueue"
    file="FieldValueHitQueue.java" line="192" method="create" />
    <at class="org.apache.lucene.search.TopFieldCollector"
    file="TopFieldCollector.java" line="886" method="create" />
    <at class="org.fao.geonet.kernel.search.LuceneSearcher"
    file="LuceneSearcher.java" line="886"
    method="doSearchAndMakeSummary" />
    <at class="org.fao.geonet.kernel.csw.services.GetDomain"
    file="GetDomain.java" line="187" method="handlePropertyName" />
    <at class="org.fao.geonet.kernel.csw.services.GetCapabilities"
    file="GetCapabilities.java" line="388" method="setKeywords" />
    <at class="org.fao.geonet.kernel.csw.services.GetCapabilities"
    file="GetCapabilities.java" line="102" method="execute" />
    <at class="org.fao.geonet.kernel.csw.CatalogDispatcher"
    file="CatalogDispatcher.java" line="179" method="dispatchI" />
  </stack>
  <request>
    <language>en</language>
    <service>csw</service>
  </request>
</error>
2012-03-22 09:31:34,492 INFO [jeeves.service] - -> dispatching to
error for : csw
2012-03-22 09:31:34,504 DEBUG [jeeves.engine] -
TransformerFactoryFactory:
de.fzi.dbs.xml.transform.CachingTransformerFactory
2012-03-22 09:31:34,504 DEBUG [jeeves.engine] -
TransformerFactoryFactory: produces transformer implementation
net.sf.saxon.IdentityTransformer
2012-03-22 09:31:34,505 INFO [jeeves.service] - -> transforming
with stylesheet : D:\Tomcat 7.0\webapps\geonetwork\/xsl/error.xsl
2012-03-22 09:31:34,513 DEBUG [jeeves.engine] -
TransformerFactoryFactory:
de.fzi.dbs.xml.transform.CachingTransformerFactory
2012-03-22 09:31:34,513 DEBUG [jeeves.engine] -
TransformerFactoryFactory: produces transformer implementation
net.sf.saxon.IdentityTransformer
2012-03-22 09:31:34,539 INFO [jeeves.service] - -> end error
transformation for : csw
2012-03-22 09:31:34,539 INFO [jeeves.service] - -> error ended
for : csw

CSW Server is enabled.

[cid:image001.png@anonymised.com]

Regards.

Trevor

______________________________
Trevor Alcorn
GIS Analyst
Marine Institute, Rinville, Oranmore, Co. Galway, Ireland
Email: trevor.alcorn@anonymised.com
Ph: +353 91 387476
Fax: +353 91 387201

Online Services
(Data Discovery) Irish Spatial Data Exchange: http://www.isde.ie
(Data Discovery) Marine Data Online 2.0: http://catalog.marine.ie
(Data Request) Service:
www.marine.ie/home/publicationsdata/<http://www.marine.ie/home/publicationsdata/&gt;
(Data Services) Standard Map Viewer: http://www.maps.marine.ie

________________________________
This message contains confidential information and is intended only
for the individual(s) named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. E-mail
transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. The sender therefore does
not accept liability for any errors or omissions in the contents of
this message, which arise as a result of e-mail transmission.

Is don t? at? ainmithe an teachtaireacht seo agus inte t? eolas
r?nda. Muna t? an t? at? ainmithe n?or ch?ir duit an r?omhphost seo
a eis-sheacada, scaipeadh n? a choip?il. M? fuir t? an r?omhphost
seo tr? thimpist cur a t? a sheol ? ar an eolas l?thaireach tr?
r?omhphost agus scrios ? ? do choras f?in. N? f?idir a ch?nti? go
bhfuil r?omhphost gan lucht n? s?bhailte de bharr m?dh seachadadh na
r?omhphost. D'fh?adfach s? go nd?anfa? tascradh ar an eolas, go
mbeadh s? curtha as rocht, go gcailf? n? go scriosf? ?, go mbeadh
moill ar, ? easnamhach n? go mbeadh v?reas curtha leis le linn a
sheachadadh. D? bhr? sin n? glacann an t? a sheol le aon mhil?an
maidir le easnaimh n? but?in in ?bhar na teachtaireachta a
tharla?onn le linn a sheachadadh.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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 all,

Layers for the search map and interactive map should be configured in config-gui.xml. But only wms services can be configured here. Does anybody know how to use the osm api in geonetwork? I guess I have to drop the following code somewhere in a file, but I don't know which file.

<script src="http://www.openlayers.org/api/OpenLayers.js&quot;&gt;&lt;/script&gt;

map.addLayer(new OpenLayers.Layer.OSM());

Kind regards,
Bart

Uniting expertise from different fields of technology enhances the development of innovative methods for sustainable production.
Join the third edition of the international congress 'Innovation for Sustainable Production 2012'
May, 6-9, 2012 - Bruges (Belgium)
http://www.i-sup2012.org
---
This e-mail, any attachments and the information it contains are confidential and meant only for the use of the addressee(s) only. Access to this e-mail by anyone other than the addressee(s) is unauthorized. If you are not the intended addressee (or responsible for delivery of the message to such person), you may not use, copy, distribute or deliver to anyone this message (or any part of its contents) or take any action in reliance on it. In such case, you should destroy this message and notify the sender immediately. If you have received this e-mail in error, please notify us immediately by e-mail or telephone and delete the e-mail from any computer.
All reasonable precautions have been taken to ensure no viruses are present in this e-mail and its attachments. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use.

Hi Ooms,

the right place for doing this would be ol_map.js. But there´s one big catch: Geonetwork doesn´t support EPSG:900913 by default. OSM and google maps are using this projection system only. Instead Geonetwork supports EPGS:4326. We´ve embedded google maps as a baselayer in our geonetwork but had to change code in many places to make this work correctly. If you´re interested you can have a look at the code at http://131.220.109.2/geonetwork/srv/en/main.home?debug (that´s the debug-version using the non-minified scripts).

Best regards
Max Stephan
________________________________________
Von: Ooms Bart [bart.ooms@anonymised.com]
Gesendet: Freitag, 23. März 2012 11:26
An: geonetwork-users@lists.sourceforge.net
Betreff: [GeoNetwork-users] using osm-api as layer

Hi all,

Layers for the search map and interactive map should be configured in config-gui.xml. But only wms services can be configured here. Does anybody know how to use the osm api in geonetwork? I guess I have to drop the following code somewhere in a file, but I don't know which file.

<script src="http://www.openlayers.org/api/OpenLayers.js&quot;&gt;&lt;/script&gt;

map.addLayer(new OpenLayers.Layer.OSM());

Kind regards,
Bart

Uniting expertise from different fields of technology enhances the development of innovative methods for sustainable production.
Join the third edition of the international congress 'Innovation for Sustainable Production 2012'
May, 6-9, 2012 - Bruges (Belgium)
http://www.i-sup2012.org
---
This e-mail, any attachments and the information it contains are confidential and meant only for the use of the addressee(s) only. Access to this e-mail by anyone other than the addressee(s) is unauthorized. If you are not the intended addressee (or responsible for delivery of the message to such person), you may not use, copy, distribute or deliver to anyone this message (or any part of its contents) or take any action in reliance on it. In such case, you should destroy this message and notify the sender immediately. If you have received this e-mail in error, please notify us immediately by e-mail or telephone and delete the e-mail from any computer.
All reasonable precautions have been taken to ensure no viruses are present in this e-mail and its attachments. As our company cannot accept responsibility for any loss or damage arising from the use of this e-mail or attachments we recommend that you subject these to your virus checking procedures prior to use.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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,

I am sorry, but I don't really understand how to use your link:
http://131.220.109.2/geonetwork/srv/en/main.home?debug
http://131.220.109.2/geonetwork/srv/en/main.home?debug

Could you tell us which file do you modify to have Google map as a
background layer, please?
I would like to put a special picture of my territory, but I don't know
which file to change.

Best regards

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi Tacot,

As mentioned adding google maps as a baselayer involves changes in many parts of geonetwork. It´s not just a simple line of code. The script where the layers defined in your config-gui.xml are added is ol_map.js. You can view it directly under this URL http://131.220.109.2/geonetwork/scripts/ol_map.js (or via firebug through the URL I´ve posted before). In our case we also made it possible to configure google-layers directly in the config-gui.xml but that´s a more advanced task. In your case I would just start by looking at the code and trying to understand what happens when in the script (firebug is a great tool to help you with that). In addition it´s helpful if you´re familiar with OpenLayers or at least with Javascript. I´d set a breakpoint in firebug in the init-function (codeline 1240) where the whole map-interface is initialized: First the map is created, then the layers are created and added to the map, then the

Concerning the "special picture of your territory": I guess your speaking of the initial extent of the map? This extent can be set directly in the config-gui.xml.

Good luck!
Max
________________________________________
Von: Tacot [cfab13@anonymised.com]
Gesendet: Freitag, 23. März 2012 14:21
An: geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi,

I am sorry, but I don't really understand how to use your link:
http://131.220.109.2/geonetwork/srv/en/main.home?debug
http://131.220.109.2/geonetwork/srv/en/main.home?debug

Could you tell us which file do you modify to have Google map as a
background layer, please?
I would like to put a special picture of my territory, but I don't know
which file to change.

Best regards

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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 Max,

I also would like to have this capability. Have you considered pushing
the changes back into the trunk? If not may I suggest you do so because
many people will benefit from having such a capability in GN.

Thanks.

John Hockaday

On Fri, 2012-03-23 at 15:00 +0100, Max Stephan wrote:

Hi Tacot,

As mentioned adding google maps as a baselayer involves changes in many parts of geonetwork. It´s not just a simple line of code. The script where the layers defined in your config-gui.xml are added is ol_map.js. You can view it directly under this URL http://131.220.109.2/geonetwork/scripts/ol_map.js (or via firebug through the URL I´ve posted before). In our case we also made it possible to configure google-layers directly in the config-gui.xml but that´s a more advanced task. In your case I would just start by looking at the code and trying to understand what happens when in the script (firebug is a great tool to help you with that). In addition it´s helpful if you´re familiar with OpenLayers or at least with Javascript. I´d set a breakpoint in firebug in the init-function (codeline 1240) where the whole map-interface is initialized: First the map is created, then the layers are created and added to the map, then the

Concerning the "special picture of your territory": I guess your speaking of the initial extent of the map? This extent can be set directly in the config-gui.xml.

Good luck!
Max
________________________________________
Von: Tacot [cfab13@anonymised.com]
Gesendet: Freitag, 23. März 2012 14:21
An: geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi,

I am sorry, but I don't really understand how to use your link:
http://131.220.109.2/geonetwork/srv/en/main.home?debug
http://131.220.109.2/geonetwork/srv/en/main.home?debug

Could you tell us which file do you modify to have Google map as a
background layer, please?
I would like to put a special picture of my territory, but I don't know
which file to change.

Best regards

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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 All,

On a similar note, a long time ago I sent an email asking if someone had
considered adding a virtual globe similar to NASA's WhirlWind java
application or Google Earth.

Are there any plans to do this?

Thanks.

John

On Tue, 2012-03-27 at 11:15 +1100, john.hockaday wrote:

Hi Max,

I also would like to have this capability. Have you considered pushing
the changes back into the trunk? If not may I suggest you do so because
many people will benefit from having such a capability in GN.

Thanks.

John Hockaday

On Fri, 2012-03-23 at 15:00 +0100, Max Stephan wrote:
> Hi Tacot,
>
> As mentioned adding google maps as a baselayer involves changes in many parts of geonetwork. It´s not just a simple line of code. The script where the layers defined in your config-gui.xml are added is ol_map.js. You can view it directly under this URL http://131.220.109.2/geonetwork/scripts/ol_map.js (or via firebug through the URL I´ve posted before). In our case we also made it possible to configure google-layers directly in the config-gui.xml but that´s a more advanced task. In your case I would just start by looking at the code and trying to understand what happens when in the script (firebug is a great tool to help you with that). In addition it´s helpful if you´re familiar with OpenLayers or at least with Javascript. I´d set a breakpoint in firebug in the init-function (codeline 1240) where the whole map-interface is initialized: First the map is created, then the layers are created and added to the map, then the
>
> Concerning the "special picture of your territory": I guess your speaking of the initial extent of the map? This extent can be set directly in the config-gui.xml.
>
> Good luck!
> Max
> ________________________________________
> Von: Tacot [cfab13@anonymised.com]
> Gesendet: Freitag, 23. März 2012 14:21
> An: geonetwork-users@lists.sourceforge.net
> Betreff: Re: [GeoNetwork-users] using osm-api as layer
>
> Hi,
>
> I am sorry, but I don't really understand how to use your link:
> http://131.220.109.2/geonetwork/srv/en/main.home?debug
> http://131.220.109.2/geonetwork/srv/en/main.home?debug
>
> Could you tell us which file do you modify to have Google map as a
> background layer, please?
> I would like to put a special picture of my territory, but I don't know
> which file to change.
>
> Best regards
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
> Sent from the GeoNetwork users mailing list archive at Nabble.com.
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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 John,

sure, I´ll discuss that with my superior. I think that before pushing it to the trunk it shall be refined a bit and maybe discussed with some people from the core team. But anyway, publishing it is certainly an option.

Best regards
Max
________________________________________
Von: john.hockaday [john.hockaday@anonymised.com]
Gesendet: Dienstag, 27. März 2012 02:15
An: Max Stephan
Cc: Tacot; geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi Max,

I also would like to have this capability. Have you considered pushing
the changes back into the trunk? If not may I suggest you do so because
many people will benefit from having such a capability in GN.

Thanks.

John Hockaday

On Fri, 2012-03-23 at 15:00 +0100, Max Stephan wrote:

Hi Tacot,

As mentioned adding google maps as a baselayer involves changes in many parts of geonetwork. It´s not just a simple line of code. The script where the layers defined in your config-gui.xml are added is ol_map.js. You can view it directly under this URL http://131.220.109.2/geonetwork/scripts/ol_map.js (or via firebug through the URL I´ve posted before). In our case we also made it possible to configure google-layers directly in the config-gui.xml but that´s a more advanced task. In your case I would just start by looking at the code and trying to understand what happens when in the script (firebug is a great tool to help you with that). In addition it´s helpful if you´re familiar with OpenLayers or at least with Javascript. I´d set a breakpoint in firebug in the init-function (codeline 1240) where the whole map-interface is initialized: First the map is created, then the layers are created and added to the map, then the

Concerning the "special picture of your territory": I guess your speaking of the initial extent of the map? This extent can be set directly in the config-gui.xml.

Good luck!
Max
________________________________________
Von: Tacot [cfab13@anonymised.com]
Gesendet: Freitag, 23. März 2012 14:21
An: geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi,

I am sorry, but I don't really understand how to use your link:
http://131.220.109.2/geonetwork/srv/en/main.home?debug
http://131.220.109.2/geonetwork/srv/en/main.home?debug

Could you tell us which file do you modify to have Google map as a
background layer, please?
I would like to put a special picture of my territory, but I don't know
which file to change.

Best regards

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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.

Thanks for the support from forum user provided. However, we are still
experiencing an error with the CSW ISO Test Profile GetCapabilities
operation. If anyone in the GeoNetwork community can help this would be much
appreciated?

Our environment is:

We have windows 2008 R2 x64, with Tomcat 7 (Tomcat/7.0.25)
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

Initial memory pool: 2048MB
Maximum memory pool: 2048MB
Thread stack size 1024kb

I also added “
-XX:CompileCommand=exclude,net/sf/saxon/event/ReceivingContentHandler.startElement”
To the java options

Still seeing the same error.

There is also another error in the logs not sure if this is important

26-Mar-2012 16:12:59 org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(D:\Tomcat
7.0\webapps\geonetwork\WEB-INF\lib\servlet-api-2.5-6.1.14.jar) - jar not
loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class

Kind regards.

Trevor

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4659938.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi,

In the trunk, this is much easier in the widgets interface. One "just" has
to change a few lines in app/map/Settings.js to switch to Mercator with
some OSM or Google Map layer
Sure, it would be a good idea to put it in a config file rather than in a
javascript file that will be minified for production purposes.. but yet,
it's not a real mess.

John, we have already made some attempts using WorldWind Java. I'm not
convinced of the interest of embedding it in geonetwork. I found it more
promising to create a separate app, loaded in java web start, and that
would be able to query a catalog through CSW. We had some protos, that are
over at the moment. But if you're interested (and patient), I'll try to
make them available (some config to update)
Cheers,

Jean

2012/3/27 Max Stephan <max.stephan@anonymised.com>

Hi John,

sure, I´ll discuss that with my superior. I think that before pushing it
to the trunk it shall be refined a bit and maybe discussed with some people
from the core team. But anyway, publishing it is certainly an option.

Best regards
Max
________________________________________
Von: john.hockaday [john.hockaday@anonymised.com]
Gesendet: Dienstag, 27. März 2012 02:15
An: Max Stephan
Cc: Tacot; geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi Max,

I also would like to have this capability. Have you considered pushing
the changes back into the trunk? If not may I suggest you do so because
many people will benefit from having such a capability in GN.

Thanks.

John Hockaday

On Fri, 2012-03-23 at 15:00 +0100, Max Stephan wrote:
> Hi Tacot,
>
> As mentioned adding google maps as a baselayer involves changes in many
parts of geonetwork. It´s not just a simple line of code. The script where
the layers defined in your config-gui.xml are added is ol_map.js. You can
view it directly under this URL
http://131.220.109.2/geonetwork/scripts/ol_map.js (or via firebug through
the URL I´ve posted before). In our case we also made it possible to
configure google-layers directly in the config-gui.xml but that´s a more
advanced task. In your case I would just start by looking at the code and
trying to understand what happens when in the script (firebug is a great
tool to help you with that). In addition it´s helpful if you´re familiar
with OpenLayers or at least with Javascript. I´d set a breakpoint in
firebug in the init-function (codeline 1240) where the whole map-interface
is initialized: First the map is created, then the layers are created and
added to the map, then the
>
> Concerning the "special picture of your territory": I guess your
speaking of the initial extent of the map? This extent can be set directly
in the config-gui.xml.
>
> Good luck!
> Max
> ________________________________________
> Von: Tacot [cfab13@anonymised.com]
> Gesendet: Freitag, 23. März 2012 14:21
> An: geonetwork-users@lists.sourceforge.net
> Betreff: Re: [GeoNetwork-users] using osm-api as layer
>
> Hi,
>
> I am sorry, but I don't really understand how to use your link:
> http://131.220.109.2/geonetwork/srv/en/main.home?debug
> http://131.220.109.2/geonetwork/srv/en/main.home?debug
>
> Could you tell us which file do you modify to have Google map as a
> background layer, please?
> I would like to put a special picture of my territory, but I don't know
> which file to change.
>
> Best regards
>
>
>
>
> --
> View this message in context:
http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
> Sent from the GeoNetwork users mailing list archive at Nabble.com.
>
------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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
>
>
------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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 Jean,

ok, haven´t been working with version 2.7 yet but will give it a spin.

On our production-system we´re working with 2.6.4 and have implemented it like this:

· google-maps-layers are added like normal layers in the config-gui.xml

· we changed a bit of code for parsing the layer-configs of the config-gui.xml

· in ol_map.js we´ve implemented a switch in the init-method that checks if it´s a usual wms-layer or a google layer and executes the respective method (createWMSLayer or createGoogleLayer)

Sure, that´s a bit complicated and it´s nice to hear that it´s possibly getting easier in 2.7.

I don´t know about other issues which occur when switching to Mercator (e.g. previews in the preview-panel for WMS-layers are not working unless you´re including a fix in the code). That´s due to the fact that you´ll get wrong coordinates when you´re transforming from EPSG:4326 to EPSG:900913 and the latitude is bigger than 85 or smaller than -85. I don´t know if this has been made more flexible in 2.7. The ideal situation would be that you only have to change the CRS in one place and it´s working in each part of the interface, at least if you want it.

Best regards,

Max

Von: ige31.jp@anonymised.com [mailto:ige31.jp@anonymised.com] Im Auftrag von Jean Pommier (IGE)
Gesendet: Mittwoch, 28. März 2012 18:13
An: Max Stephan
Cc: john.hockaday; geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi,

In the trunk, this is much easier in the widgets interface. One "just" has to change a few lines in app/map/Settings.js to switch to Mercator with some OSM or Google Map layer
Sure, it would be a good idea to put it in a config file rather than in a javascript file that will be minified for production purposes.. but yet, it's not a real mess.

John, we have already made some attempts using WorldWind Java. I'm not convinced of the interest of embedding it in geonetwork. I found it more promising to create a separate app, loaded in java web start, and that would be able to query a catalog through CSW. We had some protos, that are over at the moment. But if you're interested (and patient), I'll try to make them available (some config to update)
Cheers,

Jean

2012/3/27 Max Stephan <max.stephan@anonymised.com>

Hi John,

sure, I´ll discuss that with my superior. I think that before pushing it to the trunk it shall be refined a bit and maybe discussed with some people from the core team. But anyway, publishing it is certainly an option.

Best regards
Max
________________________________________
Von: john.hockaday [john.hockaday@anonymised.com]
Gesendet: Dienstag, 27. März 2012 02:15
An: Max Stephan
Cc: Tacot; geonetwork-users@lists.sourceforge.net

Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi Max,

I also would like to have this capability. Have you considered pushing
the changes back into the trunk? If not may I suggest you do so because
many people will benefit from having such a capability in GN.

Thanks.

John Hockaday

On Fri, 2012-03-23 at 15:00 +0100, Max Stephan wrote:

Hi Tacot,

As mentioned adding google maps as a baselayer involves changes in many parts of geonetwork. It´s not just a simple line of code. The script where the layers defined in your config-gui.xml are added is ol_map.js. You can view it directly under this URL http://131.220.109.2/geonetwork/scripts/ol_map.js (or via firebug through the URL I´ve posted before). In our case we also made it possible to configure google-layers directly in the config-gui.xml but that´s a more advanced task. In your case I would just start by looking at the code and trying to understand what happens when in the script (firebug is a great tool to help you with that). In addition it´s helpful if you´re familiar with OpenLayers or at least with Javascript. I´d set a breakpoint in firebug in the init-function (codeline 1240) where the whole map-interface is initialized: First the map is created, then the layers are created and added to the map, then the

Concerning the "special picture of your territory": I guess your speaking of the initial extent of the map? This extent can be set directly in the config-gui.xml.

Good luck!
Max
________________________________________
Von: Tacot [cfab13@anonymised.com]
Gesendet: Freitag, 23. März 2012 14:21
An: geonetwork-users@lists.sourceforge.net
Betreff: Re: [GeoNetwork-users] using osm-api as layer

Hi,

I am sorry, but I don't really understand how to use your link:
http://131.220.109.2/geonetwork/srv/en/main.home?debug
http://131.220.109.2/geonetwork/srv/en/main.home?debug

Could you tell us which file do you modify to have Google map as a
background layer, please?
I would like to put a special picture of my territory, but I don't know
which file to change.

Best regards

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-operations-Troubleshooting-support-request-tp4643994p4648549.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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 Jean,

Thanks for your reply. My boss asked if we can have a globe view of the world in GN. This prompted me to ask my question again.

It also would be very useful for viewing very high and very low latitudes. EG. The arctic and Antarctic. In Australia there is the Australian Antarctic Data Centre which is only interested in a view of the Antarctic. Hence a conic projection or a more representative projection of the world.

We also have many Geological organisations that would like to see the relations between the surface of the earth and the structures below. EG. faults in relation to cities, magma chambers in relation to regolith, geological deposits in relation to depth below the surface.

Having a proper 3D representation of the world would allow this information to be viewed. Maybe X3D would be useful?

John

-----Original Message-----
From: Jean Pommier (IGE) [mailto:jean.pommier@anonymised.com]
Sent: Thursday, March 29, 2012 3:13 AM
To: Max Stephan
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] using osm-api as layer

Hi,

In the trunk, this is much easier in the widgets interface.
One "just" has
to change a few lines in app/map/Settings.js to switch to
Mercator with
some OSM or Google Map layer
Sure, it would be a good idea to put it in a config file
rather than in a
javascript file that will be minified for production
purposes.. but yet,
it's not a real mess.

John, we have already made some attempts using WorldWind Java. I'm not
convinced of the interest of embedding it in geonetwork. I
found it more
promising to create a separate app, loaded in java web start, and that
would be able to query a catalog through CSW. We had some
protos, that are
over at the moment. But if you're interested (and patient),
I'll try to
make them available (some config to update)
Cheers,

Jean

2012/3/27 Max Stephan <max.stephan@anonymised.com>

> Hi John,
>
> sure, I´ll discuss that with my superior. I think that
before pushing it
> to the trunk it shall be refined a bit and maybe discussed
with some people
> from the core team. But anyway, publishing it is certainly
an option.
>
> Best regards
> Max
> ________________________________________
> Von: john.hockaday [john.hockaday@anonymised.com]
> Gesendet: Dienstag, 27. März 2012 02:15
> An: Max Stephan
> Cc: Tacot; geonetwork-users@lists.sourceforge.net
> Betreff: Re: [GeoNetwork-users] using osm-api as layer
>
> Hi Max,
>
> I also would like to have this capability. Have you
considered pushing
> the changes back into the trunk? If not may I suggest you
do so because
> many people will benefit from having such a capability in GN.
>
> Thanks.
>
> John Hockaday
>
> On Fri, 2012-03-23 at 15:00 +0100, Max Stephan wrote:
> > Hi Tacot,
> >
> > As mentioned adding google maps as a baselayer involves
changes in many
> parts of geonetwork. It´s not just a simple line of code.
The script where
> the layers defined in your config-gui.xml are added is
ol_map.js. You can
> view it directly under this URL
> http://131.220.109.2/geonetwork/scripts/ol_map.js (or via
firebug through
> the URL I´ve posted before). In our case we also made it possible to
> configure google-layers directly in the config-gui.xml but
that´s a more
> advanced task. In your case I would just start by looking
at the code and
> trying to understand what happens when in the script
(firebug is a great
> tool to help you with that). In addition it´s helpful if
you´re familiar
> with OpenLayers or at least with Javascript. I´d set a breakpoint in
> firebug in the init-function (codeline 1240) where the
whole map-interface
> is initialized: First the map is created, then the layers
are created and
> added to the map, then the
> >
> > Concerning the "special picture of your territory": I guess your
> speaking of the initial extent of the map? This extent can
be set directly
> in the config-gui.xml.
> >
> > Good luck!
> > Max
> > ________________________________________
> > Von: Tacot [cfab13@anonymised.com]
> > Gesendet: Freitag, 23. März 2012 14:21
> > An: geonetwork-users@lists.sourceforge.net
> > Betreff: Re: [GeoNetwork-users] using osm-api as layer
> >
> > Hi,
> >
> > I am sorry, but I don't really understand how to use your link:
> > http://131.220.109.2/geonetwork/srv/en/main.home?debug
> > http://131.220.109.2/geonetwork/srv/en/main.home?debug
> >
> > Could you tell us which file do you modify to have Google map as a
> > background layer, please?
> > I would like to put a special picture of my territory,
but I don't know
> > which file to change.
> >
> > Best regards
> >
> >
> >
> >
> > --
> > View this message in context:
>
http://osgeo-org.1560.n6.nabble.com/GeoNetwork-v2-6-4-CSW-oper

ations-Troubleshooting-support-request-tp4643994p4648549.html

> > Sent from the GeoNetwork users mailing list archive at Nabble.com.
> >
>
--------------------------------------------------------------
----------------
> > This SF email is sponsosred by:
> > Try Windows Azure free for 90 days Click Here
> > http://p.sf.net/sfu/sfd2d-msazure
> > _______________________________________________
> > 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
> >
> >
>
--------------------------------------------------------------
----------------
> > This SF email is sponsosred by:
> > Try Windows Azure free for 90 days Click Here
> > http://p.sf.net/sfu/sfd2d-msazure
> > _______________________________________________
> > 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
>
>
>
>
--------------------------------------------------------------
----------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> 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
>
--------------------------------------------------------------
----------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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

*************************************************************************
The information contained in this e-mail, and any attachments to it,
is intended for the use of the addressee and is confidential. If you
are not the intended recipient you must not use, disclose, read,
forward, copy or retain any of the information. If you received this
e-mail in error, please delete it and notify the sender by return
e-mail or telephone.

The Commonwealth does not warrant that any attachments are free
from viruses or any other defects. You assume all liability for any
loss, damage or other consequences which may arise from opening
or using the attachments.

The security of emails transmitted in an unencrypted environment
cannot be guaranteed. By forwarding or replying to this email, you
acknowledge and accept these risks.
*************************************************************************