Hi Stuart

You will need to URL-encode the "q" query parameter (in your "working"
version your browser is most probably doing this for you).

You could try, as a test, just using a static URL (encoded, using the full
url rather than local.fedora.server) in your sdep, to isolate you from any
parameterisation issues.  As your datastream does specify the mime-type and
your "working" version works, it wouldn't seem to be a datastream mime-type
issue.

Is it possible that it is a security ussue?

Steve

> -----Original Message-----
> From: Stuart Chalk [mailto:[email protected]] 
> Sent: 20 March 2010 20:15
> To: [email protected]
> Subject: Re: [Fedora-commons-users] KML mapping service
> 
> 
> Steve, I appreciate the help again, and when I read your 
> email my response was "eureka" that's it! Sadly though, I 
> find it is not. I changed the passBy parameter to VALUE and 
> still no luck.
> So, I rewrote the service to use the PID rather than the KML 
> datastream reference (attached) and this still has the same 
> problem!  It must be close else the location would not come 
> up at all in Google maps.
> 
> 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)

Anyone, know of a good discussion of mime types through the cmodel/sdef/sdep
process?  Whats the critical one?  Can you mess things up by having the
wrong mime type at one point or does the final mime type get overridden by
the last step in the process?  Even if you don't have insight if anyone out
there can point to an equivalent service - one the concatenates a URL on
another website URL - would be great to look at.  Do I need to URL encode
the URl I am passing to Google Maps? So many questions! My brain hurts!

Stuart Chalk, Ph.D.
Associate Professor of Chemistry
Department of Chemistry, University of North Florida
1 UNF Drive, Jacksonville FL 32224
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