Andrea Aime wrote:
Jody Garnett ha scritto:
Fun stuff Andrea - I notice one of the SoC students has a data caching project in mind. Did you want to put this code in an unsupported module?

Yeah, I know, already spoke with Ian T. about the SoC.
About a module, no, I did not, and do not plan to for the moment (it's just a single class). Want to hear back from users before deciding on eventually supporting this thing.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Andrea and Jody,

Thank you for making time to review the FeatureSource module. I have been utilizing the GeoTools modules for the purpose of creating an interactive desktop gis application. Overall, I am very impressed with the work that has been done and I am looking forward to being more involved with the geotools project.

The database objects (dbtt\vt) that are used for our application have been developed by Mike Quinn of the Merced County Ag Dept, I have implemented a custom DataStore, FeatureSource, FeatureCollection, FeatureReader, AttributeReader, and FeatureType to work with them.

For the FeatureSource module, I chose to store the features in a FeatureCollection object that is populated the first time that the FeatureSource.getFeatures(Query request) method is invoked.

This morning, I replaced the instances of vtFeatureSource with ChachingFeatureSource to evaluate the change in rendering speed. To test the differences between the modules, I drew a map at full extent. I then changed the extent to a specific grid(1mile square) then zoomed out by 25% several times. I used System.currentTimeMilis() to determine the time required for the GTRenderer to paint the Graphics2D object. The results of the test are attached as a csv file to this message.

I have developed a custom MapPane (vtMapPane) that was derived from the JMapPane object and has been tailored to work with the dbtt\vt database objects; I have added features for editing existing polygons and drawing new ones. In my attempt to tailor the Datastore objects to work with the (dbtt\vt) database objects, I need to ensure that I have not made the rendering process slower. Rendering a map on the screen takes more time than I would like, thus I have experimented with and changed the paint method. As well, the Datastore objects need to be evaluated to ensure that they have not resulted in a sluggish renderer. After that has been determined, I will be investing time into reviewing other areas where the rendering process can be improved.
Once again thanks to all who have contributed to the GeoTools project :-)

Best Regards,

Pat


"vtFeatureSource","CachingFeatureSource","change"
8854,9317,-463
1242,1317,-75
910,1056,-146
911,1027,-116
1029,1108,-79
1181,1252,-71
1298,1351,-53
1468,1535,-67
1633,1692,-59
1918,1998,-80
2447,2548,-101
2666,3397,-731
,,
,,
8936,9553,-617
1263,1384,-121
976,1034,-58
992,1038,-46
1049,1187,-138
1270,1280,-10
1401,1459,-58
1544,1596,-52
1658,1752,-94
2066,2114,-48
,,
8946,9311,-365
1250,1330,-80
912,1020,-108
941,1074,-133
1030,1171,-141
1183,1267,-84
1284,1377,-93
1480,1549,-69
1630,1693,-63
1958,2000,-42
2466,2539,-73
2689,2740,-51
3150,3261,-111
2560,2740,-180
,,
8958,9642,-684
1234,1343,-109
916,971,-55
920,1010,-90
1036,1103,-67
1196,1269,-73
1309,1396,-87
1501,1551,-50
1627,1719,-92
1937,2020,-83
2464,2568,-104
2693,2778,-85
3172,3254,-82
2629,2670,-41
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to