Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
GeoTools
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p>LISAsoft was able to get a subset of GeoTools working on the Android platform.</p> <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3RvY30&locale=en_GB&version=2" data-macro-name="toc"> <p>The following are some notes if you would like to repeat and extend the experiment.</p> <h1>Factory Fixes</h1> <p>The changes to factory are actually pretty straight forward.</p> <h2>Pluggable Factory System</h2> <p>The Factory SPI system still works in android; but uses the official Java 6 technique of FactoryLocator (rather than the "internal" Java ImageIO FactoryRegistery system which we use).</p> <p>The solution is to make the GeoTools factory system pluggable:</p> <ul> <li>FactoryLocator for plugin discouvery</li> <li>FactoryFinder for the "register" functionality (keeping some instances available)</li> </ul> <p>This same work is needed for good OSGi support.</p> <h2>Hints</h2> <p>A strange consequence of using FactoryRegistery is our Hints / Hints.Key system. This code extends RenderingHints which is part of those ImageIO things that are not available in Andriod.</p> <p>Jody was able to refactor our Hints to be a more simple Map; and continue to get the factory system to turn over.</p> <ul> <li><a class="external-link" href="https://github.com/jive/geotools-andriod" rel="nofollow">https://github.com/jive/geotools-andriod</a></li> </ul> <h1>Image</h1> <p>The AWT Image stuff is not available; so we need to make use of the android image subsystem.</p> <h2>GridCoverage</h2> <p>The GridCoverage interface should actually survive okay (it is an image with a bounding box after all). We just need to make an implementation that is an android image with a boding box and we can get back to work.</p> <h2>JAI</h2> <h2>Rendering</h2> <p>This actually looks like a straight forward port; take a copy of gt-render and replace the Java Shapes and calls to drawing lines etc...</p>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced