Reverse geocoding & POIs without ArcGIS

21 views
Skip to first unread message

Kunal

unread,
May 9, 2010, 8:45:25 PM5/9/10
to GPS Software and Maps
Hello all,
I've created a GIS application based on ArcGIS (C#/.NET) that reads a
set of shapefiles containing POIs (points of interest), and displays
them on a map. More importantly, given a random lat/long, the
application uses ArcMap to reverse geocode the lat/long and retrieve
the nearest points of interest.

So far so good.

However, I'm moving away from both C# and ArcGIS, and moving into an
open source, Java platform.

Does anyone know how to do this is Java? I don't want to use ArcGIS's
Java APIs (I don't want to use ArcGIS at all).

Here's what I'm thinking:
a. If I find an open source Java library that allows me to efficiently
read shapefiles, read POIs in them and retrieve a list of the nearest
POIs given a lat/long, that would be great, or
b. I manually convert/store the POIs in the shapefiles into a spatial
database such as Oracle, SQL server 2008, POstgreSQL, etc., and then
use spatial queries to read POIs in the database and retrieve a list
of the nearest POIs given a lat/long.

Options, opinions, anyone?
Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "GPS Software and Maps" group.
To post to this group, send email to gps-soft...@googlegroups.com.
To unsubscribe from this group, send email to gps-software-h...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gps-software-hub?hl=en.

AntonD

unread,
May 11, 2010, 8:30:53 AM5/11/10
to GPS Software and Maps
Why not look at SQLite as a storage medium. It is cross platform.

Regards
Anton

On May 10, 2:45 am, Kunal <aku...@gmail.com> wrote:
> Hello all,
> b. I manually convert/store the POIs in the shapefiles into a spatial
> database such as Oracle, SQL server 2008, POstgreSQL, etc., and then
> use spatial queries to read POIs in the database and retrieve a list
> of the nearest POIs given a lat/long.
>
> Options, opinions, anyone?

Kunal

unread,
May 24, 2010, 5:50:01 AM5/24/10
to GPS Software and Maps
Thank you for the suggestion. I appreciate the suggestion of using
SQLite. I understand that this would help me query/use data from a DB,
but would that option be the "best"?
My question was also towards the approach that would be ideal - a FOSS
library to use the existing shapefiles or a spatial query in a spatial
database.
For example, if my service were being hit by several hundreds of
requests per minute (or even per second), would the shapefile file
option be faster than the DB option? How about for scalability? How
about extensibility?

Andrew Johnson

unread,
May 24, 2010, 2:10:50 PM5/24/10
to gps-soft...@googlegroups.com
This may not be exactly how you want to do it, but I guess I'll chime in.

On www.trailbehind.com, we serve up about 10,000,000 different waypoints from a GeoDjango database (PostGIS). The sets of waypoints are served everytime the user pans or scrolls the map. With memcaching and proper indexing, the load has never been an issue to date.

Andrew
--
Andrew Johnson
GaiaGPS.com
415-335-7447

Mars Sjoden

unread,
May 24, 2010, 6:56:45 PM5/24/10
to gps-soft...@googlegroups.com
If you want a fast, robust, extensible database for serving gis data/assets, go with PostgreSQL/PostGIS hands down.


I have yet to find anything comparable in either Proprietory or Open.

mars

On Mon, May 24, 2010 at 2:50 AM, Kunal <aku...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages