Justin,
I'm having a hard time following your suggestions below.
Specifically, I'm confused by:
The StreamingRenderer class (org.geotools.renderer.lite) can render data
from a DataStore into a Graphics2D context... which can originate from a
RenderedImage.
Where is this class being used? How do I use it? Where do I use it?
Are you saying that AbstractDataStore implementations provide both
features and images? Do these things get returned via the FeatureReader?
Or through a SimpleFeatureType?
What "schema" is the AbstractDataStore referring to? How do I supply
one? What do I supply here?
Sorry for all these questions....I just don't understand after reading
the tutorials Geotools provides online.
Thanks,
Ronak Patel
-----Original Message-----
From: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Sent: Wednesday, February 11, 2009 1:28 PM
To: Patel, Ronak Avinash (US SSA)
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Custom DataStores
Hi Ronak,
Patel, Ronak Avinash (US SSA) wrote:
Hello,
I guess my main problem is that I don't understand the lingo that's
being used here.1. What is a "feature" in the DataStore sense? Is this the same
thing
as what WFS considers to be a "feature"?
More or less. The term "feature" definitely comes form WFS. When in teh
context of data store a feature means an entry in a dataset which has
some attributes.
2. How do I return coverages through this DataStore interface? What
format are the coverages supposed to be in?
Coverages are not managed via the DataStore interface. Look at the
AbstractGridFormat and AbstractGridCoverage2DReader classes in the
org.geotools.coverage.grid.io package for the data access classes
relevant to coverages.
3. Are there any typeNames that I must return? Or can typenames be
any random string I want? What is a TypeName used for? Does this
get shown to the enduser of Geoserver?
Yes type names is the list of "types" you want to publish through the
datastore, and should not be random. Type name is used by the outside
world to identify "datasets" served by the datastore. For instance when
the datastore is db based, type names correspond to table names.
4. How do I return images through this interface? Is there any
specific format those images have to be in? PlanarImage?
RenderableImage? Or a simple byte?
The StreamingRenderer class (org.geotools.renderer.lite) can render data
from a DataStore into a Graphics2D context... which can originate from a
RenderedImage.
Thanks for your continued support!
Hope that helps
Ronak
------------------------------------------------------------------------
------------------------------------------------------------------------
------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and
code to
build responsive, highly engaging applications that combine the power
of local
resources and data with the reach of the web. Download the Adobe AIR
SDK and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.