Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8667299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:55:55+00:00 2026-06-12T17:55:55+00:00

I have a spatial table from which I want to map its objects on

  • 0

I have a spatial table from which I want to map its objects on canvas in Android. This is in a SpatiaLite database.

I can get object data out in an SVG format and create a map from it, but it is not very efficient. The original object data is kept in blob format.

My question is, how do GIS systems map their data. I would like to map the objects and be able to touch on them to pull up their attribute information.

This is a very simple question with a huge answer. But I’m just looking for a place to start.

I am not looking to build a GIS system, just create some similar functionalty.

Any information would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:55:56+00:00Added an answer on June 12, 2026 at 5:55 pm

    I have found that there are a couple of options other than svg:

    Query out the data and parse it into a JTS geometry object, the object through JTS can then be manipulated into coordinate arrays if neccessary. JTS-1.8.jar is the latest current library.

    using this to parse: Geometry geometry = new WKBReader().read(stmt.column_bytes(2));

    Instead of using Canvas, OpenGL 1 or 2 seem like the way to go for flexibility in producing highly configurable maps. To use this all geometries must be converted to float arrays then float buffers, there are alot of tutorials on OpenGL
    Android OpenGL
    and
    Android OpenGL getting started are two very good ones.

    Habib: A good place to start for spatialite and android is this example: spatialite-android

    In order to select geometry objects on the map with OpenGL a mixture of selecting a buffer or region around the clicked point, changing the color of object clicked on and creating metadata on object that can be displayed, is required. This may be a little broad but I haven’t got to this point yet so alot is theorical.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Spatial Selection implemented on Map in my Web Application, which selects the
I have a PostgreSQL\PostGIS spatial database which contains Hebrew text columns. The system runs
First, the setup: I have a table in an Oracle10g database with spatial columns.
I am using SQL Server 2008 spatial data types. I have a table with
I have spatial data - (x, y) points on a plane - which I'm
I have a spatial model definition which used to be working with SQL Server
I have read this in order to compile NH spatial for Nhibernate 3.1 http://build-failed.blogspot.it/2012/02/nhibernate-spatial-part-2.html
have written this little class, which generates a UUID every time an object of
I have a model type that was generated from a mysql table that has
I have a text field in a table with other spatial types. As part

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.