Unix Technical Forum

Storing and accessing GeoData( Latitude and Longitude ) in PostgreSQL 8.3

This is a discussion on Storing and accessing GeoData( Latitude and Longitude ) in PostgreSQL 8.3 within the Pgsql General forums, part of the PostgreSQL category; --> Hello, I have a lot of GeoData( Latitude and Longitude ) in my PostgreSQL Database. Is store them as ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:09 PM
Stefan Sturm
 
Posts: n/a
Default Storing and accessing GeoData( Latitude and Longitude ) in PostgreSQL 8.3

Hello,

I have a lot of GeoData( Latitude and Longitude ) in my PostgreSQL Database.
Is store them as numeric at this time.
But now I want to access the data and want to have all Datasets around a
Geographic point. eg:
"within<http://dict.leo.org/ende?lp=ende&p=thMx..&search=within>
a <http://dict.leo.org/ende?lp=ende&p=thMx..&search=a>
radius<http://dict.leo.org/ende?lp=ende&p=thMx..&search=radius>
of <http://dict.leo.org/ende?lp=ende&p=thMx..&search=of>
5<http://dict.leo.org/ende?lp=ende&p=thMx..&search=5>
km"... <http://dict.leo.org/ende?lp=ende&p=thMx..&search=km>

Is there a simple way to do something like this?

Thanks for your Help,
Stefan Sturm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 04:09 PM
Ivan Zolotukhin
 
Posts: n/a
Default Re: Storing and accessing GeoData( Latitude and Longitude ) in PostgreSQL 8.3

Hello,

You may want to have a look also at PgSphere
(http://pgfoundry.org/projects/pgsphere) and Q3C (http://q3c.sf.net)
which is actually a spherical indexing solution built specially for
PostgreSQL with the best performance among all other methods (even
within other databases).

Regards,
Ivan

On Wed, Apr 16, 2008 at 1:23 PM, Stefan Sturm
<stefan.s.sturm@googlemail.com> wrote:
> Hello,
>
> I have a lot of GeoData( Latitude and Longitude ) in my PostgreSQL Database.
> Is store them as numeric at this time.
> But now I want to access the data and want to have all Datasets around a
> Geographic point. eg: "within a radius of 5 km"...
>
> Is there a simple way to do something like this?
>
> Thanks for your Help,
> Stefan Sturm
>


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 04:10 PM
Stefan Sturm
 
Posts: n/a
Default Re: Storing and accessing GeoData( Latitude and Longitude ) in PostgreSQL 8.3

Hello,

thanks for your ansers.

PgSphere (http://pgfoundry.org/projects/pgsphere)
>


I think this look most promising. Is here someone using it and can give me
some tipps?

Thanks and greetings,
Stefan Sturm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com