On Fri, 2005-10-07 at 15:06 -0500, Sean Truman wrote:
> We have successfully developed an AJAX (Google MAPS) type interface
> into GeoTools, but have rendering issues, for just the World Shape
> File we keep seeing a render time of 1.5 Seconds per 256x256 tile that
> we are creating (This is on a P4 3.2 with 2GB Ram), Is there anything
> anyone can suggest to speed this rendering up? We are using the
> LiteRender2 render, and have tried LiteRender with the same results.
> 
One way to make it faster is to pre-render the tiles.  The "rendering"
time then becomes equal to the data access and return time.  This works
if your styling is static, and is especially nice if you expect lots of
concurrent users.

You say "World Shape File" -- is this a shapefile of the entire world?
What's the scale of the map?  If you're drawing a 256x256 tile of a
whole continent, you'll still need to load all of the features in that
continent.  One solution to this problem is to keep different shapefiles
for different map scales, so you can pre-filter the features that need
to be rendered.  You could also try importing your data into a spatial
database.

How complicated is the style?  Are you drawing simple polygons, or do
you have lots of styling going on?

Your best approach is to use a profiler to determine what methods are
taking the most time.  Is it in data access?  Is it in the renderer
itself?  Is it in other processing your application does?

-- 
Trevor Stone | Software Engineer | tel 800-554-4434 ext 208 | fax 303-271-1930 
| email [EMAIL PROTECTED]
Tyler Technologies | Eagle Division | 14142 Denver West Pkwy Suite 155 | 
Lakewood, CO 80401 | www.tyler-eagle.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to