Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIvsu-0003EZ-6g for pgsql-general@arkaria.postgresql.org; Mon, 30 Mar 2020 14:59:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jIvss-0008L5-Rk for pgsql-general@arkaria.postgresql.org; Mon, 30 Mar 2020 14:59:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIvsq-0008KX-Tj for pgsql-general@lists.postgresql.org; Mon, 30 Mar 2020 14:59:26 +0000 Received: from [66.111.4.29] (helo=out5-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIvsj-0006VF-Ox for pgsql-general@postgresql.org; Mon, 30 Mar 2020 14:59:23 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C89AE5C0405; Mon, 30 Mar 2020 10:59:06 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 30 Mar 2020 10:59:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=8 DmVXwNP0b1ArA26dfydPhSusAa/12l20HjEiX9fR40=; b=DNe9Qk0PB84mH4ZgT KgZYIYq+COZbqeZw6q0F2kapEA2v4PjgQLU0/2AP+t4qErWmndS4Ii1YDO0J7soV TmxHvV7bOshczhMYn0lc0LW+vt2dI0KRgU2R2thFzUCs/00MTMmmuGZTldfFJm16 cYvsbaCEiYD/Gsflxr37VEGtrPIoHOWnkB9FxMzsDfPEzD1cYhmwsZJtlpm1dRxF kFiT7l5y2vLL2aEyZHfNxsIns5uXOCjPttcANlaDG6ieLh8OVwkSTHu2YSW0d/4N /SGSWf/C9bTvxrclPw8nH725fSr/QtSH4nCMpuT8JznX/Aar2b1Kuw27XcvwjN6+ L6cag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=8DmVXwNP0b1ArA26dfydPhSusAa/12l20HjEiX9fR 40=; b=jN0PzY41542O6CGG1hD7g41f1GQGDwEtFh/siQiEiuF1fjqndj794ao51 rz6CfSYrhxBxD7Y2FeNcr1JfGkyPoE6NAl79YFip4h8JXfjOwthZw5u0NiqLPg98 YMBiQIK0untjL2+emThrXFAHpsjebmVtlcyHVKfrxVolI5ZcoNeqoZgGV7GGrijn fswIW0nKjpFLXh0y1YcfaUlAJWUcuIt5ikoI09kidXwQCtHo+8hmsZ6EXvC2gvN2 22YU7eqPOzSlQxjKldAisAxFBNQIAkCojFF/k3dFzk6gMFjhkiGF57+HfaSI8WSu xD+qDUaYc+987EdxUcJPqXBjL58sA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudeihedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepghgvohhsvghrvhgvrhdrohhrghdpphhoshhtghhishdrnhgv thenucfkphepjeehrddujedvrdeltddrledvnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgv rhdrtghomh X-ME-Proxy: Received: from [192.168.1.10] (75-172-90-92.tukw.qwest.net [75.172.90.92]) by mail.messagingengine.com (Postfix) with ESMTPA id A8D1A3280065; Mon, 30 Mar 2020 10:59:05 -0400 (EDT) Subject: Re: Uploading existing shapefile from geoserver to postgresql To: Aisar Afif Ahmad Norzan , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <567cd382-7040-1dcb-ee02-1ce6e72067a1@aklaver.com> Date: Mon, 30 Mar 2020 07:59:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.29 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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