Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using wrong projection on tiger import #24

Open
sbchonez opened this issue Oct 27, 2020 · 3 comments
Open

using wrong projection on tiger import #24

sbchonez opened this issue Oct 27, 2020 · 3 comments

Comments

@sbchonez
Copy link

the data from census are actually in 4269

I think you could reproject and make valid in one step:

psql -d census -U census -v ON_ERROR_STOP=1 -q -c "ALTER TABLE tiger2019.${tablename} ALTER COLUMN geom type geometry(MultiPolygon, 4326) using ST_MakeValid(ST_Transform(geom, 4326));"

details on that here

@iandees
Copy link
Member

iandees commented Oct 27, 2020

Can you point to a reference that says TIGER is in EPSG:4269?

@sbchonez
Copy link
Author

https://www2.census.gov/geo/pdfs/maps-data/data/tiger/tgrshp2019/TGRSHP2019_TechDoc_Ch2.pdf
section 2.2.3

It's also what is provided in the metadata with each file. DC tabblock data shown in QGIS:
image

@iandees
Copy link
Member

iandees commented Oct 28, 2020

Hm, OK. I'll have to look at re-importing the TIGER data then. Thanks for flagging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants