openplans / openblock

OpenBlock is a web application and RESTful service that allows users to browse and search their local area for "hyper-local news
61 stars 26 forks source link

Support importing shapefiles with different projections #207

Closed slinkp closed 11 years ago

slinkp commented 11 years ago

I think we assume SRID 4326 everywhere. There are certainly a lot of shapefiles with other projections out there, we need to support them.

slinkp commented 11 years ago

Note that import_locations.py does convert to 4326; confirmed it works given other projections as input. Not sure about block import, zip code import, etc.

slinkp commented 11 years ago

This might just work for importing blocks and zip codes. Untested since all the census data is 4326.

I'm gonna close as WorksForMe.

slinkp commented 11 years ago

(In [194a2f56e236ff32eaa0f728adf4b3c1d8dcc28d]) Ensure geometry has SRID 4326. refs #214

slinkp commented 11 years ago

(In [05a4db5d90790ce568740f1986a6239eca0c6b87]) Cherrypicked bae44559aef79ca32ae6ac from add_street_prefixes: Better handling of shapes in non-4326 projections; contributions from Karen Tracey, thanks. Refs #214

slinkp commented 11 years ago

Ticket imported from Trac: http://developer.openblockproject.org/ticket/214 Reported by: slinkp