From: Ooms B. <bar...@vi...> - 2013-06-11 11:57:21
|
Max, When changing the background to google maps we have to set the CRS to EPSG:900913 or 3857 in geonetwork. Does it mean that all the Geographic bounding boxes of all the metadata needs to be defined in above EPSG code? All metadata that is currently in geonetwork uses WSG84 in its geographic bounding box tag. I guess we have to adapt all bounding boxes of all records to use the google EPSG code? Bart -----Original Message----- From: Max Stephan [mailto:max...@gm...] Sent: vrijdag 31 mei 2013 22:12 To: Aklilu Dinkneh; geo...@li... Subject: Re: [GeoNetwork-users] GeoNetwork/Google Maps integration Dear Akilu, congrats. I actually don´t know why this error occurs now. Shouldn´t have anything to do with your changes. Have you checked if the respective javascript es.js exists? The error didn´t occur before you applied the changes I suppose? Good luck Max P.S.: Please send your mails/replies always to geo...@li...<mailto:geo...@li...> as well so that other users can also access and gain their knowledge from them. Von: Aklilu Dinkneh [mailto:akl...@gm...] Gesendet: Donnerstag, 30. Mai 2013 19:18 An: Max Stephan Betreff: Re: [GeoNetwork-users] GeoNetwork/Google Maps integration Dear Max, Me again I think I made a good progress after going through the material you suggested and now I have only one error which i couldnt figure out. I attached here the screen shot do you have any idea what my problem is? Thank you very much for your time with best regards On Thu, May 30, 2013 at 7:16 PM, Aklilu Dinkneh <akl...@gm...<mailto:akl...@gm...>> wrote: Dear Max, Me again I think I made a good progress after going through the material you suggested and now I have only one error which i couldnt figure out. I attached here the screen shot do you have any idea what my problem is? Thank you very much for your time with best regards Aklilu On Sat, May 25, 2013 at 2:54 PM, Max Stephan <max...@gm...<mailto:max...@gm...>> wrote: Hi Akilu, please make sure that you imported the google-maps-API in main-page.xsl like this: <script src="http://maps.google.com/maps/api/js?v=3&sensor=false"></script> Instead of following the more complicated instructions I provided in this thread earlier, I would recommend you to first add a google-layer manually to the map. This openLayers-example gives you an idea how to do that: http://openlayers.org/dev/examples/all-overlays-google.html . If you get this to work you might then proceed with integrating the configuration in config-gui.xml etc. Cheers Max Von: Aklilu Dinkneh [mailto:akl...@gm...<mailto:akl...@gm...>] Gesendet: Samstag, 25. Mai 2013 14:46 An: Max Stephan Betreff: Re: [GeoNetwork-users] GeoNetwork/Google Maps integration Hi Max, Thanks a lot for your fast reply I have followed your explanation to different people and followed the steps you explained and I got some error which I attached here do you think you can explain me what I miss? best regards Aklilu [cid:image001.png@01CE5E4B.CE0BEFD0] On Sat, May 25, 2013 at 2:23 PM, Max Stephan <max...@gm...<mailto:max...@gm...>> wrote: Hey Akilo, adding a google-maps-layer to the search-map requires you to edit the script "ol_minimap.js". This script is responsible for creating the OpenLayers-based map-object and adds the WMS-layers defined in config-gui.xml to this map. Instead of the WMS-layers you need to create a google-layer in this script and then add it to the map. For this to work, you also have to import the google-maps-API in main-page.xsl. Lastly you will have to minify the scripts, so that it´s not only working in the debug-version. It´s not a simple task if you´re not familiar with editing geonetwork or coding. Have a look at our geonetwork´s ol_minimap.js-script to get an idea how it should look like: http://131.220.109.2/geonetwork/scripts/ol_minimap.js (though this version differs because we adapted our geonetwork so that google-layers can also be configured through config-gui.xml). I hope this can give you a rough idea of what you need to change. Cheers, Max -----Ursprüngliche Nachricht----- Von: aklilu [mailto:akl...@gm...<mailto:akl...@gm...>] Gesendet: Samstag, 25. Mai 2013 13:32 An: geo...@li...<mailto:geo...@li...> Betreff: [GeoNetwork-users] GeoNetwork/Google Maps integration Dear Geonetwork users I have tried to go through all past posts regarding integration of googel into Geonetwork(small search map) but I couldnt find a clear answer how to do this so I am here asking for help. could some one please help me in clarifing what I have to do or linking me to a document which describe how to do this. thank you for your help best regards, Aklilu -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Geoserver-Google-Maps-integration-tp3860447p5055709.html Sent from the GeoNetwork users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ GeoNetwork-users mailing list Geo...@li...<mailto:Geo...@li...> https://lists.sourceforge.net/lists/listinfo/geonetwork-users GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork [http://www.vito.be/e-maildisclaimer/vito.png] Ontdek hoe VITO de transitie naar een duurzame maatschappij op gang trekt: www.vito.be/duurzaamheidsverslag2012<http://www.vito.be/duurzaamheidsverslag2012> Discover how VITO initiates the transition towards a sustainable society: www.vito.be/sustainabilityreport2012<http://www.vito.be/sustainabilityreport2012> VITO Disclaimer: http://www.vito.be/e-maildisclaimer |