I think it's what you are passing to the Google Maps URL.

Comparing with your list disseminator, in this case you have:

http://local.fedora.server/fedora/risearch?type=(TYPE)&lang=(LANG)&f
ormat=(FORMAT)&query=(QUERY)

So it is retrieving the contents of the QUERY datastream, and passing the
results of that as the query parameter.

For your gmap disseminator you have

http://maps.google.com/maps?f=q&hl=en&q=(KML)

So it will be retrieving the contents of the KML datastream and passing the
results as the q parameter - in fact what you need to pass is the URL of the
datastream I believe rather than the contents.  Try passing by VALUE rather
than URL_REF.

Steve



> -----Original Message-----
> From: Stuart Chalk [mailto:[email protected]] 
> Sent: 20 March 2010 11:40
> To: [email protected]
> Subject: [Fedora-commons-users] KML mapping service
> 
> 
> I am trying to set up a service to send a fedora managed KML 
> file to the google maps website.
> The infrastructure is working but there is a mime-type issue 
> (I think) I can't seem to fix.
> 
> The following URLs show it working and not working
> http://maps.google.com/maps?f=q&hl=en&q=http://ecenter.coas.un
f.edu:8080/fedora/get/unf:collection_awis00001/KML (working)
http://ecenter.coas.unf.edu:8080/fedora/objects/unf:collection_awis00001/met
hods/unf:sdef_GeotaggedImageCollection/gmap (not working)

As far as I can tell I have set all the mime-type entries to the KML mime
type of application/vnd.google-earth.kml+xml (see attached sdep).

Anyone have any ideas in terms of setting the correct mime type, or is it
not a mime issue?

Stuart Chalk, Ph.D.
Associate Professor of Chemistry
Department of Chemistry
University of North Florida
1 UNF Drive
Jacksonville, FL 32224 USA
P: 904-620-1938
F: 904-620-3535
E: [email protected]
W: http://www.unf.edu/coas/chemistry/



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to