Justin Deoliveira wrote:
> Ok, we seem to be coming from this at different angles. My point is 
> that a shapefile and a database is not a "Service", so why try to 
> attach metadata to it, and why try to ask it questions which it cannot 
> answer.
>
> imho this is the job of servers like GeoServer and MapServer to store 
> and manage this inofmration, not the job of the format driver. And 
> indeed, that is how i look at the DataStore class, as a format driver, 
> nothing more.
Yeah I get it; thinking .... so with that use case in mind publisher, 
keywords, description and title would vanish? Or at least be optional 
(reserved for a subclass?)
... I am still stuck requiring icon and type (even though it causes 
friction). It is tempting to think of icon and type as describing the 
format more than the service; but in practice it did not work out for me.

SERVICE       shapefile     database     wfs        wms
      title                               x          x
   keywords                               x          x
description                               x          x
  publisher                               x          x
       type       x            x          x          x
     source       x            x          x          x
       icon       x            x          x          x
   drm crap                               -          -

RESOURCE      shapefile     database     wfs        wms
      title                               x          x
   keywords                               x          x
description                               x          x
       name                               x          x
     schema       x            x          x          x
       icon       x            x          x          x
     bounds       x            x          x          x
        crs
wgs84bounds       -            -          x          x

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to