What platform are you on?  If you are on windows, you could just copy the 
binaries from one of the zip files.

For Linux I think the builds tend to be less self-contained as they package a 
lot more dependencies so hard to copy just what you need.

 

Right now we don’t have a mechanism to just installed the postgis commandlines 
without PostGIS, but hoping we can detangle that better in PostGIS 3.1 so it’s 
easier for packagers to offer a postgis command line package that doesn’t 
include PostgreSQL service.

 

You can also compile your own PostGIS and just copy the raster2pgsql / gdal/ 
libpq files.

 

Hope that helps,

Regina

 

From: postgis-users [mailto:[email protected]] On Behalf Of 
Alexander Gataric
Sent: Tuesday, June 30, 2020 10:36 AM
To: PostGIS Users Discussion <[email protected]>
Subject: Re: [postgis-users] Running raster2pgsql on AWS

 

Can I run these command line programs without installing Postgres and PostGIS? 
I'd like to avoid a full installation if possible.

Get BlueMail for Android <http://www.bluemail.me/r?b=15860>  

On Jun 19, 2020, at 1:04 PM, Regina Obe <[email protected] <mailto:[email protected]> > 
wrote:

Well directly – as in what I think of directly is not and option with AWS RDS.

 

What I have done in the past is spin up an AWS EC2 instance preferably in same 
zone and then connect from there.  You’ll need to install a PostGIS package 
that has raster2pgsql or copy it somehow.

 

If you want to keep your machine bearbones, your best bet is just to run the 
tools from within a docker container.  Unfortunately I think all the packages 
that have raster2pgsql install the whole PostgreSQL service.

 

From: postgis-users [mailto:[email protected]] On Behalf Of 
Alexander Gataric
Sent: Friday, June 19, 2020 1:48 PM
To: PostGIS Users Discussion <[email protected] 
<mailto:[email protected]> >
Subject: [postgis-users] Running raster2pgsql on AWS

 

I want to run command line Postgres tools directly on AWS. What is the best 
approach for this? I know how to access AWS Postgres via psql on my machine and 
connecting to the host.

 



  _____  


postgis-users mailing list
[email protected] <mailto:[email protected]> 
https://lists.osgeo.org/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/postgis-users

Reply via email to