Hi,
I am a trainee in a research laboratory that wishes to establish a
geocatalogue.
So I chose GeoNetwork for many reasons ...
It suits us very well, however I would like to see my results on a OSM or
Google Satellite map (user's choice).
I managed to make it more or less difficult but I have a little problem: I
can not preview the extent of my data in the metadata record.
Only coordinates are displayed ...
<http://osgeo-org.1560.x6.nabble.com/file/n5063312/Emprise_manquante.png>
For your information, to insert Google's layers, I modified 3 files:
-config-gui.xml (remove WMS & add OSM/Google declarations)
-ol_map.js (add a function createOSMLayer(name, type, option) and
createMap900913(scales))
-main-page.xsl (add API's ceclaration, modify initMapViewer() and remove
mapOptions' declaration)
Anyone know how to do it to review the map with the data's extent ?
Thank you in advance!
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/No-geographical-extent-in-the-metadata-record-tp5063312.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
It seems likely that there is a projection problem. THe metadata is in Latlong (wgs84) and the map might be in the google mercator projection. If this is the case then you would have a similar problem.
To debug I would open in Google Chrome or Firefox and open the developer window and then refresh the page. Check for the Web requests requesting tiles and see if the requests make sense.
Also check to see if any javascript errors are reported.
Jesse
···
On Mon, Jul 1, 2013 at 3:08 PM, PaulALEXANDRE <polokisscool@anonymised.com> wrote:
Hi,
I am a trainee in a research laboratory that wishes to establish a
geocatalogue.
So I chose GeoNetwork for many reasons …
It suits us very well, however I would like to see my results on a OSM or
Google Satellite map (user’s choice).
I managed to make it more or less difficult but I have a little problem: I
can not preview the extent of my data in the metadata record.
Only coordinates are displayed …
<http://osgeo-org.1560.x6.nabble.com/file/n5063312/Emprise_manquante.png>
For your information, to insert Google’s layers, I modified 3 files:
-config-gui.xml (remove WMS & add OSM/Google declarations)
-ol_map.js (add a function createOSMLayer(name, type, option) and
createMap900913(scales))
-main-page.xsl (add API’s ceclaration, modify initMapViewer() and remove
mapOptions’ declaration)
Anyone know how to do it to review the map with the data’s extent ?
Thank you in advance!
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/No-geographical-extent-in-the-metadata-record-tp5063312.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Hi,
Looks like you are using the “legacy” interface. Maybe you would have it easier with the widgets interface. I’ve customized mine quite a bit, and I’m using a Google map with no issue.
Cheers
Jean
2013/7/1 PaulALEXANDRE <polokisscool@anonymised.com>
Hi,
I am a trainee in a research laboratory that wishes to establish a
geocatalogue.
So I chose GeoNetwork for many reasons …
It suits us very well, however I would like to see my results on a OSM or
Google Satellite map (user’s choice).
I managed to make it more or less difficult but I have a little problem: I
can not preview the extent of my data in the metadata record.
Only coordinates are displayed …
<http://osgeo-org.1560.x6.nabble.com/file/n5063312/Emprise_manquante.png>
For your information, to insert Google’s layers, I modified 3 files:
-config-gui.xml (remove WMS & add OSM/Google declarations)
-ol_map.js (add a function createOSMLayer(name, type, option) and
createMap900913(scales))
-main-page.xsl (add API’s ceclaration, modify initMapViewer() and remove
mapOptions’ declaration)
Anyone know how to do it to review the map with the data’s extent ?
Thank you in advance!
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/No-geographical-extent-in-the-metadata-record-tp5063312.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Thank you both of you.
Excuse me for this late reply, I was busy on another project...
As Jesse has specify, projection's change seems to be the problem.
Even with the widget interface, the problem stays the same. I think I edit
the wrong file...
I will keep you informed of my progress and thank you again for your
answers.
Paul
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/No-geographical-extent-in-the-metadata-record-tp5063312p5067542.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.