1

I have an infrastructure layer that is lat/long values and has an SRID of 4269.

I have brought this shapefile into PostGIS to try and reproject the data to 3424 (state plane of NJ) this is my query to reproject

ALTER TABLE infrastructure
   ALTER COLUMN geom 
   TYPE Geometry(Point, 3424) 
   USING ST_Transform(geom, 3424);

but it still shows up as lat long values when I do the below query

enter image description here

I then brought the infrastructure shapefile into qgis and all the hundreds out points showed up in one area outside of NJ...I am not sure what i am doing wrong here

  • 1
    GeoJSON folks nowadays want that only supported coordinate system in GeoJSON is lon/lat. Perhaps that's the reason. Try some other output format. – user30184 Aug 31 '16 at 21:13
  • No state plane coords can be returned with the GeoJSON query – ziggy Sep 1 '16 at 14:08
2

You are altering the column not the column values I think, try updating the geometry.

Update infrastructure set geom= st_transform(geom,3424)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.