"- 
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)."  

Lack of interest?So then people would rather have to implement their own tile 
reading ( which i am sure they do..everybody around here uses a OSM or gmaps 
right? ). 


"The 
story is, query the tiles for a BBOX, grab them into a 
List<GridCoverage> and draw as normal." 
Lost me here.. more details are invaluable. I see in the image tutorial 
http://docs.geotools.org/latest/userguide/tutorial/raster/image.html that the 
wms link has a bbox parameter. Could't that be used to fetch the image( at this 
point i would also settle for a full image  each time i pan instead of tiling) 
from a wms server that acts as an adapter/translator between the application 
and the tms? Please give more details regarding the   bbox method. I hope i was 
clear on what i want to do. Render an osm or googlemaps (or bing for that 
matter) layer as background map for my features. Just like on the internet. 
Only on the desktop :)



"- 
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?)"  Can't find anything on github or google on this matter. But  if 
anything comes out of this i will gladly contribute. But i think i will need 
someone to mentor me over this weekend  because  i need to do it this weekend.



________________________________
 From: Jody Garnett <[email protected]>
To: One Sho <[email protected]> 
Cc: "[email protected]" 
<[email protected]> 
Sent: Friday, 28 June 2013, 7:28
Subject: Re: [Geotools-gt2-users] Probing geotools
 


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 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 
------------------------------------------------------------------------------
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

Reply via email to