pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Aisar Afif Ahmad Norzan <aisar@urbanexplorer.com.my>
To: pgsql-general@postgresql.org
Subject: Re: Uploading existing shapefile from geoserver to postgresql
Date: Mon, 30 Mar 2020 07:59:04 -0700
Message-ID: <567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.com> (raw)
In-Reply-To: <CAMK-ztoY5nQ=Yk6RAGJis-dcoWKsPmDWOTC-6eHLVad7CQqn7A@mail.gmail.com>
References: <CAMK-ztoY5nQ=Yk6RAGJis-dcoWKsPmDWOTC-6eHLVad7CQqn7A@mail.gmail.com>

On 3/29/20 10:33 PM, Aisar Afif Ahmad Norzan wrote:
> Hi,
> 
> Few weeks back, I upload my data (shapefile) directly to the geoserver. 
> Last week, I just installed postgresql. How can I link the existing file 
> in geoserver (shapefiles) to postgres using pgAdmin 4.

I assume by geoserver you mean:

http://geoserver.org/


I have to believe if you are dealing with shape files you will need PostGIS:

https://postgis.net/

which is an extension to Postgres.

Then you could follow the instructions here:

https://docs.geoserver.org/latest/en/user/data/database/postgis.html

> 
> Regards,
> Aisar


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (2+ messages)

Message-ID: <567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.com>
Permalink:  ../567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.com/
Also on:    postgresql.org/message-id/567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.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: adrian.klaver@aklaver.com, aisar@urbanexplorer.com.my
  Subject: Re: Uploading existing shapefile from geoserver to postgresql
  In-Reply-To: <567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.com>
  References: <CAMK-ztoY5nQ=Yk6RAGJis-dcoWKsPmDWOTC-6eHLVad7CQqn7A@mail.gmail.com> <567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.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