I want to store the thumbnails in a table of my
database
since for the case of a mpeg or wav how it could
visualize them,
Inside src/org/fao/geonet/services/thumbnail there are the
3 source files that handle thumbnails.
The Set.java class is responsible for storing the thumbnail
into a file inside geonetwork. You need only to change this
small file (8K) to store the thumbnail into your db.
Also please how the remote search works (with z3950).
For this part ask to rgiaccio@anonymised.com
Cheers,
Andrea
We did at some point discuss to encode the small thumbnail within the XML metadata. The metadata will increase in size, but the thumbnail will be embedded and that is also to the benefit of systems harvesting the metadata. Anyone has ideas/ opinions on this?
Jeroen
On 12 Nov 2005, at 14:33, Andrea Carboni wrote:
I want to store the thumbnails in a table of my
database
since for the case of a mpeg or wav how it could
visualize them,
Inside src/org/fao/geonet/services/thumbnail there are the
3 source files that handle thumbnails.
The Set.java class is responsible for storing the thumbnail
into a file inside geonetwork. You need only to change this
small file (8K) to store the thumbnail into your db.
Also please how the remote search works (with z3950).
For this part ask to rgiaccio@anonymised.com
Cheers,
Andrea
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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.
I think the thumbnail must be a URL (like "http://localhost/images/1.jpg) and never have to be stored in the database. This should help to retrieve the thumbnail from any client including harvest systems. I think the Geonetwork web client must be able to download the thumbnail from a URL and show it. What do you think about this?
Regards
Jeroen Ticheler wrote:
We did at some point discuss to encode the small thumbnail within the XML metadata. The metadata will increase in size, but the thumbnail will be embedded and that is also to the benefit of systems harvesting the metadata. Anyone has ideas/ opinions on this?
Jeroen
Andrea Carboni wrote:
I want to store the thumbnails in a table of my
database
since for the case of a mpeg or wav how it could
visualize them,
Inside src/org/fao/geonet/services/thumbnail there are the
3 source files that handle thumbnails.
The Set.java class is responsible for storing the thumbnail
into a file inside geonetwork. You need only to change this
small file (8K) to store the thumbnail into your db.
Also please how the remote search works (with z3950).
For this part ask to rgiaccio@anonymised.com
Cheers,
Andrea
--
Jorge Piera Llodra
Equipo de desarrollo gvSIG
Conselleria de Infraestructuras y Transporte
Generalitat Valenciana
Valencia - Spain
http://www.gvsig.gva.es
I think that is indeed what the ISO19115 specs require, that would make embedding less obvious/ even possible...
However, for what concerns storing the thumbnail inside the DBMS as Darwin was asking, that is not the problem. A service is called to provide the thumbnail, and that one takes care of where to extract the thumbnail from (filesystem or DBMS is the same in that sense). It just works with a URL. The service also takes care of privileges on download. The thumbnail is stored in a public folder, so no privileges are checked for it, while they are checked for other files.
Jeroen
On 14 Nov 2005, at 09:55, Jorge Piera wrote:
Hi.
I think the thumbnail must be a URL (like "http://localhost/images/1.jpg) and never have to be stored in the database. This should help to retrieve the thumbnail from any client including harvest systems. I think the Geonetwork web client must be able to download the thumbnail from a URL and show it. What do you think about this?
Regards
Jeroen Ticheler wrote:
We did at some point discuss to encode the small thumbnail within the XML metadata. The metadata will increase in size, but the thumbnail will be embedded and that is also to the benefit of systems harvesting the metadata. Anyone has ideas/ opinions on this?
Jeroen
Andrea Carboni wrote:
I want to store the thumbnails in a table of my
database
since for the case of a mpeg or wav how it could
visualize them,
Inside src/org/fao/geonet/services/thumbnail there are the
3 source files that handle thumbnails.
The Set.java class is responsible for storing the thumbnail
into a file inside geonetwork. You need only to change this
small file (8K) to store the thumbnail into your db.
Also please how the remote search works (with z3950).
For this part ask to rgiaccio@anonymised.com
Cheers,
Andrea
--
Jorge Piera Llodra
Equipo de desarrollo gvSIG
Conselleria de Infraestructuras y Transporte
Generalitat Valenciana
Valencia - Spain
http://www.gvsig.gva.es