Greetings,
I am wishing to incorporate into out GeoNetwork app. the ability to view an
interactive map and/or open a layer in Google Earth. I know I am on the
right track, but I am doing something wrong-whenever I click the View in
Google Earth button, Google Earth properly opens and zooms to the correct
location, but a giant red X covers the geographic area where the layer
should be. When I click the Interactive Map button, nothing happens.
Whenever I change the protocol (to OGC:WMS-1.1.1-http-get-capabilities),
though, the Interactive Map button brings up a list of the map services, but
when I try to select any of them, I get the following error: "Could not
determine geoserver request from http request GET"
Below is a snippet of the XML as I have it included in the metadata for
attempting to open a layer in Google Earth.
<gmd:onLine>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://coordinatesolutions.com:8079/geoserver/wms</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>OGC:WMS-1.1.1-http-get-map</gco:CharacterString>
</gmd:protocol>
<gmd:name>
<gco:CharacterString>topp:stsenate</gco:CharacterString>
</gmd:name>
<gmd:description>
<gco:CharacterString>Oklahoma Senate
Districts</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onLine>
Any suggestions would be greatly appreciated.
Thanks,
Todd Fagin
Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com
Todd,
Have you tried port 8080 instead (the default geoserver one). I got maps coming
up fine in both Geoserver and intermap from Geonetwork from http://coordinatesolutions.com:8080/geoserver/wms.
I think port 8079 is the default port to stop Geoserver.
Andrew Walsh
----- Original Message ----- From: "Todd Fagin" <tfagin@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Thursday, January 15, 2009 10:26 AM
Subject: [GeoNetwork-users] Help with Interactive Map/Google Earth
Greetings,
I am wishing to incorporate into out GeoNetwork app. the ability to view an
interactive map and/or open a layer in Google Earth. I know I am on the
right track, but I am doing something wrong-whenever I click the View in
Google Earth button, Google Earth properly opens and zooms to the correct
location, but a giant red X covers the geographic area where the layer
should be. When I click the Interactive Map button, nothing happens.
Whenever I change the protocol (to OGC:WMS-1.1.1-http-get-capabilities),
though, the Interactive Map button brings up a list of the map services, but
when I try to select any of them, I get the following error: "Could not
determine geoserver request from http request GET"
Below is a snippet of the XML as I have it included in the metadata for
attempting to open a layer in Google Earth.
<gmd:onLine>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://coordinatesolutions.com:8079/geoserver/wms</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>OGC:WMS-1.1.1-http-get-map</gco:CharacterString>
</gmd:protocol>
<gmd:name>
<gco:CharacterString>topp:stsenate</gco:CharacterString>
</gmd:name>
<gmd:description>
<gco:CharacterString>Oklahoma Senate
Districts</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onLine>
Any suggestions would be greatly appreciated.
Thanks,
Todd Fagin
Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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
Hello,
the easiest way to integrate a wms layer into ge is to define a kml:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<GroundOverlay>
<name>BasisDOP - www.geoportal.rlp.de</name>
<Icon>
<href>http://geodaten.service24.rlp.de/cgi-bin/freedop.cgi?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&WIDTH=512&HEIGHT=512&LAYERS=freedop:dop&STYLES=&TRANSPARENT=TRUE&BGCOLOR=0xffffff&FORMAT=image/png&</href>
<RefreshMode>onExpire</RefreshMode>
<viewRefreshMode>onStop</viewRefreshMode>
<viewRefreshTime>1</viewRefreshTime>
<viewBoundScale>0.87</viewBoundScale>
</Icon>
<LatLonBox>
<north>51.4359447625</north>
<south>48.3888016108</south>
<east>9.0180562494</east>
<west>5.7123535483</west>
</LatLonBox>
</GroundOverlay>
</kml>
In http://www.geoportal.rlp.de we do this out of our metadata view
(http://www.geoportal.rlp.de/mapbender/x_geoportal/mod_layerMetadata.php?id=24152). The script writes a temporary xml file to the servers tmp folder and send them to the requesting user. We give away single layers of wms. They have normally an individual bbox in the registry and can be requested be their name. If you use geonetwork, you must send the whole service I think - or you must define every layer name you wish to see in the href tag.
Greetings,
Armin
Am Mittwoch, den 14.01.2009, 17:26 -0600 schrieb Todd Fagin:
Greetings,
I am wishing to incorporate into out GeoNetwork app. the ability to view an
interactive map and/or open a layer in Google Earth. I know I am on the
right track, but I am doing something wrong-whenever I click the View in
Google Earth button, Google Earth properly opens and zooms to the correct
location, but a giant red X covers the geographic area where the layer
should be. When I click the Interactive Map button, nothing happens.
Whenever I change the protocol (to OGC:WMS-1.1.1-http-get-capabilities),
though, the Interactive Map button brings up a list of the map services, but
when I try to select any of them, I get the following error: "Could not
determine geoserver request from http request GET"
Below is a snippet of the XML as I have it included in the metadata for
attempting to open a layer in Google Earth.
<gmd:onLine>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://coordinatesolutions.com:8079/geoserver/wms</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>OGC:WMS-1.1.1-http-get-map</gco:CharacterString>
</gmd:protocol>
<gmd:name>
<gco:CharacterString>topp:stsenate</gco:CharacterString>
</gmd:name>
<gmd:description>
<gco:CharacterString>Oklahoma Senate
Districts</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onLine>
Any suggestions would be greatly appreciated.
Thanks,
Todd Fagin
Coordinate Solutions, Inc.
2804 NW 18th St.
Oklahoma City, OK 73107
405.740.4324 (voice)
904.471.5548 (fax)
www.coordinatesolutions.com
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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