Re: distance vector databases and country maps

Поиск
Список
Период
Сортировка
От Lincoln Yeoh
Тема Re: distance vector databases and country maps
Дата
Msg-id 3.0.5.32.20011007152626.016f29c0@192.228.128.13
обсуждение исходный текст
Ответ на distance vector databases and country maps  (Frank Joerdens <frank@joerdens.de>)
Ответы Multiple postgresql installations on one machine.  (Lincoln Yeoh <lyeoh@pop.jaring.my>)
Список pgsql-general
Hi,

I believe postgresql has polygon, box, circle etc datatypes which could be
useful in your situation. Depending on how you are doing your maps the
world being approximately spheroid may or may not be a consideration in how
you approach things (to avoid 2-D wraparound issues for instance).

Datatypes
http://www.postgresql.org/idocs/index.php?datatype-geometric.html#AEN3665

Operators/functions to use with those data types.
http://www.postgresql.org/idocs/index.php?functions-geometry.html

e.g.
Operator: @
Meaning: Contained or on
Usage: point '(1,1)' @ circle '((0,0),2)'

Indexes
http://www.postgresql.org/idocs/index.php?indices-types.html

CREATE INDEX name ON table USING RTREE (column);

I haven't any experience in using these features but I figure they might be
helpful to you.

Cheerio,
Link.

p.s. Yeah Postgresql is also copyrighted, but it's BSDtype :).

At 05:33 PM 10/6/01 +0200, you wrote:
>I am looking for info on free/open source (or if that's not available,
>any other product) products which can be integrated with PostgreSQL that
>provide geometric vector data on geographic maps.
>
>In particular, I need that for Germany. What I want to do is to find
>cities within a 50-100 km radius of any given location on the map. I
>know that quite a few people are working on this and that such solutions
>exist; I just don't know where to start looking. Also, my impression is
>that all of these solutions are heavily copyrighted, patented etc. and
>that it's probably really expensive to get to use this kind of data.
>
>Can anyone help out with info, starting points?
>
>Thanks, Frank
>
>---------------------------(end of broadcast)---------------------------
>TIP 6: Have you searched our list archives?
>
>http://archives.postgresql.org
>
>


В списке pgsql-general по дате отправления:

Предыдущее
От: "Seung-won Hwang"
Дата:
Сообщение: Compilation of C function on Windows
Следующее
От: Frank Joerdens
Дата:
Сообщение: Re: PG mailing list problems (was Re: Support issues)