pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Susan Hurst <susan.hurst@brookhurstdata.com>
To: Discuss List Postgres <pgsql-general@lists.postgresql.org>
Subject: FDW to postGIS Database
Date: Sun, 06 Mar 2022 10:36:18 -0600
Message-ID: <d8e9864972d4b84aa69ad609d4e78aa6@brookhurstdata.com> (raw)

Let say that I have a database named stp. I also have another database 
named geo that is a PostGIS database for storing geopolitical and 
geospatial data. I want to set up a foreign data wrapper in stp to 
connect to geo, so that for each address in stp, I only have to store 
the primary key value of the lowest level geo unit, such as a city. I 
can always display the city's county, state, country, whatever in views 
in stp. I plan to have other databases that need geo data so I want a 
single source of truth for geopolitical and geospatial data.

My questions are:
1. Do I have to install PostGIS in stp?....or is it sufficient to 
install PostGIS only in geo?
2. Do I need the postgis extension in stp?  (I'm thinking yes, but I 
don't want to guess.)
3. I want to geocode addresses in stp. Do I need to install any 
geocoding software in stp?...or can it be used from geo?

Thanks for your help!

Sue

-- 
--------------------------------------
Susan E Hurst
Email:  susan.hurst@brookhurstdata.com
Mobile: 314-486-3261





view thread (3+ messages)  latest in thread

Message-ID: <d8e9864972d4b84aa69ad609d4e78aa6@brookhurstdata.com>
Permalink:  ../d8e9864972d4b84aa69ad609d4e78aa6@brookhurstdata.com/
Also on:    postgresql.org/message-id/d8e9864972d4b84aa69ad609d4e78aa6@brookhurstdata.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: susan.hurst@brookhurstdata.com
  Subject: Re: FDW to postGIS Database
  In-Reply-To: <d8e9864972d4b84aa69ad609d4e78aa6@brookhurstdata.com>
  References: <d8e9864972d4b84aa69ad609d4e78aa6@brookhurstdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox