pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedshp2pgsql is missing
4+ messages / 3 participants
[nested] [flat]
* shp2pgsql is missing
@ 2020-07-26 18:25 Susan Hurst <susan.hurst@brookhurstdata.com>
2020-07-26 19:27 ` Re: shp2pgsql is missing Adrian Klaver <adrian.klaver@aklaver.com>
2020-07-26 19:58 ` Re: shp2pgsql is missing Christoph Moench-Tegeder <cmt@burggraben.net>
0 siblings, 2 replies; 4+ messages in thread
From: Susan Hurst @ 2020-07-26 18:25 UTC (permalink / raw)
To: Discuss List Postgres <pgsql-general@lists.postgresql.org>
How can I acquire or download the shp2pgsql file that I need for the
tiger geocoder?
All of the online searches for a solution have not been helpful.
Supposedly, shp2pgsql is supposed to just be there when postgis is
installed, but it's not. I even tried updating postgis with: ALTER
EXTENSION postgis UPDATE;
...but the message just says it's already there: NOTICE: version
"3.0.0" of extension "postgis" is already installed.
Where can I find the elusive file so I can install it properly?
Here are the specifics of my system:
Location: AWS EC2 instance
OS: FreeBSD 12.1-RELEASE-p7 FreeBSD 12.1-RELEASE-p7 GENERIC amd64
PG Location: /usr/local/lib/postgresql/
PG Version: PostgreSQL 11.7 on amd64-portbld-freebsd12.1, compiled by
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on
LLVM 8.0.1), 64-bit
locate shp2pgsql returns nothing
I understood that I should find shp2pgsql in /usr/local/lib/postgresql/,
but its not there. BTW, it's not in /usr/lib/ either, which is where
most of the online sources say it should be.
I would welcome any insight into finding the missing shp2pgsql file.
Thanks for your help!
Sue
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Susan E Hurst
Principal Consultant
Brookhurst Data LLC
Email: susan.hurst@brookhurstdata.com
Mobile: 314-486-3261
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: shp2pgsql is missing
2020-07-26 18:25 shp2pgsql is missing Susan Hurst <susan.hurst@brookhurstdata.com>
@ 2020-07-26 19:27 ` Adrian Klaver <adrian.klaver@aklaver.com>
1 sibling, 0 replies; 4+ messages in thread
From: Adrian Klaver @ 2020-07-26 19:27 UTC (permalink / raw)
To: susan.hurst@brookhurstdata.com, Discuss List Postgres <pgsql-general@lists.postgresql.org>
On 7/26/20 11:25 AM, Susan Hurst wrote:
> How can I acquire or download the shp2pgsql file that I need for the
> tiger geocoder?
>
> All of the online searches for a solution have not been helpful.
> Supposedly, shp2pgsql is supposed to just be there when postgis is
> installed, but it's not. I even tried updating postgis with: ALTER
> EXTENSION postgis UPDATE;
> ...but the message just says it's already there: NOTICE: version
> "3.0.0" of extension "postgis" is already installed.
>
> Where can I find the elusive file so I can install it properly?
>
> Here are the specifics of my system:
>
> Location: AWS EC2 instance
> OS: FreeBSD 12.1-RELEASE-p7 FreeBSD 12.1-RELEASE-p7 GENERIC amd64
> PG Location: /usr/local/lib/postgresql/
> PG Version: PostgreSQL 11.7 on amd64-portbld-freebsd12.1, compiled by
> FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on
> LLVM 8.0.1), 64-bit
>
> locate shp2pgsql returns nothing
>
> I understood that I should find shp2pgsql in /usr/local/lib/postgresql/,
> but its not there. BTW, it's not in /usr/lib/ either, which is where
> most of the online sources say it should be.
>
> I would welcome any insight into finding the missing shp2pgsql file.
>
> Thanks for your help!
>
How did you install PostGIS?
> Sue
>
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: shp2pgsql is missing
2020-07-26 18:25 shp2pgsql is missing Susan Hurst <susan.hurst@brookhurstdata.com>
@ 2020-07-26 19:58 ` Christoph Moench-Tegeder <cmt@burggraben.net>
2020-07-27 15:24 ` Re: shp2pgsql is missing Susan Hurst <susan.hurst@brookhurstdata.com>
1 sibling, 1 reply; 4+ messages in thread
From: Christoph Moench-Tegeder @ 2020-07-26 19:58 UTC (permalink / raw)
To: Susan Hurst <susan.hurst@brookhurstdata.com>; +Cc: Discuss List Postgres <pgsql-general@lists.postgresql.org>
## Susan Hurst (susan.hurst@brookhurstdata.com):
> OS: FreeBSD 12.1-RELEASE-p7 FreeBSD 12.1-RELEASE-p7 GENERIC amd64
There's your answer: the FreeBSD port of PostGIS 3.0
(databases/postgis30) installs shp2pgsql only if option LOADERGUI
has been enabled on the port's build (the port defaults to
LOADERGUI=off). You need to rebuild PostGIS or convince the
maintainer of that port to switch the default (the usual way
for that is the FreeBSD bugzilla system). Perhaps one could even
argue that LOADERGUI should only toggle shp2pgsql-gui, but I
haven't really looked into that.
Regards,
Christoph
--
Spare Space
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: shp2pgsql is missing
2020-07-26 18:25 shp2pgsql is missing Susan Hurst <susan.hurst@brookhurstdata.com>
2020-07-26 19:58 ` Re: shp2pgsql is missing Christoph Moench-Tegeder <cmt@burggraben.net>
@ 2020-07-27 15:24 ` Susan Hurst <susan.hurst@brookhurstdata.com>
0 siblings, 0 replies; 4+ messages in thread
From: Susan Hurst @ 2020-07-27 15:24 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Thanks, Christoph! Looks like we'll be able to fix this now that we
know what to do.
Sue
---
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Susan E Hurst
Principal Consultant
Brookhurst Data LLC
Email: susan.hurst@brookhurstdata.com
Mobile: 314-486-3261
On 2020-07-26 14:58, Christoph Moench-Tegeder wrote:
> ## Susan Hurst (susan.hurst@brookhurstdata.com):
>
>> OS: FreeBSD 12.1-RELEASE-p7 FreeBSD 12.1-RELEASE-p7 GENERIC amd64
>
> There's your answer: the FreeBSD port of PostGIS 3.0
> (databases/postgis30) installs shp2pgsql only if option LOADERGUI
> has been enabled on the port's build (the port defaults to
> LOADERGUI=off). You need to rebuild PostGIS or convince the
> maintainer of that port to switch the default (the usual way
> for that is the FreeBSD bugzilla system). Perhaps one could even
> argue that LOADERGUI should only toggle shp2pgsql-gui, but I
> haven't really looked into that.
>
> Regards,
> Christoph
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2020-07-27 15:24 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26 18:25 shp2pgsql is missing Susan Hurst <susan.hurst@brookhurstdata.com>
2020-07-26 19:27 ` Adrian Klaver <adrian.klaver@aklaver.com>
2020-07-26 19:58 ` Christoph Moench-Tegeder <cmt@burggraben.net>
2020-07-27 15:24 ` Susan Hurst <susan.hurst@brookhurstdata.com>
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