[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] pgsql2shp warning "empty table or unknown spatial ref"
From:       Sandro Santilli <strk () kbt ! io>
Date:       2020-02-11 11:59:39
Message-ID: 20200211115939.GD4082 () liz
[Download RAW message or body]

On Mon, Feb 10, 2020 at 06:01:40PM -0500, Diego Vargas wrote:
> Hello, I am using pgsql2shp and shp2pgsql to dump and load a table with gis data, \
> and I'm getting the following message: 
> "WARNING: Cannot determine spatial reference (empty table or unknown spatial ref). \
> No prj file will be generated." 
> Now, there is no problem at the load since it seems that the the whole table is \
> loaded without issue. Yet, I wonder if should I concern about the warning or not at \
> all…  

It means pgsql2shp could not determine the SRID of your geometries.
Do they have a SRID defined ? See https://postgis.net/docs/ST_SRID.html

--strk;
_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic