Quickly:
- Sort of does CRUD already - feature = object, featuretype=class :D
- There is tile reading code in uDig, it was back ported once to geoTools but
due to lack of interest was eventually dropped. (I had one bug that stumped me
and pulled it rather than continue to answer questions). The story is, query
the tiles for a BBOX, grab them into a List<GridCoverage> and draw as normal.
- JMapPane are an example of how to use the GeoTools rendering engine in Swing.
Thus far nobody has contributed digitisation tools (although I have seen a fair
number of teams do this on their own - perhaps search github?)
- using hibernate is fine but perhaps not worth it? (it amounts to jdbc ->
object -> feature -> shape -> screen). I saw one team do it properly, using the
hibernate staging area directly and materialising features (rather than force
data into java POJOS).
--
Jody Garnett
On Friday, 28 June 2013 at 12:05 PM, One Sho wrote:
>
> hello,
> I am looking into using geotools for a fairly simple app consisting mostly of
> a gridtable and a graphical representation for the data via a map widget.
> My newbie questions for now are:
>
> Would it be a problem (from a performance or other perspective) if actually
> use geotools for plain ol CRUD and not queries of the spatial variety?( i'm
> thinking either way the db must be postgis enable right?)
>
> I want to have as a start two layers: one OSM tiles layer and one point
> layer. I think i already found the way to render the feature layer, using the
> tutorial of course, but i do not seem to be able to find a way to get the
> tile layer up and running. I think i saw a post somewhere that this is not
> available. If so, are there any workarounds?...like serving tms as wms or
> something?
>
> Do any of the the map widgets ( jMapPane and jMapFrame are the only ones i
> understand) support the ability to run spatial queries. To be more precise
> could i draw a polygon on the mappanel and the use that polygon to query the
> db for features inside that polygon?I'm thinking maybe i could
> programatically create a layer to hold the polygon ( or polygons) and when
> the user clicks a button i create a query, retrieve the result and modify the
> style of those features that are in the result set ( or actually i could just
> apply my custom made "feature selected" style)
>
> Has anyone used hibernate-spatial with geotools? Would it be redundant?
>
> Thank you in advance for your answers and your patience
> ------------------------------------------------------------------------------
> This SF.net (http://SF.net) email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users