Hi,
Version:2.9.0-SNAPSHOT
when I display this resource:
http://geocatalog.webservice-energy.org/geonetwork/srv/eng/metadata.show?id=1099&currTab=simple
and I try to click on the link "Interactive Map" in order to display the
layer in the Map Viewer nothing happens ?
After comparing with other GeoNetwork instance I suspect the there is the
following missing .js file include statement in the metadata.show page:
I would like to test this hypothesis, but I cannot find where should I put
this directive ?
Any as an idea about wether or not this assumption is correct and where to
place this directive ?
Thanks,
Lionel
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
I believe this is the change you are referring to
https://github.com/geonetwork/core-geonetwork/commit/09165ed16f5849ba72556cf8edc0d6c85f0329e4
You should be able to locate the metadata-show.xsl and main-page.xsl in your
installation and change them back to see if it fixes your issues. Note
depending on you configuration may need to restart your geonetwork instance
after you apply any changes.
Let me know if this fixes your issue - if it does, we may need to modify
this fix.
If I get a chance, I will try to look into this weekend.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5033125.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
After further investigation this seem like bug #871
<http://trac.osgeo.org/geonetwork/ticket/871>
http://trac.osgeo.org/geonetwork/ticket/871
I have created a preliminary patch - If you download the file and replace
yours, you can test and let me know how it goes...
https://github.com/ianwallen/core-geonetwork/commit/6d2b56fdb1b5201620a8571df4794193f4bd5c19
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5033266.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
Opps - I had forgotten to initialize the map.
You may want to get the latest version from here in order to test.
https://github.com/ianwallen/core-geonetwork/blob/master/web/src/main/webapp/xsl/metadata-show.xsl
It was showing and hiding the map but that was it - it should now load the
related data...
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5033349.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
The change has now been applied to the 2.9 branch... It should appear in
future 2.9 nightly builds
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5034906.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Dear Ian,
We have updated our catalog and we use now the latest version (2.9) of
GeoNetwork available in the Github.
I guess as you said that the fix you've mentioned was part of the distrib.
Unfortunately the interactive map is still not working in this Metadata
display. In fact the "Show Map" panel is not available is this view. Is this
why the "javascript:AddWMSLayer" link is not able to display the layer ? Is
there something to configure in order to have this display option available
in this Metadata view ?
Thanks again for your help.
Best regards,
Lionel
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5036683.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
Sorry, I did not update you. After I applied the change, A developer found a
conflict with his application and apply a fix to resolve the issue.
Unfortunately the fix broke the code. I have identified a potential fix to
the developer and I just waiting for him to test and apply a new fix.
I believe that with the 2.8.0 release, he was too busy to apply the fix - I
will check back with him shortly to see how the testing is going...
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5036707.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Hi Ian,
thanks for your reply. Yes please let me know when the fix will be available
as I think this is an important missing action in the scope of the metadata
view.
Cheers,
Lionel
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5036855.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
My mistake, the developer committed the fix a few days ago. I missed it. I
just tested the latest 2.9 release from github and it works for me (in the
classic interface).
I just noticed that if you don't have new config option "<metadata-show
showMapPanel="true"/>" in config-gui.xml, it will not work. I will try to
look into this issue shortly.
I also just did a test in the new tab interface and it is not working. I
will try to submit a new bug for this.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5037014.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Ian,
the parameter is set to true (<metadata-show showMapPanel="true"/>) in my
config-gui.xml.
In case you want to try what I describe here, go to:
http://geocatalog.webservice-energy.org/geonetwork/srv/eng/metadata.show?id=1296&currTab=simple
and try to click on the "Interactive Map" link in the "Transfer Option"
section. Unfortunately nothing happens.
Thanks for your help.
Lionel
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5037043.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
I see you are still using an the older version of the metadata-show.xsl. You
still have the buggy code....
Ensure that you updated metadata from here
<https://github.com/geonetwork/core-geonetwork/blob/master/web/src/main/webapp/xsl/metadata-show.xsl>
And then restart your geonetwork instance. Also try clearing your browser
cache.
Let me know how it goes....
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5037092.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Hi Ian,
I've upload the last version and now I have the "Show Map" panel available
at the top of the main window.
That is great thanks. But this "Show Map" option does not seems to provide
all feature as the one from the main default one available at the home page
of GeoNetwork.
Though I can load the layer from the metadata file, this layer does is not
listed in the "Overlays" folder of the MapViewer. Consequently I cannot zoom
to it's extent and legend is not available. Also in this MapViewer if I try
to upload a new layer from a registered resources (via the "+" icon) same
behavior occurs, layer is not shown in the "Overlays" list of layers.
Are we launching the same "version" of the MapViewer from the metadata-show
view that from the default one on the home page ?
Thanks for your help.
Lionel
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5037243.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Lionel,
I see the issue that you mention - I created a new Ticket #1230
<http://trac.osgeo.org/geonetwork/ticket/1230> for this bug
Unfortunately I don't have time to look into this bug at the moment.
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5037315.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
Hi Ian,
thanks for ALL...really...Your help is highly appreciated. I'll look forward
for news...
All the best,
Lionel
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Interactive-Map-not-working-tp5033080p5037379.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.